Functions | |
template<typename DIGI > | |
double | aveADC (DIGI const &digi, double ped, int i=0, int j=3) |
template<typename DIGI > | |
double | aveQ (DIGI const &digi, double ped, int i=0, int j=3) |
template<typename DIGI > | |
double | aveTS (DIGI const &digi, double ped=0, int i=0, int j=3) |
template<typename FRAME > | |
double | aveTS_v10 (FRAME const &frame, double ped=0, int i=0, int j=3) |
uint16_t | crate2fed (int crate, int slot) |
template<typename STDTYPE > | |
void | dqmdebug (STDTYPE const &x, int debug=0) |
std::pair< uint16_t, uint16_t > | fed2crate (int fed) |
std::vector< int > | getFEDList (HcalElectronicsMap const *) |
std::vector< int > | getFEDuTCAList (HcalElectronicsMap const *) |
std::vector< int > | getFEDVMEList (HcalElectronicsMap const *) |
int | getTPSubDet (HcalTrigTowerDetId const &) |
int | getTPSubDetPM (HcalTrigTowerDetId const &) |
uint32_t | hash (HcalDetId const &) |
uint32_t | hash (HcalElectronicsId const &) |
uint32_t | hash (HcalTrigTowerDetId const &) |
bool | isFEDHBHE (HcalElectronicsId const &) |
bool | isFEDHF (HcalElectronicsId const &) |
bool | isFEDHO (HcalElectronicsId const &) |
template<typename DIGI > | |
int | maxTS (DIGI const &digi, double ped=0) |
std::string | ogtype2string (OrbitGapType type) |
template<typename DIGI > | |
double | sumADC (DIGI const &digi, double ped, int i=0, int j=3) |
template<typename DIGI > | |
double | sumQ (DIGI const &digi, double ped, int i=0, int j=3) |
template<typename FRAME > | |
double | sumQ_v10 (FRAME const &frame, double ped, int i=0, int j=3) |
double hcaldqm::utilities::aveADC | ( | DIGI const & | digi, |
double | ped, | ||
int | i = 0 , |
||
int | j = 3 |
||
) |
Definition at line 103 of file Utilities.h.
double hcaldqm::utilities::aveQ | ( | DIGI const & | digi, |
double | ped, | ||
int | i = 0 , |
||
int | j = 3 |
||
) |
Definition at line 88 of file Utilities.h.
double hcaldqm::utilities::aveTS | ( | DIGI const & | digi, |
double | ped = 0 , |
||
int | i = 0 , |
||
int | j = 3 |
||
) |
Definition at line 65 of file Utilities.h.
References hcaldqm::constants::GARBAGE_VALUE, i, cuy::ii, j, and sumQ().
Referenced by LEDTask::_process(), and LaserTask::_process().
double hcaldqm::utilities::aveTS_v10 | ( | FRAME const & | frame, |
double | ped = 0 , |
||
int | i = 0 , |
||
int | j = 3 |
||
) |
Definition at line 24 of file Utilities.h.
References hcaldqm::constants::adc2fC, hcaldqm::constants::GARBAGE_VALUE, i, cuy::ii, j, lumiQueryAPI::q, and sumQ().
uint16_t hcaldqm::utilities::crate2fed | ( | int | crate, |
int | slot | ||
) |
Definition at line 27 of file Utilities.cc.
References hcaldqm::constants::CRATE2FED, Exception, and hcaldqm::constants::FED_uTCA_MAX_REAL.
Referenced by getFEDList(), getFEDuTCAList(), getFEDVMEList(), hcaldqm::quantity::getLabels_FED(), hcaldqm::quantity::getLabels_FEDuTCA(), hcaldqm::quantity::getLabels_FEDuTCASlot(), hcaldqm::quantity::FEDQuantity::getValue(), hcaldqm::quantity::getValue_FED(), hcaldqm::quantity::getValue_FEDuTCA(), isFEDHBHE(), isFEDHF(), hcaldqm::hashfunctions::name_FED(), hcaldqm::hashfunctions::name_FEDSlot(), and hcaldqm::hashfunctions::name_FEDSpigot().
void hcaldqm::utilities::dqmdebug | ( | STDTYPE const & | x, |
int | debug = 0 |
||
) |
std::pair< uint16_t, uint16_t > hcaldqm::utilities::fed2crate | ( | int | fed | ) |
Definition at line 13 of file Utilities.cc.
References Exception, hcaldqm::constants::FED2CRATE, hcaldqm::constants::FED_uTCA_MAX_REAL, and hcaldqm::constants::SLOT_uTCA_MIN.
Referenced by RawTask::_process(), hcaldqm::DQHarvester::beginRun(), hcaldqm::DQClient::beginRun(), PedestalTask::bookHistograms(), TPTask::bookHistograms(), RawTask::bookHistograms(), RecHitTask::bookHistograms(), DigiPhase1Task::bookHistograms(), DigiTask::bookHistograms(), hcaldqm::DQTask::bookHistograms(), hcaldqm::quantity::getEid_FED(), hcaldqm::quantity::getEid_FEDuTCA(), hcaldqm::hashfunctions::hash_FED(), hcaldqm::hashfunctions::hash_FEDSlot(), and hcaldqm::hashfunctions::hash_FEDSpigot().
std::vector< int > hcaldqm::utilities::getFEDList | ( | HcalElectronicsMap const * | emap | ) |
Definition at line 54 of file Utilities.cc.
References HcalElectronicsMap::allElectronicsIdPrecision(), crate2fed(), hcaldqm::constants::FED_VME_MIN, and gen::n.
Referenced by hcaldqm::DQHarvester::beginRun(), hcaldqm::DQClient::beginRun(), DigiComparisonTask::bookHistograms(), TPComparisonTask::bookHistograms(), PedestalTask::bookHistograms(), TPTask::bookHistograms(), RawTask::bookHistograms(), RecHitTask::bookHistograms(), DigiPhase1Task::bookHistograms(), and DigiTask::bookHistograms().
std::vector< int > hcaldqm::utilities::getFEDuTCAList | ( | HcalElectronicsMap const * | emap | ) |
Definition at line 104 of file Utilities.cc.
References HcalElectronicsMap::allElectronicsIdPrecision(), crate2fed(), hcaldqm::constants::FED_VME_MIN, and gen::n.
Referenced by DigiComparisonTask::bookHistograms(), TPComparisonTask::bookHistograms(), PedestalTask::bookHistograms(), TPTask::bookHistograms(), RawTask::bookHistograms(), RecHitTask::bookHistograms(), DigiTask::bookHistograms(), and DigiPhase1Task::bookHistograms().
std::vector< int > hcaldqm::utilities::getFEDVMEList | ( | HcalElectronicsMap const * | emap | ) |
Definition at line 78 of file Utilities.cc.
References HcalElectronicsMap::allElectronicsIdPrecision(), crate2fed(), hcaldqm::constants::FED_VME_MIN, and gen::n.
Referenced by DigiComparisonTask::bookHistograms(), TPComparisonTask::bookHistograms(), PedestalTask::bookHistograms(), TPTask::bookHistograms(), RawTask::bookHistograms(), RecHitTask::bookHistograms(), DigiTask::bookHistograms(), and DigiPhase1Task::bookHistograms().
int hcaldqm::utilities::getTPSubDet | ( | HcalTrigTowerDetId const & | ) |
int hcaldqm::utilities::getTPSubDetPM | ( | HcalTrigTowerDetId const & | ) |
uint32_t hcaldqm::utilities::hash | ( | HcalDetId const & | did | ) |
This is wrap around in case hashing scheme changes in the future
Definition at line 41 of file Utilities.cc.
References DetId::rawId().
Referenced by hcaldqm::hashfunctions::hash_Crate(), hcaldqm::hashfunctions::hash_CrateSlot(), hcaldqm::hashfunctions::hash_CrateSpigot(), hcaldqm::hashfunctions::hash_DChannel(), hcaldqm::hashfunctions::hash_depth(), hcaldqm::hashfunctions::hash_EChannel(), hcaldqm::hashfunctions::hash_Electronics(), hcaldqm::hashfunctions::hash_FED(), hcaldqm::hashfunctions::hash_FEDSlot(), hcaldqm::hashfunctions::hash_FEDSpigot(), hcaldqm::hashfunctions::hash_HBHEPartition(), hcaldqm::hashfunctions::hash_HFPMiphi(), hcaldqm::hashfunctions::hash_ieta(), hcaldqm::hashfunctions::hash_iphi(), hcaldqm::hashfunctions::hash_Subdet(), hcaldqm::hashfunctions::hash_Subdetdepth(), hcaldqm::hashfunctions::hash_Subdetieta(), hcaldqm::hashfunctions::hash_Subdetiphi(), hcaldqm::hashfunctions::hash_SubdetPM(), hcaldqm::hashfunctions::hash_SubdetPMiphi(), hcaldqm::hashfunctions::hash_TChannel(), hcaldqm::hashfunctions::hash_TTdepth(), hcaldqm::hashfunctions::hash_TTSubdet(), hcaldqm::hashfunctions::hash_TTSubdetPM(), and hcaldqm::hashfunctions::hash_TTSubdetPMiphi().
uint32_t hcaldqm::utilities::hash | ( | HcalElectronicsId const & | eid | ) |
Definition at line 45 of file Utilities.cc.
References HcalElectronicsId::rawId().
uint32_t hcaldqm::utilities::hash | ( | HcalTrigTowerDetId const & | tid | ) |
Definition at line 49 of file Utilities.cc.
References DetId::rawId().
bool hcaldqm::utilities::isFEDHBHE | ( | HcalElectronicsId const & | eid | ) |
Definition at line 131 of file Utilities.cc.
References crate2fed(), HcalElectronicsId::crateId(), HcalElectronicsId::dccid(), hcaldqm::constants::FED_VME_MIN, HcalElectronicsId::isVMEid(), and HcalElectronicsId::slot().
Referenced by PedestalTask::_dump(), hcaldqm::RecoRunSummary::endJob(), hcaldqm::TPRunSummary::endJob(), hcaldqm::DigiRunSummary::endJob(), hcaldqm::DigiRunSummary::endLuminosityBlock(), hcaldqm::RawRunSummary::endLuminosityBlock(), TPTask::endLuminosityBlock(), RawTask::endLuminosityBlock(), and DigiTask::endLuminosityBlock().
bool hcaldqm::utilities::isFEDHF | ( | HcalElectronicsId const & | eid | ) |
Definition at line 153 of file Utilities.cc.
References crate2fed(), HcalElectronicsId::crateId(), HcalElectronicsId::isVMEid(), and HcalElectronicsId::slot().
Referenced by PedestalTask::_dump(), hcaldqm::RecoRunSummary::endJob(), hcaldqm::TPRunSummary::endJob(), hcaldqm::DigiRunSummary::endJob(), hcaldqm::RawRunSummary::endLuminosityBlock(), hcaldqm::DigiRunSummary::endLuminosityBlock(), TPTask::endLuminosityBlock(), RawTask::endLuminosityBlock(), RecHitTask::endLuminosityBlock(), and DigiTask::endLuminosityBlock().
bool hcaldqm::utilities::isFEDHO | ( | HcalElectronicsId const & | eid | ) |
Definition at line 178 of file Utilities.cc.
References HcalElectronicsId::dccid(), hcaldqm::constants::FED_VME_MIN, and HcalElectronicsId::isVMEid().
Referenced by PedestalTask::_dump(), hcaldqm::DigiRunSummary::endJob(), hcaldqm::DigiRunSummary::endLuminosityBlock(), hcaldqm::RawRunSummary::endLuminosityBlock(), RawTask::endLuminosityBlock(), and DigiTask::endLuminosityBlock().
int hcaldqm::utilities::maxTS | ( | DIGI const & | digi, |
double | ped = 0 |
||
) |
std::string hcaldqm::utilities::ogtype2string | ( | OrbitGapType | type | ) |
Definition at line 195 of file Utilities.cc.
References hcaldqm::constants::tCalib, hcaldqm::constants::tCRF, hcaldqm::constants::tHBHEHPD, hcaldqm::constants::tHBMMega, hcaldqm::constants::tHBPMega, hcaldqm::constants::tHEMMega, hcaldqm::constants::tHEPMega, hcaldqm::constants::tHF, hcaldqm::constants::tHFRaddam, hcaldqm::constants::tHO, hcaldqm::constants::tNull, hcaldqm::constants::tPedestal, hcaldqm::constants::tSafe, and hcaldqm::constants::tZDC.
Referenced by hcaldqm::quantity::EventType::getLabels().
double hcaldqm::utilities::sumADC | ( | DIGI const & | digi, |
double | ped, | ||
int | i = 0 , |
||
int | j = 3 |
||
) |
Definition at line 94 of file Utilities.h.
double hcaldqm::utilities::sumQ | ( | DIGI const & | digi, |
double | ped, | ||
int | i = 0 , |
||
int | j = 3 |
||
) |
Definition at line 79 of file Utilities.h.
Referenced by NoCQTask::_process(), LEDTask::_process(), DigiPhase1Task::_process(), DigiTask::_process(), UMNioTask::_process(), LaserTask::_process(), aveTS(), aveTS_v10(), StripCPEgeometric::WrappedCluster::centroid(), StripCPEgeometric::WrappedCluster::eta(), and sumQ_v10().
double hcaldqm::utilities::sumQ_v10 | ( | FRAME const & | frame, |
double | ped, | ||
int | i = 0 , |
||
int | j = 3 |
||
) |
Definition at line 39 of file Utilities.h.
References ecalMGPA::adc(), hcaldqm::constants::adc2fC, i, cuy::ii, j, and sumQ().