Skip to content

Commit

Permalink
Merge pull request #18996 from igv4321/hf-db-anode-status
Browse files Browse the repository at this point in the history
Adding anode DB suppression status to the rechits
  • Loading branch information
cmsbuild authored Jun 1, 2017
2 parents 9746d95 + 24eca6c commit f059e5d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions RecoLocalCalo/HcalRecAlgos/src/HFSimpleTimeCheck.cc
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,12 @@ HFRecHit HFSimpleTimeCheck::reconstruct(const HFPreRecHit& prehit,
bool isTimingReliable[2] = {true, true};
for (unsigned ianode=0; ianode<2; ++ianode)
{
const HFQIE10Info* anodeInfo = prehit.getHFQIE10Info(ianode);
if (anodeInfo)
if (flaggedBadInDB[ianode])
states[ianode] = HFAnodeStatus::FLAGGED_BAD;
else
{
if (flaggedBadInDB[ianode])
states[ianode] = HFAnodeStatus::FLAGGED_BAD;
else
const HFQIE10Info* anodeInfo = prehit.getHFQIE10Info(ianode);
if (anodeInfo)
states[ianode] = determineAnodeStatus(ianode, *anodeInfo,
&isTimingReliable[ianode]);
}
Expand Down

0 comments on commit f059e5d

Please sign in to comment.