-
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
Off by one issue in InteractionNumber #61
Comments
I tried some edep sim files that were made using ProcessND.py and they seem to be correct.
Note that I've worked out a workaround for TMS |
My current hypothesis is that this results from the interaction of:
Specifically, the writing of the GENIE pass-thru entry previously happened early in the event loop, whereas now it happens near the end (so that the interaction can be omitted from the pass-thru tree if it turned out to be invisible). return fPersistentTree->GetEntries() - 1; to return fPersistentTree->GetEntries(); I looked at an older 2x2 sim file and the first I'll test this change to confirm that it fixes the issue. |
The interaction numbers start at -1 instead of 0. This is in the file new mircoprod files. Specifically:
/pnfs/dune/persistent/users/abooth/nd-production/MicroProdN1p2/output/run-spill-build/MicroProdN1p2_NDLAr_1E18_RHC.spill.nu/EDEPSIM_SPILLS/0000000/0000100/MicroProdN1p2_NDLAr_1E18_RHC.spill.nu.0000102.EDEPSIM_SPILLS.root
The interaction numbers were fixed in issue #54, but it seems like they're off by one now for some reason. Not sure why.
Actually, this sample is without rock files. So it's not the spill builder. Here's the same file pre-spill builder. Not sure why but it starts at -1
The text was updated successfully, but these errors were encountered: