-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[10.6.X] fix the cms EDModule type of GenParticleMatchMerger
#37641
Conversation
A new Pull Request was created by @mmusich (Marco Musich) for CMSSW_10_6_X. It involves the following packages:
@cmsbuild, @civanch, @mdhildreth can you please review it and eventually sign? Thanks. cms-bot commands are listed here
|
type bug-fix |
@cmsbuild, please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3a74d9/24084/summary.html Comparison SummarySummary:
|
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_10_6_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_12_4_X is complete. This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
@mmusich the original PR was merged in master (i.e. 12_4_X), and you are proposing a backport to 10_6 here. What about the intermediate releases? Could you please prepare similar backports also for the intermediate cycles also (i.e. at least 12_2 and 12_3)? By the way: these configs are only used for track validation, isn't it? I.e. they do not affect simulation (otherwise it would have crashed, I'd say...) |
Hi @perrotta |
I can, but as far as I can tell they would serve no purpose, other than making the code formally correct.
they do affect the event products saved in simulation when certain customizations are used (see e.g. this commit). |
@tvami @mmusich thank you for your answer. |
+1
|
No problem, I'll prepare them tomorrow. |
submitted: |
Thank you Marco! |
backport of #37613
PR description:
It appears that
CollectionAdder
cmssw/CommonTools/UtilAlgos/interface/CollectionAdder.h
Line 17 in 837fd56
which is the underlying module type of
cmssw/PhysicsTools/HepMCCandAlgos/plugins/GenParticleMatchMerger.cc
Line 4 in 6d2f660
is an
EDProducer
, but it was declared in the configuration as anEDFilter
:cmssw/SimTracker/TrackAssociation/python/allTrackMCMatch_cfi.py
Line 3 in 837fd56
leading to runtime errors of the type:
this is trivially fixed here.
In addition in commit f68a4df, I take care of some other mismatched types in the configuration.
The parameter
associator
ofMCTrackMatcher
should be acms.string
and not acms.InputTag
:cmssw/SimTracker/TrackAssociation/plugins/MCTrackMatcher.cc
Line 44 in 9583b99
Finally in the same commit, the value of the variable
associator
inTracker/TrackAssociation/python/trackMCMatch_cfi.py
is corrected such that it istrackAssociatorByHits
and notTrackAssociatorByHits
PR validation:
Private scripts.
if this PR is a backport please specify the original PR and why you need to backport that PR:
verbatim backport of #37613, useful for Ultra-Legacy analysis
cc: @tvami