CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
ecaldqm Namespace Reference

Namespaces

 binning
 

Classes

class  CalibrationSummaryClient
 
class  CertificationClient
 
class  ClusterTask
 
class  CrystalConsistencyReader
 
class  DBReaderWorker
 
class  DBWriterWorker
 
struct  Dependency
 
struct  DependencySet
 
class  DQWorker
 
class  DQWorkerClient
 
class  DQWorkerTask
 
class  EcalDQMonitor
 
class  EnergyTask
 
class  IntegrityClient
 
class  IntegrityTask
 
class  IntegrityWriter
 
class  LaserBlueReader
 
class  LaserClient
 
class  LaserGreenReader
 
class  LaserIRedReader
 
class  LaserRedReader
 
class  LaserTask
 
class  LaserWriter
 
class  Led1Reader
 
class  Led2Reader
 
class  LedClient
 
class  LedTask
 
class  LedWriter
 
class  MemChConsistencyReader
 
class  MemTTConsistencyReader
 
class  MESet
 
class  MESetDet0D
 
class  MESetDet1D
 
class  MESetDet2D
 
class  MESetEcal
 
class  MESetMulti
 
class  MESetNonObject
 
class  MESetProjection
 
class  MESetTrend
 
class  OccupancyClient
 
class  OccupancyReader
 
class  OccupancyTask
 
class  OccupancyWriter
 
class  PedestalClient
 
class  PedestalsOnlineReader
 
class  PedestalsReader
 
class  PedestalTask
 
class  PedestalWriter
 
class  PNBlueReader
 
class  PNDiodeTask
 
class  PNGreenReader
 
class  PNIntegrityClient
 
class  PNIRedReader
 
class  PNMGPAReader
 
class  PNPedReader
 
class  PNRedReader
 
class  PresampleClient
 
class  PresampleTask
 
class  PresampleWriter
 
class  PulseShapeReader
 
class  RawDataClient
 
class  RawDataTask
 
class  RecoSummaryTask
 
class  SelectiveReadoutClient
 
class  SelectiveReadoutTask
 
class  StatusManager
 
class  SummaryClient
 
class  SummaryWriter
 
class  TestPulseClient
 
class  TestPulseReader
 
class  TestPulseTask
 
class  TestPulseWriter
 
class  TimingClient
 
class  TimingCrystalReader
 
class  TimingLaserBlueCrystalReader
 
class  TimingLaserGreenCrystalReader
 
class  TimingLaserIRedCrystalReader
 
class  TimingLaserRedCrystalReader
 
class  TimingLed1CrystalReader
 
class  TimingLed2CrystalReader
 
class  TimingTask
 
class  TimingWriter
 
class  TowerStatusTask
 
class  TrigPrimClient
 
class  TrigPrimTask
 
class  TTConsistencyReader
 
class  WorkerFactoryStore
 

Typedefs

typedef boost::ptr_map
< std::string, MESet
MESetCollection
 
typedef std::map< DetId, double > ReturnType
 
typedef DQWorker *(* WorkerFactory )()
 

Enumerations

enum  Collections {
  kSource, kEcalRawData, kEBGainErrors, kEEGainErrors,
  kEBChIdErrors, kEEChIdErrors, kEBGainSwitchErrors, kEEGainSwitchErrors,
  kTowerIdErrors, kBlockSizeErrors, kMEMTowerIdErrors, kMEMBlockSizeErrors,
  kMEMChIdErrors, kMEMGainErrors, kEBSrFlag, kEESrFlag,
  kEBDigi, kEEDigi, kPnDiodeDigi, kTrigPrimDigi,
  kTrigPrimEmulDigi, kEBUncalibRecHit, kEEUncalibRecHit, kEBLaserLedUncalibRecHit,
  kEELaserLedUncalibRecHit, kEBTestPulseUncalibRecHit, kEETestPulseUncalibRecHit, kEBRecHit,
  kEERecHit, kEBReducedRecHit, kEEReducedRecHit, kEBBasicCluster,
  kEEBasicCluster, kEBSuperCluster, kEESuperCluster, nCollections
}
 
enum  Constants {
  nDCC = 54, nEBDCC = 36, nEEDCC = 18, nDCCMEM = 44,
  nEEDCCMEM = 8, nTTOuter = 16, nTTInner = 28, nTCC = 108,
  kEEmTCCLow = 0, kEEmTCCHigh = 35, kEEpTCCLow = 72, kEEpTCCHigh = 107,
  kEBTCCLow = 36, kEBTCCHigh = 71, nChannels = EBDetId::kSizeForDenseIndexing + EEDetId::kSizeForDenseIndexing, nTowers = EcalTrigTowerDetId::kEBTotalTowers + EcalScDetId::kSizeForDenseIndexing
}
 
enum  FEFlags {
  Enabled = 0, Disabled = 1, Timeout = 2, HeaderError = 3,
  ChannelId = 4, LinkError = 5, BlockSize = 6, Suppressed = 7,
  FIFOFull = 8, L1ADesync = 9, BXDesync = 10, L1ABXDesync = 11,
  FIFOFullL1ADesync = 12, HParity = 13, VParity = 14, ForcedZS = 15,
  nFEFlags = 16
}
 
enum  Quality {
  kBad = 0, kGood = 1, kUnknown = 2, kMBad = 3,
  kMGood = 4, kMUnknown = 5
}
 
enum  SMName {
  kEEm07, kEEm08, kEEm09, kEEm01,
  kEEm02, kEEm03, kEEm04, kEEm05,
  kEEm06, kEBm01, kEBm02, kEBm03,
  kEBm04, kEBm05, kEBm06, kEBm07,
  kEBm08, kEBm09, kEBm10, kEBm11,
  kEBm12, kEBm13, kEBm14, kEBm15,
  kEBm16, kEBm17, kEBm18, kEBp01,
  kEBp02, kEBp03, kEBp04, kEBp05,
  kEBp06, kEBp07, kEBp08, kEBp09,
  kEBp10, kEBp11, kEBp12, kEBp13,
  kEBp14, kEBp15, kEBp16, kEBp17,
  kEBp18, kEEp07, kEEp08, kEEp09,
  kEEp01, kEEp02, kEEp03, kEEp04,
  kEEp05, kEEp06, kEEmLow = kEEm07, kEEmHigh = kEEm06,
  kEEpLow = kEEp07, kEEpHigh = kEEp06, kEBmLow = kEBm01, kEBmHigh = kEBm18,
  kEBpLow = kEBp01, kEBpHigh = kEBp18
}
 

Functions

bool ccuExists (unsigned, unsigned)
 
bool checkElectronicsMap (bool=true)
 
bool checkGeometry (bool=true)
 
bool checkTopology (bool=true)
 
bool checkTrigTowerMap (bool=true)
 
MESetcreateMESet (edm::ParameterSet const &)
 
EcalLogicID crystalID (DetId const &)
 
unsigned dccId (DetId const &)
 
unsigned dccId (EcalElectronicsId const &)
 
unsigned dccId (std::string const &)
 
EcalLogicID ecalID ()
 
unsigned EEPnDCC (unsigned _dee, unsigned _ab)
 
EcalElectronicsMapping const * electronicsMap (0)
 
double eta (EBDetId const &)
 
double eta (EEDetId const &)
 
const double etaBound (1.479)
 
template<typename DataType >
ReturnType fetchAndFill (std::map< std::string, double(*)(DataType const &)> const &_extractors, EcalCondDBInterface *_db, MonRunIOV &_iov, std::string const &_formula)
 
void fillMESetDescriptions (edm::ParameterSetDescription &)
 
CaloGeometry const * geometry (0)
 
EcalElectronicsMapping const * getElectronicsMap ()
 
CaloGeometry const * getGeometry ()
 
CaloTopology const * getTopology ()
 
EcalTrigTowerConstituentsMap
const * 
getTrigTowerMap ()
 
std::pair< unsigned, unsigned > innerTCCs (unsigned)
 
bool isCrystalId (DetId const &)
 
bool isEcalScDetId (DetId const &)
 
bool isEndcapTTId (DetId const &)
 
bool isForward (DetId const &)
 
bool isSingleChannelId (DetId const &)
 
EcalLogicID lmPNID (EcalPnDiodeDetId const &)
 
EcalLogicID memChannelID (EcalPnDiodeDetId const &)
 
const std::vector< unsigned > memDCC (memarr, memarr+44)
 
unsigned memDCCId (unsigned)
 
unsigned memDCCIndex (unsigned)
 
EcalLogicID memTowerID (EcalElectronicsId const &)
 
unsigned nCrystals (unsigned)
 
unsigned nSuperCrystals (unsigned)
 
std::pair< unsigned, unsigned > outerTCCs (unsigned)
 
double phi (EBDetId const &)
 
double phi (EEDetId const &)
 
double phi (EcalTrigTowerDetId const &)
 
double phi (double)
 
EcalPnDiodeDetId pnForCrystal (DetId const &, char)
 
bool qualityOK (int _quality)
 
unsigned rtHalf (DetId const &)
 
std::vector< DetIdscConstituents (EcalScDetId const &)
 
void setElectronicsMap (EcalElectronicsMapping const *)
 
void setGeometry (CaloGeometry const *)
 
void setTopology (CaloTopology const *)
 
void setTrigTowerMap (EcalTrigTowerConstituentsMap const *)
 
std::string smName (unsigned)
 
EcalLogicID subdetID (EcalSubdetector)
 
unsigned tccId (DetId const &)
 
unsigned tccId (EcalElectronicsId const &)
 
DetId toDetId (EcalLogicID const &)
 
CaloTopology const * topology (0)
 
EcalLogicID towerID (EcalElectronicsId const &)
 
unsigned towerId (DetId const &)
 
unsigned towerId (EcalElectronicsId const &)
 
EcalTrigTowerConstituentsMap
const * 
trigtowerMap (0)
 
unsigned ttId (DetId const &)
 
unsigned ttId (EcalElectronicsId const &)
 
int zside (DetId const &)
 

Variables

std::string const collectionName [nCollections]
 
WorkerFactoryStore::Registration
< CalibrationSummaryClient
ecaldqmCalibrationSummaryClientRegistration ("CalibrationSummaryClient")
 
WorkerFactoryStore::Registration
< CertificationClient
ecaldqmCertificationClientRegistration ("CertificationClient")
 
WorkerFactoryStore::Registration
< ClusterTask
ecaldqmClusterTaskRegistration ("ClusterTask")
 
WorkerFactoryStore::Registration
< EnergyTask
ecaldqmEnergyTaskRegistration ("EnergyTask")
 
WorkerFactoryStore::Registration
< IntegrityClient
ecaldqmIntegrityClientRegistration ("IntegrityClient")
 
WorkerFactoryStore::Registration
< IntegrityTask
ecaldqmIntegrityTaskRegistration ("IntegrityTask")
 
WorkerFactoryStore::Registration
< LaserClient
ecaldqmLaserClientRegistration ("LaserClient")
 
WorkerFactoryStore::Registration
< LaserTask
ecaldqmLaserTaskRegistration ("LaserTask")
 
WorkerFactoryStore::Registration
< LedClient
ecaldqmLedClientRegistration ("LedClient")
 
WorkerFactoryStore::Registration
< LedTask
ecaldqmLedTaskRegistration ("LedTask")
 
WorkerFactoryStore::Registration
< OccupancyClient
ecaldqmOccupancyClientRegistration ("OccupancyClient")
 
WorkerFactoryStore::Registration
< OccupancyTask
ecaldqmOccupancyTaskRegistration ("OccupancyTask")
 
WorkerFactoryStore::Registration
< PedestalClient
ecaldqmPedestalClientRegistration ("PedestalClient")
 
WorkerFactoryStore::Registration
< PedestalTask
ecaldqmPedestalTaskRegistration ("PedestalTask")
 
WorkerFactoryStore::Registration
< PNDiodeTask
ecaldqmPNDiodeTaskRegistration ("PNDiodeTask")
 
WorkerFactoryStore::Registration
< PNIntegrityClient
ecaldqmPNIntegrityClientRegistration ("PNIntegrityClient")
 
WorkerFactoryStore::Registration
< PresampleClient
ecaldqmPresampleClientRegistration ("PresampleClient")
 
WorkerFactoryStore::Registration
< PresampleTask
ecaldqmPresampleTaskRegistration ("PresampleTask")
 
WorkerFactoryStore::Registration
< RawDataClient
ecaldqmRawDataClientRegistration ("RawDataClient")
 
WorkerFactoryStore::Registration
< RawDataTask
ecaldqmRawDataTaskRegistration ("RawDataTask")
 
WorkerFactoryStore::Registration
< RecoSummaryTask
ecaldqmRecoSummaryTaskRegistration ("RecoSummaryTask")
 
WorkerFactoryStore::Registration
< SelectiveReadoutClient
ecaldqmSelectiveReadoutClientRegistration ("SelectiveReadoutClient")
 
WorkerFactoryStore::Registration
< SelectiveReadoutTask
ecaldqmSelectiveReadoutTaskRegistration ("SelectiveReadoutTask")
 
WorkerFactoryStore::Registration
< SummaryClient
ecaldqmSummaryClientRegistration ("SummaryClient")
 
WorkerFactoryStore::Registration
< TestPulseClient
ecaldqmTestPulseClientRegistration ("TestPulseClient")
 
WorkerFactoryStore::Registration
< TestPulseTask
ecaldqmTestPulseTaskRegistration ("TestPulseTask")
 
WorkerFactoryStore::Registration
< TimingClient
ecaldqmTimingClientRegistration ("TimingClient")
 
WorkerFactoryStore::Registration
< TimingTask
ecaldqmTimingTaskRegistration ("TimingTask")
 
WorkerFactoryStore::Registration
< TowerStatusTask
ecaldqmTowerStatusTaskRegistration ("TowerStatusTask")
 
WorkerFactoryStore::Registration
< TrigPrimClient
ecaldqmTrigPrimClientRegistration ("TrigPrimClient")
 
WorkerFactoryStore::Registration
< TrigPrimTask
ecaldqmTrigPrimTaskRegistration ("TrigPrimTask")
 
double const etaBound
 
std::mutex mapMutex
 
unsigned memarr []
 
std::vector< unsigned > const memDCC
 

Typedef Documentation

typedef boost::ptr_map<std::string, MESet> ecaldqm::MESetCollection

Definition at line 326 of file MESet.h.

typedef std::map<DetId, double> ecaldqm::ReturnType

Definition at line 55 of file DBReaderWorkers.cc.

typedef DQWorker*(* ecaldqm::WorkerFactory)()

Definition at line 87 of file DQWorker.h.

Enumeration Type Documentation

Enumerator
kSource 
kEcalRawData 
kEBGainErrors 
kEEGainErrors 
kEBChIdErrors 
kEEChIdErrors 
kEBGainSwitchErrors 
kEEGainSwitchErrors 
kTowerIdErrors 
kBlockSizeErrors 
kMEMTowerIdErrors 
kMEMBlockSizeErrors 
kMEMChIdErrors 
kMEMGainErrors 
kEBSrFlag 
kEESrFlag 
kEBDigi 
kEEDigi 
kPnDiodeDigi 
kTrigPrimDigi 
kTrigPrimEmulDigi 
kEBUncalibRecHit 
kEEUncalibRecHit 
kEBLaserLedUncalibRecHit 
kEELaserLedUncalibRecHit 
kEBTestPulseUncalibRecHit 
kEETestPulseUncalibRecHit 
kEBRecHit 
kEERecHit 
kEBReducedRecHit 
kEEReducedRecHit 
kEBBasicCluster 
kEEBasicCluster 
kEBSuperCluster 
kEESuperCluster 
nCollections 

Definition at line 6 of file Collections.h.

6  {
7  kSource,
21  kEBSrFlag,
22  kEESrFlag,
23  kEBDigi,
24  kEEDigi,
34  kEBRecHit,
35  kEERecHit,
43  };
static const char *const kSource
Enumerator
nDCC 
nEBDCC 
nEEDCC 
nDCCMEM 
nEEDCCMEM 
nTTOuter 
nTTInner 
nTCC 
kEEmTCCLow 
kEEmTCCHigh 
kEEpTCCLow 
kEEpTCCHigh 
kEBTCCLow 
kEBTCCHigh 
nChannels 
nTowers 

Definition at line 39 of file EcalDQMCommonUtils.h.

39  {
40  nDCC = 54,
41  nEBDCC = 36,
42  nEEDCC = 18,
43  nDCCMEM = 44,
44  nEEDCCMEM = 8,
45 
46  nTTOuter = 16,
47  nTTInner = 28,
48  // These lines set the number of TriggerTowers in "outer" and "inner" TCCs,
49  // where "outer" := closer to the barrel. These constants are used in
50  // setting the binning. There are 16 trigger towers per TCC for "outer" TCCs,
51  // and 24 per TCC for "inner" TCCs (but the numbering is from 0 to 27, so
52  // 28 bins are required).
53 
54  nTCC = 108,
55  kEEmTCCLow = 0, kEEmTCCHigh = 35,
56  kEEpTCCLow = 72, kEEpTCCHigh = 107,
57  kEBTCCLow = 36, kEBTCCHigh = 71,
58 
61  };
Enumerator
Enabled 
Disabled 
Timeout 
HeaderError 
ChannelId 
LinkError 
BlockSize 
Suppressed 
FIFOFull 
L1ADesync 
BXDesync 
L1ABXDesync 
FIFOFullL1ADesync 
HParity 
VParity 
ForcedZS 
nFEFlags 

Definition at line 7 of file FEFlags.h.

Enumerator
kBad 
kGood 
kUnknown 
kMBad 
kMGood 
kMUnknown 

Definition at line 55 of file DBWriterWorkers.cc.

Enumerator
kEEm07 
kEEm08 
kEEm09 
kEEm01 
kEEm02 
kEEm03 
kEEm04 
kEEm05 
kEEm06 
kEBm01 
kEBm02 
kEBm03 
kEBm04 
kEBm05 
kEBm06 
kEBm07 
kEBm08 
kEBm09 
kEBm10 
kEBm11 
kEBm12 
kEBm13 
kEBm14 
kEBm15 
kEBm16 
kEBm17 
kEBm18 
kEBp01 
kEBp02 
kEBp03 
kEBp04 
kEBp05 
kEBp06 
kEBp07 
kEBp08 
kEBp09 
kEBp10 
kEBp11 
kEBp12 
kEBp13 
kEBp14 
kEBp15 
kEBp16 
kEBp17 
kEBp18 
kEEp07 
kEEp08 
kEEp09 
kEEp01 
kEEp02 
kEEp03 
kEEp04 
kEEp05 
kEEp06 
kEEmLow 
kEEmHigh 
kEEpLow 
kEEpHigh 
kEBmLow 
kEBmHigh 
kEBpLow 
kEBpHigh 

Definition at line 26 of file EcalDQMCommonUtils.h.

26  {
36  kEBpLow = kEBp01, kEBpHigh = kEBp18
37  };

Function Documentation

bool ecaldqm::ccuExists ( unsigned  _dccId,
unsigned  _towerId 
)

Definition at line 445 of file EcalDQMCommonUtils.cc.

bool ecaldqm::checkElectronicsMap ( bool  _throw = true)
bool ecaldqm::checkGeometry ( bool  _throw = true)
bool ecaldqm::checkTopology ( bool  _throw = true)
bool ecaldqm::checkTrigTowerMap ( bool  _throw = true)
MESet * ecaldqm::createMESet ( edm::ParameterSet const &  _MEParam)

Definition at line 19 of file MESetUtils.cc.

Referenced by ecaldqm::DQWorker::setME().

EcalLogicID ecaldqm::crystalID ( DetId const &  _id)

Definition at line 29 of file LogicIDTranslation.cc.

References dccId(), EBDetId::ic(), ecalpyutils::ism(), EEDetId::ix(), EEDetId::iy(), kEBmHigh, kEBmLow, kEBpLow, kEEpLow, EEDetId::positiveZ(), and EEDetId::zside().

30  {
31  unsigned iDCC(dccId(_id) - 1);
32  if(iDCC <= kEEmHigh || iDCC >= kEEpLow){
33  EEDetId eeid(_id);
34  return EcalLogicID("EE_crystal_number",
35  2010000000UL + 1000000 * (eeid.positiveZ() ? 2 : 0) + 1000 * eeid.ix() + eeid.iy(),
36  eeid.zside(), eeid.ix(), eeid.iy());
37  }
38  else{
39  int ism(iDCC <= kEBmHigh ? 19 + iDCC - kEBmLow : 1 + iDCC - kEBpLow);
40  EBDetId ebid(_id);
41  return EcalLogicID("EB_crystal_number",
42  1011000000UL + 10000 * ism + ebid.ic(),
43  ism, ebid.ic());
44  }
45  }
int ism(int ieta, int iphi)
Definition: EcalPyUtils.cc:56
unsigned dccId(DetId const &)
unsigned ecaldqm::dccId ( DetId const &  _id)
unsigned ecaldqm::dccId ( EcalElectronicsId const &  _id)

Definition at line 40 of file EcalDQMCommonUtils.cc.

unsigned ecaldqm::dccId ( std::string const &  _smName)

Definition at line 316 of file EcalDQMCommonUtils.cc.

EcalLogicID ecaldqm::ecalID ( )

Definition at line 10 of file LogicIDTranslation.cc.

11  {
12  return EcalLogicID("ECAL", 1);
13  }
unsigned ecaldqm::EEPnDCC ( unsigned  _dee,
unsigned  _ab 
)

Definition at line 353 of file EcalDQMCommonUtils.cc.

EcalElectronicsMapping const* ecaldqm::electronicsMap ( )
double ecaldqm::eta ( EBDetId const &  _ebid)

Definition at line 231 of file EcalDQMCommonUtils.cc.

double ecaldqm::eta ( EEDetId const &  _id)

Definition at line 237 of file EcalDQMCommonUtils.cc.

const double ecaldqm::etaBound ( 1.  479)
template<typename DataType >
ReturnType ecaldqm::fetchAndFill ( std::map< std::string, double(*)(DataType const &)> const &  _extractors,
EcalCondDBInterface _db,
MonRunIOV _iov,
std::string const &  _formula 
)

Definition at line 59 of file DBReaderWorkers.cc.

void ecaldqm::fillMESetDescriptions ( edm::ParameterSetDescription _desc)

Definition at line 129 of file MESetUtils.cc.

Referenced by ecaldqm::DQWorker::fillDescriptions().

CaloGeometry const* ecaldqm::geometry ( )
EcalElectronicsMapping const * ecaldqm::getElectronicsMap ( )
CaloGeometry const * ecaldqm::getGeometry ( )

Definition at line 527 of file EcalDQMCommonUtils.cc.

Referenced by TBPositionCalc::CalculateCMSPos().

CaloTopology const * ecaldqm::getTopology ( )

Definition at line 551 of file EcalDQMCommonUtils.cc.

EcalTrigTowerConstituentsMap const * ecaldqm::getTrigTowerMap ( )

Definition at line 503 of file EcalDQMCommonUtils.cc.

std::pair< unsigned, unsigned > ecaldqm::innerTCCs ( unsigned  _dccId)

Definition at line 150 of file EcalDQMCommonUtils.cc.

bool ecaldqm::isCrystalId ( DetId const &  _id)

Definition at line 292 of file EcalDQMCommonUtils.cc.

bool ecaldqm::isEcalScDetId ( DetId const &  _id)

Definition at line 304 of file EcalDQMCommonUtils.cc.

bool ecaldqm::isEndcapTTId ( DetId const &  _id)

Definition at line 310 of file EcalDQMCommonUtils.cc.

bool ecaldqm::isForward ( DetId const &  _id)

Definition at line 276 of file EcalDQMCommonUtils.cc.

Referenced by ecaldqm::PresampleClient::producePlots().

bool ecaldqm::isSingleChannelId ( DetId const &  _id)

Definition at line 298 of file EcalDQMCommonUtils.cc.

EcalLogicID ecaldqm::lmPNID ( EcalPnDiodeDetId const &  _id)

Definition at line 101 of file LogicIDTranslation.cc.

References EcalPnDiodeDetId::iDCCId(), EcalPnDiodeDetId::iPnId(), ecalpyutils::ism(), kEBmHigh, kEBmLow, kEBpLow, and kEEpLow.

102  {
103  unsigned iDCC(_id.iDCCId() - 1);
104  int pnid(_id.iPnId());
105  if(iDCC <= kEEmHigh || iDCC >= kEEpLow){
106  return EcalLogicID("EE_LM_PN",
107  100 * (601 + iDCC) + pnid,
108  601 + iDCC, pnid);
109  }
110  else{
111  int ism(iDCC <= kEBmHigh ? 19 + iDCC - kEBmLow : 1 + iDCC - kEBpLow);
112  return EcalLogicID("EB_LM_PN",
113  1131000000UL + 10000 * ism + pnid,
114  ism, pnid);
115  }
116  }
int ism(int ieta, int iphi)
Definition: EcalPyUtils.cc:56
EcalLogicID ecaldqm::memChannelID ( EcalPnDiodeDetId const &  _id)

Definition at line 65 of file LogicIDTranslation.cc.

References EcalPnDiodeDetId::iDCCId(), EcalPnDiodeDetId::iPnId(), ecalpyutils::ism(), kEBmHigh, kEBmLow, kEBpLow, and kEEpLow.

66  {
67  // using the PN ID degenerates the logic ID - 50 time samples are actually split into 5 channels each
68  unsigned iDCC(_id.iDCCId() - 1);
69  int memId((_id.iPnId() - 1) % 5 + ((_id.iPnId() - 1) / 5) * 25 + 1);
70  if(iDCC <= kEEmHigh || iDCC >= kEEpLow){
71  return EcalLogicID("EE_mem_channel",
72  100 * (601 + iDCC) + memId,
73  601 + iDCC, memId);
74  }
75  else{
76  int ism(iDCC <= kEBmHigh ? 19 + iDCC - kEBmLow : 1 + iDCC - kEBpLow);
77  return EcalLogicID("EB_mem_channel",
78  1191000000UL + 10000 * ism + memId,
79  ism, memId);
80  }
81  }
int ism(int ieta, int iphi)
Definition: EcalPyUtils.cc:56
const std::vector<unsigned> ecaldqm::memDCC ( memarr  ,
memarr+  44 
)
unsigned ecaldqm::memDCCId ( unsigned  _index)

Definition at line 46 of file EcalDQMCommonUtils.cc.

unsigned ecaldqm::memDCCIndex ( unsigned  _dccid)

Definition at line 54 of file EcalDQMCommonUtils.cc.

Referenced by ecaldqm::PNIntegrityClient::producePlots().

EcalLogicID ecaldqm::memTowerID ( EcalElectronicsId const &  _id)

Definition at line 84 of file LogicIDTranslation.cc.

References EcalElectronicsId::dccId(), ecalpyutils::ism(), kEBmHigh, kEBmLow, kEBpLow, kEEpLow, and EcalElectronicsId::towerId().

85  {
86  unsigned iDCC(_id.dccId() - 1);
87  if(iDCC <= kEEmHigh || iDCC >= kEEpLow){
88  return EcalLogicID("EE_mem_TT",
89  100 * (601 + iDCC) + _id.towerId(),
90  601 + iDCC, _id.towerId());
91  }
92  else{
93  int ism(iDCC <= kEBmHigh ? 19 + iDCC - kEBmLow : 1 + iDCC - kEBpLow);
94  return EcalLogicID("EB_mem_TT",
95  1181000000UL + 10000 * ism + _id.towerId(),
96  ism, _id.towerId());
97  }
98  }
int ism(int ieta, int iphi)
Definition: EcalPyUtils.cc:56
unsigned ecaldqm::nCrystals ( unsigned  _dccId)
unsigned ecaldqm::nSuperCrystals ( unsigned  _dccId)

Definition at line 410 of file EcalDQMCommonUtils.cc.

std::pair< unsigned, unsigned > ecaldqm::outerTCCs ( unsigned  _dccId)

Definition at line 171 of file EcalDQMCommonUtils.cc.

double ecaldqm::phi ( EBDetId const &  _ebid)

Definition at line 243 of file EcalDQMCommonUtils.cc.

double ecaldqm::phi ( EEDetId const &  _eeid)

Definition at line 250 of file EcalDQMCommonUtils.cc.

double ecaldqm::phi ( EcalTrigTowerDetId const &  _ttid)

Definition at line 259 of file EcalDQMCommonUtils.cc.

double ecaldqm::phi ( double  _phi)

Definition at line 268 of file EcalDQMCommonUtils.cc.

EcalPnDiodeDetId ecaldqm::pnForCrystal ( DetId const &  _id,
char  _ab 
)

Definition at line 12 of file EcalDQMCommonUtils2.cc.

bool ecaldqm::qualityOK ( int  _quality)

Definition at line 65 of file DBWriterWorkers.cc.

unsigned ecaldqm::rtHalf ( DetId const &  _id)

Definition at line 135 of file EcalDQMCommonUtils.cc.

std::vector< DetId > ecaldqm::scConstituents ( EcalScDetId const &  _scid)

Definition at line 192 of file EcalDQMCommonUtils.cc.

Referenced by ecaldqm::TowerStatusTask::endLuminosityBlock().

void ecaldqm::setElectronicsMap ( EcalElectronicsMapping const *  _map)
void ecaldqm::setGeometry ( CaloGeometry const *  _geom)
void ecaldqm::setTopology ( CaloTopology const *  _geom)
void ecaldqm::setTrigTowerMap ( EcalTrigTowerConstituentsMap const *  _map)
std::string ecaldqm::smName ( unsigned  _dccId)

Definition at line 333 of file EcalDQMCommonUtils.cc.

EcalLogicID ecaldqm::subdetID ( EcalSubdetector  _subdet)

Definition at line 16 of file LogicIDTranslation.cc.

References EcalBarrel, EcalEndcap, and Exception.

17  {
18  switch(_subdet){
19  case EcalBarrel:
20  return EcalLogicID("EB", 1000000000UL);
21  case EcalEndcap:
22  return EcalLogicID("EE", 2000000000UL);
23  default:
24  throw cms::Exception("UndefinedLogicID");
25  }
26  }
unsigned ecaldqm::tccId ( DetId const &  _id)

Definition at line 63 of file EcalDQMCommonUtils.cc.

unsigned ecaldqm::tccId ( EcalElectronicsId const &  _id)

Definition at line 82 of file EcalDQMCommonUtils.cc.

DetId ecaldqm::toDetId ( EcalLogicID const &  _id)

Definition at line 119 of file LogicIDTranslation.cc.

120  {
121  return DetId();
122  }
Definition: DetId.h:18
CaloTopology const* ecaldqm::topology ( )
EcalLogicID ecaldqm::towerID ( EcalElectronicsId const &  _id)

Definition at line 48 of file LogicIDTranslation.cc.

References EcalElectronicsId::dccId(), ecalpyutils::ism(), kEBmHigh, kEBmLow, kEBpLow, kEEpLow, and EcalElectronicsId::towerId().

49  {
50  unsigned iDCC(_id.dccId() - 1);
51  if(iDCC <= kEEmHigh || iDCC >= kEEpLow){
52  return EcalLogicID("EE_readout_tower",
53  2110000000UL + 100 * (601 + iDCC) + _id.towerId(),
54  601 + iDCC, _id.towerId());
55  }
56  else{
57  int ism(iDCC <= kEBmHigh ? 19 + iDCC - kEBmLow : 1 + iDCC - kEBpLow);
58  return EcalLogicID("EB_trigger_tower",
59  1021000000UL + 10000 * ism + _id.towerId(),
60  ism, _id.towerId());
61  }
62  }
int ism(int ieta, int iphi)
Definition: EcalPyUtils.cc:56
unsigned ecaldqm::towerId ( DetId const &  _id)
unsigned ecaldqm::towerId ( EcalElectronicsId const &  _id)

Definition at line 106 of file EcalDQMCommonUtils.cc.

EcalTrigTowerConstituentsMap const* ecaldqm::trigtowerMap ( )
unsigned ecaldqm::ttId ( DetId const &  _id)
unsigned ecaldqm::ttId ( EcalElectronicsId const &  _id)

Definition at line 129 of file EcalDQMCommonUtils.cc.

int ecaldqm::zside ( DetId const &  _id)

Variable Documentation

std::string const ecaldqm::collectionName[nCollections]
WorkerFactoryStore::Registration< CalibrationSummaryClient > ecaldqm::ecaldqmCalibrationSummaryClientRegistration("CalibrationSummaryClient")
WorkerFactoryStore::Registration< CertificationClient > ecaldqm::ecaldqmCertificationClientRegistration("CertificationClient")
WorkerFactoryStore::Registration< ClusterTask > ecaldqm::ecaldqmClusterTaskRegistration("ClusterTask")
WorkerFactoryStore::Registration< EnergyTask > ecaldqm::ecaldqmEnergyTaskRegistration("EnergyTask")
WorkerFactoryStore::Registration< IntegrityClient > ecaldqm::ecaldqmIntegrityClientRegistration("IntegrityClient")
WorkerFactoryStore::Registration< IntegrityTask > ecaldqm::ecaldqmIntegrityTaskRegistration("IntegrityTask")
WorkerFactoryStore::Registration< LaserClient > ecaldqm::ecaldqmLaserClientRegistration("LaserClient")
WorkerFactoryStore::Registration< LaserTask > ecaldqm::ecaldqmLaserTaskRegistration("LaserTask")
WorkerFactoryStore::Registration< LedClient > ecaldqm::ecaldqmLedClientRegistration("LedClient")
WorkerFactoryStore::Registration< LedTask > ecaldqm::ecaldqmLedTaskRegistration("LedTask")
WorkerFactoryStore::Registration< OccupancyClient > ecaldqm::ecaldqmOccupancyClientRegistration("OccupancyClient")
WorkerFactoryStore::Registration< OccupancyTask > ecaldqm::ecaldqmOccupancyTaskRegistration("OccupancyTask")
WorkerFactoryStore::Registration< PedestalClient > ecaldqm::ecaldqmPedestalClientRegistration("PedestalClient")
WorkerFactoryStore::Registration< PedestalTask > ecaldqm::ecaldqmPedestalTaskRegistration("PedestalTask")
WorkerFactoryStore::Registration< PNDiodeTask > ecaldqm::ecaldqmPNDiodeTaskRegistration("PNDiodeTask")
WorkerFactoryStore::Registration< PNIntegrityClient > ecaldqm::ecaldqmPNIntegrityClientRegistration("PNIntegrityClient")
WorkerFactoryStore::Registration< PresampleClient > ecaldqm::ecaldqmPresampleClientRegistration("PresampleClient")
WorkerFactoryStore::Registration< PresampleTask > ecaldqm::ecaldqmPresampleTaskRegistration("PresampleTask")
WorkerFactoryStore::Registration< RawDataClient > ecaldqm::ecaldqmRawDataClientRegistration("RawDataClient")
WorkerFactoryStore::Registration< RawDataTask > ecaldqm::ecaldqmRawDataTaskRegistration("RawDataTask")
WorkerFactoryStore::Registration< RecoSummaryTask > ecaldqm::ecaldqmRecoSummaryTaskRegistration("RecoSummaryTask")
WorkerFactoryStore::Registration< SelectiveReadoutClient > ecaldqm::ecaldqmSelectiveReadoutClientRegistration("SelectiveReadoutClient")
WorkerFactoryStore::Registration< SelectiveReadoutTask > ecaldqm::ecaldqmSelectiveReadoutTaskRegistration("SelectiveReadoutTask")
WorkerFactoryStore::Registration< SummaryClient > ecaldqm::ecaldqmSummaryClientRegistration("SummaryClient")
WorkerFactoryStore::Registration< TestPulseClient > ecaldqm::ecaldqmTestPulseClientRegistration("TestPulseClient")
WorkerFactoryStore::Registration< TestPulseTask > ecaldqm::ecaldqmTestPulseTaskRegistration("TestPulseTask")
WorkerFactoryStore::Registration< TimingClient > ecaldqm::ecaldqmTimingClientRegistration("TimingClient")
WorkerFactoryStore::Registration< TimingTask > ecaldqm::ecaldqmTimingTaskRegistration("TimingTask")
WorkerFactoryStore::Registration< TowerStatusTask > ecaldqm::ecaldqmTowerStatusTaskRegistration("TowerStatusTask")
WorkerFactoryStore::Registration< TrigPrimClient > ecaldqm::ecaldqmTrigPrimClientRegistration("TrigPrimClient")
WorkerFactoryStore::Registration< TrigPrimTask > ecaldqm::ecaldqmTrigPrimTaskRegistration("TrigPrimTask")
double const ecaldqm::etaBound
std::mutex ecaldqm::mapMutex

Definition at line 463 of file EcalDQMCommonUtils.cc.

unsigned ecaldqm::memarr[]
Initial value:

Definition at line 9 of file EcalDQMCommonUtils.cc.

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