Functions | |
template<typename DIGI > | |
double | aveADC (DIGI digi, double ped, int i=0, int j=3) |
template<typename DIGI > | |
double | aveQ (DIGI digi, double ped, int i=0, int j=3) |
template<typename DIGI > | |
double | aveTS (DIGI digi, double ped=0, int i=0, int j=3) |
template<typename STDTYPE > | |
void | dqmdebug (STDTYPE x, int debug=0) |
int | getFEDById (int) |
int | getIdByFED (int) |
int | getTPSubDet (HcalTrigTowerDetId const &) |
int | getTPSubDetPM (HcalTrigTowerDetId const &) |
template<typename DIGI > | |
bool | isError (DIGI digi) |
template<typename DIGI > | |
int | maxTS (DIGI digi, double ped=0) |
template<typename DIGI > | |
double | sumADC (DIGI digi, double ped, int i=0, int j=3) |
template<typename DIGI > | |
double | sumQ (DIGI digi, double ped, int i=0, int j=3) |
bool | validDetId (HcalSubdetector, int, int, int) |
bool | validDetId (HcalDetId const &) |
double hcaldqm::utilities::aveADC | ( | DIGI | digi, |
double | ped, | ||
int | i = 0 , |
||
int | j = 3 |
||
) |
Definition at line 76 of file Utilities.h.
double hcaldqm::utilities::aveQ | ( | DIGI | digi, |
double | ped, | ||
int | i = 0 , |
||
int | j = 3 |
||
) |
Definition at line 61 of file Utilities.h.
double hcaldqm::utilities::aveTS | ( | DIGI | 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().
void hcaldqm::utilities::dqmdebug | ( | STDTYPE | x, |
int | debug = 0 |
||
) |
int hcaldqm::utilities::getFEDById | ( | int | id | ) |
Definition at line 77 of file Utilities.cc.
References hcaldqm::constants::FED_uTCA_DELTA, hcaldqm::constants::FED_uTCA_MIN, hcaldqm::constants::FED_VME_MIN, and hcaldqm::constants::FED_VME_NUM.
Referenced by RawTask::endLuminosityBlock().
int hcaldqm::utilities::getIdByFED | ( | int | fed | ) |
Definition at line 87 of file Utilities.cc.
References hcaldqm::constants::FED_uTCA_DELTA, hcaldqm::constants::FED_uTCA_MAX, hcaldqm::constants::FED_uTCA_MIN, hcaldqm::constants::FED_VME_MAX, hcaldqm::constants::FED_VME_MIN, and hcaldqm::constants::FED_VME_NUM.
Referenced by RawTask::_process().
int hcaldqm::utilities::getTPSubDet | ( | HcalTrigTowerDetId const & | tid | ) |
Definition at line 58 of file Utilities.cc.
References HcalTrigTowerDetId::ietaAbs().
Referenced by TPTask::_process().
int hcaldqm::utilities::getTPSubDetPM | ( | HcalTrigTowerDetId const & | tid | ) |
Definition at line 63 of file Utilities.cc.
References HcalTrigTowerDetId::ieta().
bool hcaldqm::utilities::isError | ( | DIGI | digi | ) |
Definition at line 82 of file Utilities.h.
int hcaldqm::utilities::maxTS | ( | DIGI | digi, |
double | ped = 0 |
||
) |
double hcaldqm::utilities::sumADC | ( | DIGI | digi, |
double | ped, | ||
int | i = 0 , |
||
int | j = 3 |
||
) |
Definition at line 67 of file Utilities.h.
double hcaldqm::utilities::sumQ | ( | DIGI | 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().
bool hcaldqm::utilities::validDetId | ( | HcalSubdetector | sub, |
int | ieta, | ||
int | iphi, | ||
int | depth | ||
) |
Definition at line 12 of file Utilities.cc.
References funct::abs(), HcalBarrel, HcalEndcap, HcalForward, and HcalOuter.
bool hcaldqm::utilities::validDetId | ( | HcalDetId const & | did | ) |
Definition at line 52 of file Utilities.cc.
References HcalDetId::depth(), HcalDetId::ieta(), HcalDetId::iphi(), HcalDetId::subdet(), and HcalObjRepresent::validDetId().