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
Maintain access to genParticles from signal event in packed collection for HI miniAOD #32668
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-32668/20745
|
A new Pull Request was created by @mandrenguyen (Matthew Nguyen) for master. It involves the following packages: DataFormats/PatCandidates @perrotta, @jpata, @cmsbuild, @santocch, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild please test |
assign xpog |
New categories assigned: xpog @fgolf,@mariadalfonso,@gouskos you have been requested to review this Pull request/Issue and eventually sign? Thanks |
DataFormats/PatCandidates and PhysicsTools/PatAlgos were just removed from the Analysis category: I wonder whether they should stay under xpog now (in addition to reconstruction): @cms-sw/xpog-l2 what do you think? |
-1 Failed Tests: INPUTRelVals INPUTRelVals
Comparison SummarySummary:
|
Do I interpret correctly that the failing test has to do with input files? |
no; the workflows in the results "Matrix INPUT Tests Outputs" https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-56c8c2/12284/runTheMatrixINPUT-results/140.5611_RunHI2018AOD+RunHI2018AOD+REMINIAODHID18+HARVESTHI18MINIAOD/step2_RunHI2018AOD+RunHI2018AOD+REMINIAODHID18+HARVESTHI18MINIAOD.log
|
genParticles should not be running on data |
that was a wrong statement; I corrected it now. We have more short tests done and they are placed in the "INPUTRelVals" category of tests. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-32668/20777
|
@perrotta The MC input file in relval is not representative. It's a pythia event embedded into a very, very peripheral (b=12) PbPb event. Running on normal embedded MC, the output miniAOD is only a fraction of a percent smaller. |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-56c8c2/12325/summary.html Comparison SummarySummary:
|
+1
|
+xpog |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
collisionId_ is not kept in pat::PackedGenParticle, use "packedGenParticlesSignal" (added by cms-sw#32668) to tag particles from signal process
* add HiGenAnalyzer This analyzer is copied from its AOD counterpart https://github.com/CmsHI/cmssw/blob/2c806f88506f7ef732b725142ae85750a31dc646/HeavyIonsAnalysis/EventAnalysis/src/HiEvtAnalyzer.cc and adapted for gen info in miniAOD Notes : GenHIEvent is currently missing from miniAOD * fix sube collisionId_ is not kept in pat::PackedGenParticle, use "packedGenParticlesSignal" (added by cms-sw#32668) to tag particles from signal process
PR description:
For event-overlay MC workflows, we need to know which particles are from the signal event, i.e., the one with collisionID =0. This method is not available in the packedGenParticle collection. This PR adds a PackedGenParticleRefVector containing the PackedGenParticles with collisionID =0. It's run for all HI eras; there is no change to pp workflows.
PR validation:
Tested with 158.01
if this PR is a backport please specify the original PR and why you need to backport that PR:
Will need an 11_2_X backport
@ttrk @stepobr @stahlleiton