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
Remove OOT photons from 2018 heavy-ion (AA) era #23371
Remove OOT photons from 2018 heavy-ion (AA) era #23371
Conversation
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-23371/4880 |
A new Pull Request was created by @mandrenguyen (Matthew Nguyen) for master. It involves the following packages: RecoEcal/EgammaClusterProducers @perrotta, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
) | ||
cms.InputTag("interestingGedEgammaIsoESDetId"), | ||
cms.InputTag("interestingOotEgammaIsoESDetId"), | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that the previous indentation of closing braces was more consistent before the changes made here
pp_on_AA_2018.toReplaceWith(reducedEcalRecHitsTask, _pp_on_AA_reducedEcalRecHitsTask) | ||
|
||
_pp_on_AA_interestingDetIdsEB = cms.VInputTag( | ||
cms.InputTag("interestingEcalDetIdEB"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this and other better be rewritten in a way that there is no copy-paste of the existing vectors.
something along the lines
pp_on_AA_2018.toModify(reducedEcalRecHitsEB.interestingDetIdCollections, func = lambda list: list.remove(cms.InputTag("interestingEcalDetIdOOTPFEE")) ))
@@ -46,7 +46,8 @@ | |||
|
|||
ReducedEGProducer::ReducedEGProducer(const edm::ParameterSet& config) : | |||
photonT_(consumes<reco::PhotonCollection>(config.getParameter<edm::InputTag>("photons"))), | |||
ootPhotonT_(consumes<reco::PhotonCollection>(config.getParameter<edm::InputTag>("ootPhotons"))), | |||
doOotPhotons_(!config.getParameter<edm::InputTag>("ootPhotons").label().empty()), | |||
ootPhotonT_(doOotPhotons_ ? consumes<reco::PhotonCollection>(config.getParameter<edm::InputTag>("ootPhotons")) : edm::EDGetTokenT<reco::PhotonCollection>()), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that this change is not necessary.
Simply test for a value of ootPhotonT_.isUnintialized()
in places where this doOotPhotons_ was introduced
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
modifications that hide calls to produces<some OOT related type>(some oot related name)
are missing. Please add.
|
||
pp_on_AA_2018.toModify( | ||
reducedHcalRecHits, | ||
interestingDetIds = _pp_on_AA_interestingDetIds |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it would be more practical to use toModify as in the other file without assuming what's in the original interestingDetIds.
@cmsbuild please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-23371/5038 |
@cmsbuild please test workflow 158.0 |
The tests are being triggered in jenkins. |
Comparison job queued. |
Comparison is ready @slava77 comparisons for the following workflows were not done due to missing matrix map:
Comparison Summary:
|
+1
@mandrenguyen was the OOT a significant contributor in some of your tests? It seems to me that the strategy to file away small contributions from pp like this is not particularly practical. |
+1 |
merge |
@slava77 I tested the timing together with other customizations that are included in #23404, as well as in a forthcoming PR. We decided to split this into several PRs. Unfortunately, this one doesn't seem to be save much. |
OOT photons are not needed for reconstruction of PbPb events.
This PR modifies the era "pp_on_AA_2018", which is intended for PbPb processing this year.
It was tested with wf 158.