eic/drich-dev

update references to rendered XML files

Closed this issue · 1 comments

eic/epic#54 would mean that "main" XML files such as ecce.xml and ecce_drich_only.xml would only appear in a build prefix.

  • add a new env var DETECTOR_PREFIX, which points to this prefix (likely EIC_SHELL_PREFIX/share/epic); already have done this on the dev-irt branch
    • DETECTOR_PATH will continue to point to ./epic, so local compact files such as epic/compact/drich.xml can still be edited on-the-fly
    • DETECTOR_PREFIX, on the other hand, will be for rendered XML files, and upstream ip6 files
  • several scripts will need to be updated, such as simulate.py

On the other hand, how hard is it to adapt to $DETECTOR_PATH being EIC_SHELL_PREFIX/share/epic? The main concern is scripts/vary_params.rb.