-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
run-pandora
Install and Run Script Extensions for NDLAr Production
#69
Conversation
… B and recently used for 2x2)
…, install is therefore detector dependent. setup_pandora.sh is also used int the run_* scripts so added flexibility to pull geometry from environment via, for example ARCUBE_GEOM, which is consistent with how that variable is used in other stages of production. If you are installing and running 2x2, all changes are completely transparent except having to pass '2x2' to the install script. For NDLAr need to pass ndlar to the install script and specify ARCUBE_GEOM and ARCUBE_PANDORA_GEOM as explained in the install script.
…ssue we had with a seg fault that could occur when the CaloHit IDs were being set).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for putting that together, and sorry I haven't been more thorough to push my modifications as soon as I had to make them.
While we're looking at additions to run-pandora, you probably want to add export OMP_NUM_THREADS=1
in the setup_pandora.sh
script, otherwise flow2root eats too much memory.
No worries - things move fast! On the |
I added it as a configurable export in 8093e67 |
These changes look OK. I have a few other suggestions that we could try to add to this PR or leave for another future PR:
needs to be changed to 1 whenever we have data and not MC. So I would like to propose that we have an
MiniRun6 2x2: and similarly for y and z. Should we handle this by using a
|
Thank you the detailed look @jback08! In the interest of getting this particular PR merged, I suggest that we make an issue for your suggestions 1 and 3 - when I have 30 minutes next week, I'd be happy to tackle them. With regards to number 2 - I am ashamed to say that I haven't found out where this difference in naming for the vertex variables is coming from, however in my on-going work to roll forward the NDLAr version of the software stack from "Run 6" like to present day latest-and-greatest, the NDLAr naming is now consistent with 2x2. I strongly suspect that it's just a single commit somewhere that I missed during cherry-picking back in September. My vote would be to live with it for now since it will soon become a non-issue. |
This PR extends
install_pandora.sh
andsetup_pandora.sh
so thatrun-pandora
can handle both2x2
andNDLAr
jobs in a more automated way that's consistent with other steps in the production chain. It also addresses a couple of suggestions from @jback08. These changes have been tested with small scale interactive tests.install_pandora.sh
callssetup_pandora.sh
which is detector dependent, the install is therefore detector dependent. Sincesetup_pandora.sh
is also used in therun_*
scripts, the flexibility has been added to pull geometry information from environment via, for example,ARCUBE_GEOM
in a way that is consistent with how that variable is used in other stages of production. If you are installing and running 2x2, all changes are completely transparent except having to pass2x2
to the install script. For NDLAr need to passndlar
to the install script and specifyARCUBE_GEOM
andARCUBE_PANDORA_GEOM
as explained in the install script.-r
when running pandora fromAllHitsNu
toAllHitsSliceNu
.LArRecoND
tov01-01-03
, already been used by 2x2 production but not changed here.