#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, int phase_) |
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 24 of file HcalSeverityLevelComputer.h.
HcalSeverityLevelComputer::HcalSeverityLevelComputer | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 185 of file HcalSeverityLevelComputer.cc.
References DropChannel_, relativeConstraints::empty, getChStBit(), edm::ParameterSet::getParameter(), getRecHitFlag(), dqmdumpme::k, hydjet2DefaultParameters_cff::myParameters, RecoveredRecHit_, SevDef, HcalSeverityLevelComputer::HcalSeverityDefinition::sevLevel, and AlCaHLTBitMon_QueryRunRegistry::string.
HcalSeverityLevelComputer::~HcalSeverityLevelComputer | ( | ) |
Definition at line 299 of file HcalSeverityLevelComputer.cc.
References DropChannel_, and RecoveredRecHit_.
bool HcalSeverityLevelComputer::dropChannel | ( | const uint32_t & | mystatus | ) | const |
Definition at line 395 of file HcalSeverityLevelComputer.cc.
References HcalSeverityLevelComputer::HcalSeverityDefinition::chStatusMask, and DropChannel_.
Referenced by reco::HcalNoiseInfoProducer::filldigis(), HcalHF_PETalgorithm::HFSetFlagFromPET(), HcalHFStatusBitFromRecHits::hfSetFlagFromRecHits(), CaloTowersCreationAlgo::makeHcalDropChMap(), ZdcHitReconstructor::produce(), HcalHitReconstructor::produce(), and HFPhase1Reconstructor::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 42 of file HcalSeverityLevelComputer.cc.
References HcalCaloFlagLabels::ADCSaturationBit, HcalCaloFlagLabels::AddedSimHcalNoise, HcalSeverityLevelComputer::HcalSeverityDefinition::CalibFlagMask, HcalCaloFlagLabels::CalibrationBit, HcalCaloFlagLabels::Fraction2TS, HcalSeverityLevelComputer::HcalSeverityDefinition::HBHEFlagMask, HcalPhase1FlagLabels::HBHEFlatNoise, HcalCaloFlagLabels::HBHEFlatNoise, HcalPhase1FlagLabels::HBHEHpdHitMultiplicity, HcalCaloFlagLabels::HBHEHpdHitMultiplicity, HcalPhase1FlagLabels::HBHEIsolatedNoise, HcalCaloFlagLabels::HBHEIsolatedNoise, HcalPhase1FlagLabels::HBHENegativeNoise, HcalCaloFlagLabels::HBHENegativeNoise, HcalPhase1FlagLabels::HBHEOOTPU, HcalCaloFlagLabels::HBHEOOTPU, HcalPhase1FlagLabels::HBHEPulseFitBit, HcalCaloFlagLabels::HBHEPulseFitBit, HcalCaloFlagLabels::HBHEPulseShape, HcalPhase1FlagLabels::HBHESpikeNoise, HcalCaloFlagLabels::HBHESpikeNoise, HcalCaloFlagLabels::HBHETimingShapedCutsBits, HcalCaloFlagLabels::HBHETimingTrustBits, HcalCaloFlagLabels::HBHETriangleNoise, HcalPhase1FlagLabels::HBHETS4TS5Noise, HcalCaloFlagLabels::HBHETS4TS5Noise, HcalPhase1FlagLabels::HFAnomalousHit, HcalCaloFlagLabels::HFDigiTime, HcalSeverityLevelComputer::HcalSeverityDefinition::HFFlagMask, HcalCaloFlagLabels::HFInTimeWindow, HcalPhase1FlagLabels::HFLongShort, HcalCaloFlagLabels::HFLongShort, HcalPhase1FlagLabels::HFPET, HcalCaloFlagLabels::HFPET, HcalPhase1FlagLabels::HFS8S1Ratio, HcalCaloFlagLabels::HFS8S1Ratio, HcalPhase1FlagLabels::HFSignalAsymmetry, 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, HcalPhase1FlagLabels::TimingFromTDC, HcalCaloFlagLabels::TimingSubtractedBit, HcalPhase1FlagLabels::UserDefinedBit0, 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 304 of file HcalSeverityLevelComputer.cc.
References HcalGenericDetId::genericSubdet(), HcalGenericDetId::HcalGenBarrel, HcalGenericDetId::HcalGenCalibration, HcalGenericDetId::HcalGenEndcap, HcalGenericDetId::HcalGenForward, HcalGenericDetId::HcalGenOuter, HcalGenericDetId::HcalGenZDC, mps_fire::i, dqmiolumiharvest::j, and SevDef.
Referenced by AlCaHOCalibProducer::fillHOStore(), reco::HcalNoiseInfoProducer::fillrechits(), CaloTowersCreationAlgo::hcalChanStatusForCaloTower(), HcalRecHitsAnalyzer::hcalSevLvl(), HcalHF_PETalgorithm::HFSetFlagFromPET(), HcalHF_S9S1algorithm::HFSetFlagFromS9S1(), HcalHitSelection::skim(), PFRecHitQTestHCALChannel::test(), and ObjectValidator::validHit().
bool HcalSeverityLevelComputer::recoveredRecHit | ( | const DetId & | myid, |
const uint32_t & | myflag | ||
) | const |
Definition at line 363 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(), and ObjectValidator::validHit().
|
private |
Definition at line 407 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 402 of file HcalSeverityLevelComputer.cc.
Referenced by getChStBit(), getRecHitFlag(), and setAllRHMasks().
|
friend |
Definition at line 415 of file HcalSeverityLevelComputer.cc.
|
private |
Definition at line 56 of file HcalSeverityLevelComputer.h.
Referenced by dropChannel(), HcalSeverityLevelComputer(), and ~HcalSeverityLevelComputer().
|
private |
Definition at line 55 of file HcalSeverityLevelComputer.h.
Referenced by HcalSeverityLevelComputer(), recoveredRecHit(), and ~HcalSeverityLevelComputer().
|
private |
Definition at line 54 of file HcalSeverityLevelComputer.h.
Referenced by getSeverityLevel(), and HcalSeverityLevelComputer().