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
LS-aware access to HcalChannelQuality #25351
Conversation
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-25351/7374 |
A new Pull Request was created by @abdoulline (Salavat Abdullin) for master. It involves the following packages: RecoLocalCalo/HcalRecAlgos @perrotta, @monttj, @cmsbuild, @fgolf, @slava77, @peruzzim can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-25351/7428 |
please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+1 |
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 also notice that HcalRecHitReflagger
is a legacy module. This update can be a good opportunity to update it to e.g. edm::stream (or even edm::global, if it is possible)
} | ||
|
||
} | ||
void HcalRecHitReflagger::beginRun(const Run& r, const EventSetup& c) { } |
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 (now empty) method can be removed
HcalDetId id=HcalDetId(*i); | ||
int status=(chanquality_.getValues(id))->getValue(); | ||
if ( (status & (1<<HcalChannelStatus::HcalCellDead))==0 ) continue; | ||
badstatusmap[id]=status; |
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.
where is this map reset?
const HcalChannelQuality& chanquality_(*p.product()); | ||
|
||
std::vector<DetId> mydetids = chanquality_.getAllChannels(); | ||
for (std::vector<DetId>::const_iterator i = mydetids.begin();i!=mydetids.end();++i) |
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 looks like a pretty expensive operation to be done every event.
Some ESWatcher
should be added to update only when necessary
I somewhat slowly realized that RecoLocalCalo/HcalRecAlgos/test/HcalRecHitReflagger.cc is in a /test directory and is not used for production. |
Yes, it's in the /test... I've updated it "just in case", in fact wasn't
sure if it's used by anyone since 2010
https://github.com/cms-sw/cmssw/commits/02d4198c0b6615287fd88e9a8ff650aea994412e/RecoLocalCalo/HcalRecAlgos/test/HcalRecHitReflagger.cc
…On Mon, 3 Dec 2018, Slava Krutelyov wrote:
I somewhat slowly realized that
RecoLocalCalo/HcalRecAlgos/test/HcalRecHitReflagger.cc is in a /test
directory and is not used for production.
The review concerning this file is then advisory, I will not hold the PR
signoff for that.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the
thread.[AEx02orC7BPr0YHadixh4nZV0XnlL6-cks5u1Yt9gaJpZM4Y0yEl.gif]
|
+1 |
merge |
Preparing to move to per-LS HcalChannelQuality conditions.
HCAL DQM will be updated in a separate PR by David Yu (@DryRun)