CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Functions
Utilities.h File Reference
#include "DQM/HcalCommon/interface/Constants.h"
#include "DQM/HcalCommon/interface/HcalCommonHeaders.h"

Go to the source code of this file.

Namespaces

 hcaldqm
 
 hcaldqm::utilities
 

Functions

template<class Digi >
double hcaldqm::utilities::adc2fCDBMinusPedestal (const edm::ESHandle< HcalDbService > &conditions, const CaloSamples &calo_samples, const HcalDetId did, const Digi &digi, unsigned int n)
 
template<typename DIGI >
double hcaldqm::utilities::aveADC (DIGI const &digi, double ped, int i=0, int j=3)
 
template<typename DIGI >
double hcaldqm::utilities::aveQ (DIGI const &digi, double ped, int i=0, int j=3)
 
template<typename DIGI >
double hcaldqm::utilities::aveTS (DIGI const &digi, double ped=0, int i=0, int j=3)
 
template<typename FRAME >
double hcaldqm::utilities::aveTS_v10 (FRAME const &frame, double ped=0, int i=0, int j=3)
 
template<class Digi >
double hcaldqm::utilities::aveTSDB (const edm::ESHandle< HcalDbService > &conditions, const CaloSamples &calo_samples, const HcalDetId did, const Digi &digi, unsigned int i_start, unsigned int i_end, bool dopedsubtr=true)
 
uint16_t hcaldqm::utilities::crate2fed (int crate, int slot)
 
template<typename STDTYPE >
void hcaldqm::utilities::dqmdebug (STDTYPE const &x, int debug=0)
 
std::pair< uint16_t, uint16_t > hcaldqm::utilities::fed2crate (int fed)
 
std::map< int, uint32_t > hcaldqm::utilities::getCrateHashMap (HcalElectronicsMap const *emap)
 
std::vector< int > hcaldqm::utilities::getCrateList (HcalElectronicsMap const *emap)
 
std::vector< int > hcaldqm::utilities::getFEDList (HcalElectronicsMap const *)
 
std::vector< int > hcaldqm::utilities::getFEDuTCAList (HcalElectronicsMap const *)
 
std::vector< int > hcaldqm::utilities::getFEDVMEList (HcalElectronicsMap const *)
 
int hcaldqm::utilities::getRBX (uint32_t iphi)
 
int hcaldqm::utilities::getTPSubDet (HcalTrigTowerDetId const &)
 
int hcaldqm::utilities::getTPSubDetPM (HcalTrigTowerDetId const &)
 
uint32_t hcaldqm::utilities::hash (HcalDetId const &)
 
uint32_t hcaldqm::utilities::hash (HcalElectronicsId const &)
 
uint32_t hcaldqm::utilities::hash (HcalTrigTowerDetId const &)
 
bool hcaldqm::utilities::isFEDHBHE (HcalElectronicsId const &)
 
bool hcaldqm::utilities::isFEDHF (HcalElectronicsId const &)
 
bool hcaldqm::utilities::isFEDHO (HcalElectronicsId const &)
 
template<class Digi >
CaloSamples hcaldqm::utilities::loadADC2fCDB (const edm::ESHandle< HcalDbService > &conditions, const HcalDetId did, const Digi &digi)
 
template<typename DIGI >
int hcaldqm::utilities::maxTS (DIGI const &digi, double ped=0)
 
std::string hcaldqm::utilities::ogtype2string (constants::OrbitGapType type)
 
template<typename DIGI >
double hcaldqm::utilities::sumADC (DIGI const &digi, double ped, int i=0, int j=3)
 
template<typename DIGI >
double hcaldqm::utilities::sumQ (DIGI const &digi, double ped, int i=0, int j=3)
 
template<typename FRAME >
double hcaldqm::utilities::sumQ_v10 (FRAME const &frame, double ped, int i=0, int j=3)
 
template<class Digi >
double hcaldqm::utilities::sumQDB (const edm::ESHandle< HcalDbService > &conditions, const CaloSamples &calo_samples, const HcalDetId did, const Digi &digi, unsigned int i_start, unsigned int i_end)