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
bsunanda:Run2-alca9 Backport PRs from 7_5 to handle calibration trigger and AlCa Reco jobs for HCAL #8752
Conversation
A new Pull Request was created by @bsunanda for CMSSW_7_4_X. bsunanda:Run2-alca9 Backport PRs from 7_5 to handle calibration trigger and AlCa Reco jobs for HCAL It involves the following packages: Calibration/HcalAlCaRecoProducers @diguida, @cvuosalo, @cerminar, @cmsbuild, @nclopezo, @deguio, @slava77, @mmusich, @danduggan can you please review it and eventually sign? Thanks. |
@cmsbuild please test |
The tests are being triggered in jenkins. |
Could you please let us know why this pull request is stuck? We need this to go through to get HCAL offline calibration in process. In fact we have one more request in line. We like to make that request after this is integrated. Can you treat this urgently? Regards From: deguio [notifications@github.com] +1 — |
(the primary signature, from AlCa is missing) |
process.load("Configuration.StandardSequences.MagneticField_cff") | ||
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff') | ||
from Configuration.AlCa.autoCond_condDBv2 import autoCond | ||
process.GlobalTag.globaltag=autoCond['run2_mc'] |
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.
@bsunanda
Two fixes in these tests (for a later PR):
- Use
process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
as explained by Ianna in one of the latest meetings: you need Run2 reco geometry. - Use
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_condDBv2_cff')
in order to load conditions from the new backend.
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_4_X IBs unless changes (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar |
@davidlange6 |
Hi David, it will be nice to have this merged. We would like to backport a few things more to make the AlCa steps working correctly in 7_4_X. Regards Sunanda From: abdoulline [notifications@github.com] @davidlange6https://github.com/davidlange6 — |
|
||
edm::Handle<edm::PCaloHitContainer> calosimhits; | ||
iEvent.getByLabel("g4SimHits","HcalHits",calosimhits); | ||
|
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.
@bsunanda - could you add the consumes migration to this module. Thanks
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.
Hi David
I shall add this. I am preparing the next backporting based on 8943. I shall add it there. Would it be OK? Otherwise it will be a huge amount. Regards
Sunanda
From: David Lange [notifications@github.com]
Sent: 12 May 2015 14:53
To: cms-sw/cmssw
Cc: Sunanda Banerjee
Subject: Re: [cmssw] bsunanda:Run2-alca9 Backport PRs from 7_5 to handle calibration trigger and AlCa Reco jobs for HCAL (#8752)
In Calibration/IsolatedParticles/plugins/HcalRaddamMuon.cchttps://github.com//pull/8752#discussion_r30129923:
+//
+// member functions
+//
+
+// ------------ method called for each event ------------
+void HcalRaddamMuon::analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup) {
+
- clearVectors();
- RunNumber = iEvent.id().run();
- EventNumber = iEvent.id().event();
- LumiNumber = iEvent.id().luminosityBlock();
- BXNumber = iEvent.bunchCrossing();
- edm::Handleedm::PCaloHitContainer calosimhits;
- iEvent.getByLabel("g4SimHits","HcalHits",calosimhits);
@bsunandahttps://github.com/bsunanda - could you add the consumes migration to this module. Thanks
—
Reply to this email directly or view it on GitHubhttps://github.com//pull/8752/files#r30129923.
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.
@bsunanda - could you not just push the change to this branch? Then its a few lines that get picked up easily and we aren’t back porting incorrect code.
On May 12, 2015, at 3:35 PM, bsunanda notifications@github.com wrote:
In Calibration/IsolatedParticles/plugins/HcalRaddamMuon.cc:
+//
+// member functions
+//
+
+// ------------ method called for each event ------------
+void HcalRaddamMuon::analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup) {
- clearVectors();
- RunNumber = iEvent.id().run();
- EventNumber = iEvent.id().event();
- LumiNumber = iEvent.id().luminosityBlock();
- BXNumber = iEvent.bunchCrossing();
- edm::Handleedm::PCaloHitContainer calosimhits;
- iEvent.getByLabel("g4SimHits","HcalHits",calosimhits);
Hi David I shall add this. I am preparing the next backporting based on 8943. I shall add it there. Would it be OK? Otherwise it will be a huge amount. Regards Sunanda ________________________________ From: David Lange [notifications@github.com] Sent: 12 May 2015 14:53 To: cms-sw/cmssw Cc: Sunanda Banerjee Subject: Re: [cmssw] bsunanda:Run2-alca9 Backport PRs from 7_5 to handle calibration trigger and AlCa Reco jobs for HCAL (#8752) In Calibration/IsolatedParticles/plugins/HcalRaddamMuon.cchttps://github.com//pull/8752#discussion_r30129923:
+// +// member functions +// + +// ------------ method called for each event ------------ +void HcalRaddamMuon::analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup) { + + clearVectors(); + RunNumber = iEvent.id().run(); + EventNumber = iEvent.id().event(); + LumiNumber = iEvent.id().luminosityBlock(); + BXNumber = iEvent.bunchCrossing(); + + edm::Handleedm::PCaloHitContainer calosimhits; + iEvent.getByLabel("g4SimHits","HcalHits",calosimhits); +
@bsunandahttps://github.com/bsunanda - could you add the consumes migration to this module. Thanks — Reply to this email directly or view it on GitHubhttps://github.com//pull/8752/files#r30129923.
—
Reply to this email directly or view it on GitHub.
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.
Hi David
I have committed the version of Calibration/IsolatedParticles/plugins/HcalRaddamMuon.cchttps://github.com//pull/8752#discussion_r30152293 which uses tokens, initialized in the constructor. Hope this is ok. Regards
Sunanda
From: David Lange [notifications@github.com]
Sent: 12 May 2015 18:25
To: cms-sw/cmssw
Cc: Sunanda Banerjee
Subject: Re: [cmssw] bsunanda:Run2-alca9 Backport PRs from 7_5 to handle calibration trigger and AlCa Reco jobs for HCAL (#8752)
In Calibration/IsolatedParticles/plugins/HcalRaddamMuon.cchttps://github.com//pull/8752#discussion_r30152293:
+//
+// member functions
+//
+
+// ------------ method called for each event ------------
+void HcalRaddamMuon::analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup) {
+
- clearVectors();
- RunNumber = iEvent.id().run();
- EventNumber = iEvent.id().event();
- LumiNumber = iEvent.id().luminosityBlock();
- BXNumber = iEvent.bunchCrossing();
- edm::Handleedm::PCaloHitContainer calosimhits;
- iEvent.getByLabel("g4SimHits","HcalHits",calosimhits);
@bsunandahttps://github.com/bsunanda - could you not just push the change to this branch? Then its a few lines that get picked up easily and we aren’t back porting incorrect code.
…
On May 12, 2015, at 3:35 PM, bsunanda notifications@github.com wrote: In Calibration/IsolatedParticles/plugins/HcalRaddamMuon.cc: > +// > +// member functions > +// > + > +// ------------ method called for each event ------------ > +void HcalRaddamMuon::analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup) { > + > + clearVectors(); > + RunNumber = iEvent.id().run(); > + EventNumber = iEvent.id().event(); > + LumiNumber = iEvent.id().luminosityBlock(); > + BXNumber = iEvent.bunchCrossing(); > + > + edm::Handleedm::PCaloHitContainer calosimhits; > + iEvent.getByLabel("g4SimHits","HcalHits",calosimhits); > + Hi David I shall add this. I am preparing the next backporting based on 8943. I shall add it there. Would it be OK? Otherwise it will be a huge amount. Regards Sunanda ________________________________ From: David Lange [notifications@github.com] Sent: 12 May 2015 14:53 To: cms-sw/cmssw Cc: Sunanda Banerjee Subject: Re: [cmssw] bsunanda:Run2-alca9 Backport PRs from 7_5 to handle calibration trigger and AlCa Reco jobs for HCAL (#8752#8752) In Calibration/IsolatedParticles/plugins/HcalRaddamMuon.cchttps://github.com//pull/8752#discussion_r30129923: +// +// member functions +// + +// ------------ method called for each event ------------ +void HcalRaddamMuon::analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup) { + + clearVectors(); + RunNumber = iEvent.id().run(); + EventNumber = iEvent.id().event(); + LumiNumber = iEvent.id().luminosityBlock(); + BXNumber = iEvent.bunchCrossing(); + + edm::Handleedm::PCaloHitContainer calosimhits; + iEvent.getByLabel("g4SimHits","HcalHits",calosimhits); + @bsunandahttps://github.com/bsunandahttps://github.com/bsunanda - could you add the consumes migration to this module. Thanks — Reply to this email directly or view it on GitHubhttps://github.com//pull/8752/files#r30129923. — Reply to this email directly or view it on GitHub.
—
Reply to this email directly or view it on GitHubhttps://github.com//pull/8752/files#r30152293.
@cmsbuild, please test |
bsunanda:Run2-alca9 Backport PRs from 7_5 to handle calibration trigger and AlCa Reco jobs for HCAL
Many parts of the trigger code and AlCa codes are modified and they are tested in 7_5_X and also with 7_4_X it passes the runTheMatrix.py with 10 10 9 7 6 tests passed, 0 0 0 0 0 failed