#include <HcalChannelStatus.h>
Public Types | |
enum | StatusBit { HcalCellOff = 0, HcalCellMask = 1, HcalCellDead = 5, HcalCellHot = 6, HcalCellStabErr = 7, HcalCellTimErr = 8, HcalCellTrigMask = 15, HcalCellCaloTowerMask = 18, HcalCellCaloTowerProb = 19 } |
Public Member Functions | |
uint32_t | getValue () const |
HcalChannelStatus () | |
HcalChannelStatus (unsigned long fid, uint32_t status) | |
bool | isBitSet (unsigned int bitnumber) const |
uint32_t | rawId () const |
void | setBit (unsigned int bitnumber) |
void | setValue (uint32_t value) |
void | unsetBit (unsigned int bitnumber) |
Private Attributes | |
uint32_t | mId |
uint32_t | mStatus |
Definition at line 13 of file HcalChannelStatus.h.
HcalCellOff | |
HcalCellMask | |
HcalCellDead | |
HcalCellHot | |
HcalCellStabErr | |
HcalCellTimErr | |
HcalCellTrigMask | |
HcalCellCaloTowerMask | |
HcalCellCaloTowerProb |
Definition at line 17 of file HcalChannelStatus.h.
{ HcalCellOff=0, // 1=Hcal cell is off HcalCellMask=1, // 1=Hcal cell is masked/to be masked at RecHit Level // Quality Bits HcalCellDead=5, // 1=Hcal cell is dead (from DQM algo) HcalCellHot=6, // 1=Hcal cell is hot (from DQM algo) HcalCellStabErr=7, // 1=Hcal cell has stability error HcalCellTimErr=8, // 1=Hcal cell has timing error // Trigger Bits HcalCellTrigMask=15, // 1=cell is masked from the Trigger // CaloTower Bits HcalCellCaloTowerMask=18, // 1=cell is always excluded from the CaloTower, regardless of other bit settings. HcalCellCaloTowerProb=19 // 1=cell is counted as problematic within the tower. };
HcalChannelStatus::HcalChannelStatus | ( | ) | [inline] |
Definition at line 32 of file HcalChannelStatus.h.
HcalChannelStatus::HcalChannelStatus | ( | unsigned long | fid, |
uint32_t | status | ||
) | [inline] |
uint32_t HcalChannelStatus::getValue | ( | ) | const [inline] |
Definition at line 60 of file HcalChannelStatus.h.
References mStatus.
Referenced by WriteL1TriggerObjetsXml::analyze(), HcalBeamMonitor::beginRun(), reco::HcalNoiseInfoProducer::filldigis(), reco::HcalNoiseInfoProducer::fillrechits(), CaloTowersCreationAlgo::hcalChanStatusForCaloTower(), HcalRecHitsValidation::hcalSevLvl(), HcalRecHitsAnalyzer::hcalSevLvl(), HcalHF_PETalgorithm::HFSetFlagFromPET(), HcalHFStatusBitFromRecHits::hfSetFlagFromRecHits(), HcalHF_S9S1algorithm::HFSetFlagFromS9S1(), MuonHOAcceptance::initIds(), CaloTowersCreationAlgo::makeHcalDropChMap(), EgammaHLTHcalIsolation::passCleaning_(), ZdcHitReconstructor::produce(), HcalHitReconstructor::produce(), HcaluLUTTPGCoder::update(), ObjectValidator::validHit(), and HcalMonitorClient::writeChannelStatus().
{return mStatus;}
bool HcalChannelStatus::isBitSet | ( | unsigned int | bitnumber | ) | const [inline] |
Definition at line 52 of file HcalChannelStatus.h.
References mStatus.
Referenced by HcalBeamMonitor::beginRun().
{ uint32_t statadd = 0x1<<(bitnumber); return (mStatus&statadd)?(true):(false); }
uint32_t HcalChannelStatus::rawId | ( | ) | const [inline] |
Definition at line 58 of file HcalChannelStatus.h.
References mId.
Referenced by HcalBeamMonitor::beginRun(), and HcalMonitorClient::writeChannelStatus().
{return mId;}
void HcalChannelStatus::setBit | ( | unsigned int | bitnumber | ) | [inline] |
Definition at line 40 of file HcalChannelStatus.h.
References mStatus.
Referenced by HcalMonitorClient::writeChannelStatus().
void HcalChannelStatus::setValue | ( | uint32_t | value | ) | [inline] |
Definition at line 36 of file HcalChannelStatus.h.
References mStatus, and relativeConstraints::value.
void HcalChannelStatus::unsetBit | ( | unsigned int | bitnumber | ) | [inline] |
Definition at line 45 of file HcalChannelStatus.h.
References mStatus.
Referenced by HcalMonitorClient::writeChannelStatus().
uint32_t HcalChannelStatus::mId [private] |
Definition at line 63 of file HcalChannelStatus.h.
Referenced by rawId().
uint32_t HcalChannelStatus::mStatus [private] |
Definition at line 64 of file HcalChannelStatus.h.
Referenced by getValue(), isBitSet(), setBit(), setValue(), and unsetBit().