#include <HcalSeverityLevelComputer.h>
Classes | |
class | HcalSeverityDefinition |
Public Member Functions | |
bool | dropChannel (const uint32_t &mystatus) const |
int | getSeverityLevel (const DetId &myid, const uint32_t &myflag, const uint32_t &mystatus) const |
HcalSeverityLevelComputer (const edm::ParameterSet &) | |
bool | recoveredRecHit (const DetId &myid, const uint32_t &myflag) const |
~HcalSeverityLevelComputer () | |
Private Member Functions | |
bool | getChStBit (HcalSeverityDefinition &mydef, const std::string &mybit) |
bool | getRecHitFlag (HcalSeverityDefinition &mydef, const std::string &mybit) |
void | setAllRHMasks (const unsigned bitnumber, HcalSeverityDefinition &mydef) |
void | setBit (const unsigned bitnumber, uint32_t &where) |
Private Attributes | |
HcalSeverityDefinition * | DropChannel_ |
HcalSeverityDefinition * | RecoveredRecHit_ |
std::vector < HcalSeverityDefinition > | SevDef |
Friends | |
std::ostream & | operator<< (std::ostream &s, const HcalSeverityLevelComputer::HcalSeverityDefinition &def) |
Definition at line 25 of file HcalSeverityLevelComputer.h.
HcalSeverityLevelComputer::HcalSeverityLevelComputer | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 103 of file HcalSeverityLevelComputer.cc.
References DropChannel_, relativeConstraints::empty, getChStBit(), edm::ParameterSet::getParameter(), getRecHitFlag(), relval_2017::k, RecoveredRecHit_, SevDef, HcalSeverityLevelComputer::HcalSeverityDefinition::sevLevel, and AlCaHLTBitMon_QueryRunRegistry::string.
HcalSeverityLevelComputer::~HcalSeverityLevelComputer | ( | ) |
Definition at line 231 of file HcalSeverityLevelComputer.cc.
bool HcalSeverityLevelComputer::dropChannel | ( | const uint32_t & | mystatus | ) | const |
Definition at line 312 of file HcalSeverityLevelComputer.cc.
References HcalSeverityLevelComputer::HcalSeverityDefinition::chStatusMask, and DropChannel_.
Referenced by reco::HcalNoiseInfoProducer::filldigis(), HcalHF_PETalgorithm::HFSetFlagFromPET(), HcalHFStatusBitFromRecHits::hfSetFlagFromRecHits(), MuonHOAcceptance::initIds(), CaloTowersCreationAlgo::makeHcalDropChMap(), ZdcHitReconstructor::produce(), and HcalHitReconstructor::produce().
|
private |
Definition at line 9 of file HcalSeverityLevelComputer.cc.
References HcalSeverityLevelComputer::HcalSeverityDefinition::chStatusMask, HcalChannelStatus::HcalBadLaserSignal, HcalChannelStatus::HcalCellCaloTowerMask, HcalChannelStatus::HcalCellCaloTowerProb, HcalChannelStatus::HcalCellDead, HcalChannelStatus::HcalCellExcludeFromHBHENoiseSummary, HcalChannelStatus::HcalCellExcludeFromHBHENoiseSummaryR45, HcalChannelStatus::HcalCellHot, HcalChannelStatus::HcalCellMask, HcalChannelStatus::HcalCellOff, HcalChannelStatus::HcalCellStabErr, HcalChannelStatus::HcalCellTimErr, HcalChannelStatus::HcalCellTrigMask, and setBit().
Referenced by HcalSeverityLevelComputer().
|
private |
Definition at line 34 of file HcalSeverityLevelComputer.cc.
References HcalCaloFlagLabels::ADCSaturationBit, HcalCaloFlagLabels::AddedSimHcalNoise, HcalSeverityLevelComputer::HcalSeverityDefinition::CalibFlagMask, HcalCaloFlagLabels::CalibrationBit, HcalCaloFlagLabels::Fraction2TS, HcalSeverityLevelComputer::HcalSeverityDefinition::HBHEFlagMask, HcalCaloFlagLabels::HBHEFlatNoise, HcalCaloFlagLabels::HBHEHpdHitMultiplicity, HcalCaloFlagLabels::HBHEIsolatedNoise, HcalCaloFlagLabels::HBHENegativeNoise, HcalCaloFlagLabels::HBHEOOTPU, HcalCaloFlagLabels::HBHEPulseFitBit, HcalCaloFlagLabels::HBHEPulseShape, HcalCaloFlagLabels::HBHESpikeNoise, HcalCaloFlagLabels::HBHETimingShapedCutsBits, HcalCaloFlagLabels::HBHETimingTrustBits, HcalCaloFlagLabels::HBHETriangleNoise, HcalCaloFlagLabels::HBHETS4TS5Noise, HcalCaloFlagLabels::HFDigiTime, HcalSeverityLevelComputer::HcalSeverityDefinition::HFFlagMask, HcalCaloFlagLabels::HFInTimeWindow, HcalCaloFlagLabels::HFLongShort, HcalCaloFlagLabels::HFPET, HcalCaloFlagLabels::HFS8S1Ratio, HcalCaloFlagLabels::HFTimingTrustBits, HcalCaloFlagLabels::HOBit, HcalSeverityLevelComputer::HcalSeverityDefinition::HOFlagMask, HcalCaloFlagLabels::HSCP_ExpFit, HcalCaloFlagLabels::HSCP_FracLeader, HcalCaloFlagLabels::HSCP_OuterEnergy, HcalCaloFlagLabels::HSCP_R1R2, HcalCaloFlagLabels::PresampleADC, setAllRHMasks(), setBit(), HcalCaloFlagLabels::TimingAddedBit, HcalCaloFlagLabels::TimingErrorBit, HcalCaloFlagLabels::TimingSubtractedBit, HcalCaloFlagLabels::UserDefinedBit0, HcalCaloFlagLabels::ZDCBit, and HcalSeverityLevelComputer::HcalSeverityDefinition::ZDCFlagMask.
Referenced by HcalSeverityLevelComputer().
int HcalSeverityLevelComputer::getSeverityLevel | ( | const DetId & | myid, |
const uint32_t & | myflag, | ||
const uint32_t & | mystatus | ||
) | const |
Definition at line 234 of file HcalSeverityLevelComputer.cc.
References HcalGenericDetId::genericSubdet(), HcalGenericDetId::HcalGenBarrel, HcalGenericDetId::HcalGenCalibration, HcalGenericDetId::HcalGenEndcap, HcalGenericDetId::HcalGenForward, HcalGenericDetId::HcalGenOuter, HcalGenericDetId::HcalGenZDC, i, j, and SevDef.
Referenced by AlCaHOCalibProducer::fillHOStore(), reco::HcalNoiseInfoProducer::fillrechits(), CaloTowersCreationAlgo::hcalChanStatusForCaloTower(), HcalRecHitsAnalyzer::hcalSevLvl(), HcalRecHitsValidation::hcalSevLvl(), HcalHF_PETalgorithm::HFSetFlagFromPET(), HcalHF_S9S1algorithm::HFSetFlagFromS9S1(), EgammaHLTHcalIsolation::passCleaning_(), PFCTRecHitProducer::produce(), PFRecHitQTestHCALChannel::test(), and ObjectValidator::validHit().
bool HcalSeverityLevelComputer::recoveredRecHit | ( | const DetId & | myid, |
const uint32_t & | myflag | ||
) | const |
Definition at line 289 of file HcalSeverityLevelComputer.cc.
References HcalSeverityLevelComputer::HcalSeverityDefinition::CalibFlagMask, HcalGenericDetId::genericSubdet(), HcalSeverityLevelComputer::HcalSeverityDefinition::HBHEFlagMask, HcalGenericDetId::HcalGenBarrel, HcalGenericDetId::HcalGenCalibration, HcalGenericDetId::HcalGenEndcap, HcalGenericDetId::HcalGenForward, HcalGenericDetId::HcalGenOuter, HcalGenericDetId::HcalGenZDC, HcalSeverityLevelComputer::HcalSeverityDefinition::HFFlagMask, HcalSeverityLevelComputer::HcalSeverityDefinition::HOFlagMask, RecoveredRecHit_, and HcalSeverityLevelComputer::HcalSeverityDefinition::ZDCFlagMask.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), CaloTowersCreationAlgo::hcalChanStatusForCaloTower(), EgammaHLTHcalIsolation::passCleaning_(), and ObjectValidator::validHit().
|
private |
Definition at line 326 of file HcalSeverityLevelComputer.cc.
References HcalSeverityLevelComputer::HcalSeverityDefinition::CalibFlagMask, HcalSeverityLevelComputer::HcalSeverityDefinition::HBHEFlagMask, HcalSeverityLevelComputer::HcalSeverityDefinition::HFFlagMask, HcalSeverityLevelComputer::HcalSeverityDefinition::HOFlagMask, setBit(), and HcalSeverityLevelComputer::HcalSeverityDefinition::ZDCFlagMask.
Referenced by getRecHitFlag().
|
private |
Definition at line 320 of file HcalSeverityLevelComputer.cc.
Referenced by getChStBit(), getRecHitFlag(), and setAllRHMasks().
|
friend |
Definition at line 335 of file HcalSeverityLevelComputer.cc.
|
private |
Definition at line 57 of file HcalSeverityLevelComputer.h.
Referenced by dropChannel(), and HcalSeverityLevelComputer().
|
private |
Definition at line 56 of file HcalSeverityLevelComputer.h.
Referenced by HcalSeverityLevelComputer(), and recoveredRecHit().
|
private |
Definition at line 55 of file HcalSeverityLevelComputer.h.
Referenced by getSeverityLevel(), and HcalSeverityLevelComputer().