CMS 3D CMS Logo

Namespaces | Enumerations | Functions | Variables
EcalDQMCommonUtils.h File Reference
#include <algorithm>
#include <cmath>
#include <iomanip>
#include "Geometry/CaloGeometry/interface/CaloGeometry.h"
#include "Geometry/CaloTopology/interface/EcalTrigTowerConstituentsMap.h"
#include "Geometry/EcalMapping/interface/EcalElectronicsMapping.h"
#include "DataFormats/EcalDetId/interface/EBDetId.h"
#include "DataFormats/EcalDetId/interface/EEDetId.h"
#include "DataFormats/EcalDetId/interface/EcalElectronicsId.h"
#include "DataFormats/EcalDetId/interface/EcalPnDiodeDetId.h"
#include "DataFormats/EcalDetId/interface/EcalScDetId.h"
#include "DataFormats/EcalDetId/interface/EcalSubdetector.h"
#include "DataFormats/EcalDetId/interface/EcalTrigTowerDetId.h"
#include "DataFormats/EcalDetId/interface/EcalTriggerElectronicsId.h"
#include "FWCore/Utilities/interface/Exception.h"

Go to the source code of this file.

Namespaces

 ecaldqm
 

Enumerations

enum  ecaldqm::Constants {
  ecaldqm::nDCC = 54, ecaldqm::nEBDCC = 36, ecaldqm::nEEDCC = 18, ecaldqm::nDCCMEM = 44,
  ecaldqm::nEEDCCMEM = 8, ecaldqm::nTTOuter = 16, ecaldqm::nTTInner = 28, ecaldqm::nTCC = 108,
  ecaldqm::kEEmTCCLow = 0, ecaldqm::kEEmTCCHigh = 35, ecaldqm::kEEpTCCLow = 72, ecaldqm::kEEpTCCHigh = 107,
  ecaldqm::kEBTCCLow = 36, ecaldqm::kEBTCCHigh = 71, ecaldqm::nChannels = EBDetId::kSizeForDenseIndexing + EEDetId::kSizeForDenseIndexing, ecaldqm::nTowers = EcalTrigTowerDetId::kEBTotalTowers + EcalScDetId::kSizeForDenseIndexing
}
 
enum  ecaldqm::SMName {
  ecaldqm::kEEm07, ecaldqm::kEEm08, ecaldqm::kEEm09, ecaldqm::kEEm01,
  ecaldqm::kEEm02, ecaldqm::kEEm03, ecaldqm::kEEm04, ecaldqm::kEEm05,
  ecaldqm::kEEm06, ecaldqm::kEBm01, ecaldqm::kEBm02, ecaldqm::kEBm03,
  ecaldqm::kEBm04, ecaldqm::kEBm05, ecaldqm::kEBm06, ecaldqm::kEBm07,
  ecaldqm::kEBm08, ecaldqm::kEBm09, ecaldqm::kEBm10, ecaldqm::kEBm11,
  ecaldqm::kEBm12, ecaldqm::kEBm13, ecaldqm::kEBm14, ecaldqm::kEBm15,
  ecaldqm::kEBm16, ecaldqm::kEBm17, ecaldqm::kEBm18, ecaldqm::kEBp01,
  ecaldqm::kEBp02, ecaldqm::kEBp03, ecaldqm::kEBp04, ecaldqm::kEBp05,
  ecaldqm::kEBp06, ecaldqm::kEBp07, ecaldqm::kEBp08, ecaldqm::kEBp09,
  ecaldqm::kEBp10, ecaldqm::kEBp11, ecaldqm::kEBp12, ecaldqm::kEBp13,
  ecaldqm::kEBp14, ecaldqm::kEBp15, ecaldqm::kEBp16, ecaldqm::kEBp17,
  ecaldqm::kEBp18, ecaldqm::kEEp07, ecaldqm::kEEp08, ecaldqm::kEEp09,
  ecaldqm::kEEp01, ecaldqm::kEEp02, ecaldqm::kEEp03, ecaldqm::kEEp04,
  ecaldqm::kEEp05, ecaldqm::kEEp06, ecaldqm::kEEmLow = kEEm07, ecaldqm::kEEmHigh = kEEm06,
  ecaldqm::kEEpLow = kEEp07, ecaldqm::kEEpHigh = kEEp06, ecaldqm::kEBmLow = kEBm01, ecaldqm::kEBmHigh = kEBm18,
  ecaldqm::kEBpLow = kEBp01, ecaldqm::kEBpHigh = kEBp18
}
 

Functions

bool ecaldqm::ccuExists (unsigned, unsigned)
 
unsigned ecaldqm::dccId (DetId const &, EcalElectronicsMapping const *)
 
unsigned ecaldqm::dccId (EcalElectronicsId const &)
 
unsigned ecaldqm::dccId (std::string const &)
 
double ecaldqm::eta (EBDetId const &, CaloGeometry const *)
 
double ecaldqm::eta (EEDetId const &, CaloGeometry const *)
 
std::pair< unsigned, unsigned > ecaldqm::innerTCCs (unsigned)
 
bool ecaldqm::isCrystalId (DetId const &)
 
bool ecaldqm::isEcalScDetId (DetId const &)
 
bool ecaldqm::isEndcapTTId (DetId const &)
 
bool ecaldqm::isForward (DetId const &)
 
bool ecaldqm::isSingleChannelId (DetId const &)
 
unsigned ecaldqm::memDCCId (unsigned)
 
unsigned ecaldqm::memDCCIndex (unsigned)
 
unsigned ecaldqm::nCrystals (unsigned)
 
unsigned ecaldqm::nSuperCrystals (unsigned)
 
std::pair< unsigned, unsigned > ecaldqm::outerTCCs (unsigned)
 
double ecaldqm::phi (EBDetId const &)
 
double ecaldqm::phi (EEDetId const &)
 
double ecaldqm::phi (EcalTrigTowerDetId const &)
 
double ecaldqm::phi (double)
 
EcalPnDiodeDetId ecaldqm::pnForCrystal (DetId const &, char, EcalElectronicsMapping const *)
 
unsigned ecaldqm::rtHalf (DetId const &, EcalElectronicsMapping const *)
 
std::vector< DetIdecaldqm::scConstituents (EcalScDetId const &)
 
std::string ecaldqm::smName (unsigned)
 
unsigned ecaldqm::tccId (DetId const &, EcalElectronicsMapping const *)
 
unsigned ecaldqm::tccId (EcalElectronicsId const &, EcalElectronicsMapping const *)
 
unsigned ecaldqm::towerId (DetId const &, EcalElectronicsMapping const *)
 
unsigned ecaldqm::towerId (EcalElectronicsId const &)
 
unsigned ecaldqm::ttId (DetId const &, EcalElectronicsMapping const *)
 
unsigned ecaldqm::ttId (EcalElectronicsId const &, EcalElectronicsMapping const *)
 
int ecaldqm::zside (DetId const &)
 

Variables

double const ecaldqm::etaBound
 
std::vector< unsigned > const ecaldqm::memDCC