Skip to content
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

Set run ID in GENIE files #28

Closed
mjkramer opened this issue Sep 21, 2023 · 1 comment
Closed

Set run ID in GENIE files #28

mjkramer opened this issue Sep 21, 2023 · 1 comment
Assignees

Comments

@mjkramer
Copy link
Member

Quoting Jeremy:

One thing I have discovered in trying to do the GENIE matching without ugly hacks is that the run number saved inside the GENIE files (as opposed to the one we maintain in the filename) is "always" (at least---in the two files I checked 😄) 0. Could we start setting this correctly? I think it's as simple as passing -r <run number> to the gevgen or gevgen_fnal command that's being used

and, actually, I wonder if would make sense to set it to the thing edep-sim is going to use for the offset in the vertexID? (i.e. the "1E6 * TaggedRunId" with "TaggedRunId = RunId + (1E9 if rock else 0)" from https://github.com/DUNE/2x2_sim/wiki/Production-changes-and-validation-findings#file-format-differences)?

If we use the TaggedRunId then we should change the edep-sim run ID to be the same (since that one currently doesn't including the "1E9 if rock" offset).

@mjkramer mjkramer self-assigned this Sep 21, 2023
@mjkramer
Copy link
Member Author

Implemented in 24c44dc and used for PicoRun4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant