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

repeating generated events from input HDDM file? #99

Closed
jrstevenjlab opened this issue May 17, 2023 · 2 comments
Closed

repeating generated events from input HDDM file? #99

jrstevenjlab opened this issue May 17, 2023 · 2 comments

Comments

@jrstevenjlab
Copy link
Contributor

I was looking into the option to pass an HDDM file to MCWrapper rather than using one of the available generators. In the MakeMC scripts there is an implementation to skip events in the provided HDDM file by N = FILE_NUMBER * PER_FILE

https://github.com/JeffersonLab/gluex_MCwrapper/blob/master/MakeMC.sh#L1418

This seems like it would produce a unique subset of events if one generates events for just a single run. But if the same input HDDM file is used to generate events for many runs, won't this result in the first file for each run starting at event = 0 in the input HDDM file, which will duplicate the same generated events for each run number? If so, is there an index for the run number that could be added to this skip to avoid repeating generated events when this input HDDM file is used?

@T-Britton
Copy link
Contributor

repeat issue: #16

it is fairly non trivial. May be worth another crack at given we are through the python 2 v 3 pains

@jrstevenjlab
Copy link
Contributor Author

Sorry, I'll followup on the original thread and close this

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

2 participants