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) |
uint16_t | crate2fed (int crate) |
template<typename STDTYPE > | |
void | dqmdebug (STDTYPE const &x, int debug=0) |
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) |
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) |
double hcaldqm::utilities::aveADC | ( | DIGI const & | digi, |
double | ped, | ||
int | i = 0 , |
||
int | j = 3 |
||
) |
Definition at line 76 of file Utilities.h.
double hcaldqm::utilities::aveQ | ( | DIGI const & | digi, |
double | ped, | ||
int | i = 0 , |
||
int | j = 3 |
||
) |
Definition at line 61 of file Utilities.h.
double hcaldqm::utilities::aveTS | ( | DIGI const & | digi, |
double | ped = 0 , |
||
int | i = 0 , |
||
int | j = 3 |
||
) |
Definition at line 38 of file Utilities.h.
References hcaldqm::constants::GARBAGE_VALUE, i, cuy::ii, j, and sumQ().
Referenced by LaserTask::_process(), and LEDTask::_process().
uint16_t hcaldqm::utilities::crate2fed | ( | int | crate | ) |
Definition at line 23 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 |
||
) |
uint16_t hcaldqm::utilities::fed2crate | ( | int | fed | ) |
Definition at line 12 of file Utilities.cc.
References Exception, hcaldqm::constants::FED2CRATE, and hcaldqm::constants::FED_uTCA_MAX_REAL.
Referenced by hcaldqm::DQHarvester::beginRun(), hcaldqm::DQClient::beginRun(), PedestalTask::bookHistograms(), TPTask::bookHistograms(), RawTask::bookHistograms(), RecHitTask::bookHistograms(), hcaldqm::DQTask::bookHistograms(), DigiTask::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 47 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(), and DigiTask::bookHistograms().
std::vector< int > hcaldqm::utilities::getFEDuTCAList | ( | HcalElectronicsMap const * | emap | ) |
Definition at line 97 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(), and DigiTask::bookHistograms().
std::vector< int > hcaldqm::utilities::getFEDVMEList | ( | HcalElectronicsMap const * | emap | ) |
Definition at line 71 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(), and DigiTask::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 34 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 38 of file Utilities.cc.
References HcalElectronicsId::rawId().
uint32_t hcaldqm::utilities::hash | ( | HcalTrigTowerDetId const & | tid | ) |
Definition at line 42 of file Utilities.cc.
References DetId::rawId().
bool hcaldqm::utilities::isFEDHBHE | ( | HcalElectronicsId const & | eid | ) |
Definition at line 124 of file Utilities.cc.
References crate2fed(), HcalElectronicsId::crateId(), HcalElectronicsId::dccid(), hcaldqm::constants::FED_VME_MIN, and HcalElectronicsId::isVMEid().
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 146 of file Utilities.cc.
References crate2fed(), HcalElectronicsId::crateId(), and HcalElectronicsId::isVMEid().
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 171 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 |
||
) |
double hcaldqm::utilities::sumADC | ( | DIGI const & | digi, |
double | ped, | ||
int | i = 0 , |
||
int | j = 3 |
||
) |
Definition at line 67 of file Utilities.h.
double hcaldqm::utilities::sumQ | ( | DIGI const & | digi, |
double | ped, | ||
int | i = 0 , |
||
int | j = 3 |
||
) |
Definition at line 52 of file Utilities.h.
Referenced by LaserTask::_process(), LEDTask::_process(), DigiTask::_process(), aveTS(), StripCPEgeometric::WrappedCluster::centroid(), and StripCPEgeometric::WrappedCluster::eta().