Skip to content
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

HCALDQM: Require HB/HE for QIE11 and HF for QIE10 #23262

Merged
merged 1 commit into from
May 21, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 11 additions & 3 deletions DQM/HcalTasks/plugins/DigiPhase1Task.cc
Original file line number Diff line number Diff line change
Expand Up @@ -333,10 +333,14 @@ DigiPhase1Task::DigiPhase1Task(edm::ParameterSet const& ps):
if (rawid==0)
{meUnknownIds1LS->Fill(1); _unknownIdsPresent=true;continue;}
HcalElectronicsId const& eid(rawid);
if (did.subdet()==HcalBarrel)
if (did.subdet()==HcalBarrel) {
rawidHBValid = did.rawId();
else if (did.subdet()==HcalEndcap)
} else if (did.subdet()==HcalEndcap) {
rawidHEValid = did.rawId();
} else {
// Skip non-HB or HE detids
continue;
}

// filter out channels that are masked out
if (_xQuality.exists(did))
Expand Down Expand Up @@ -556,8 +560,12 @@ DigiPhase1Task::DigiPhase1Task(edm::ParameterSet const& ps):
if (rawid==0)
{meUnknownIds1LS->Fill(1); _unknownIdsPresent=true;continue;}
HcalElectronicsId const& eid(rawid);
if (did.subdet()==HcalForward)
if (did.subdet()==HcalForward) {
rawidValid = did.rawId();
} else {
// Skip non-HF detids
continue;
}

// filter out channels that are masked out
if (_xQuality.exists(did))
Expand Down