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
Secondary input source chooses first file to open randomly #8978
Conversation
A new Pull Request was created by @wmtan for CMSSW_7_5_X. Secondary input source chooses first file to open randomly It involves the following packages: IOPool/Input @cmsbuild, @Dr15Jones, @nclopezo can you please review it and eventually sign? Thanks. |
please test |
+1 |
The tests are being triggered in jenkins. |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_5_X IBs unless changes or unless it breaks tests. This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @nclopezo, @smuzaffar |
Secondary input source chooses first file to open randomly
1 similar comment
I've been back porting this to 6_2_X_SLHC (#8985) and just want to check something.
commands are not run, whereas they were in the old way. Is this okay? |
Sorry, I see in the comment that you intentionally don't stage in. Nevermind. |
The secondary input source, used for mixing pileup, needs to open a pileup file at construction time.
Before this PR, it always opened the first file in the list of files, which caused contention. This PR randomizes the choice of the file to open at construction time. This PR does not affect which minbias events will be chosen for mixing.
This change can easily be ported back to 7_4_X or prior releases if needed.