CMS 3D CMS Logo

Classes | Typedefs | Enumerations | Functions | Variables
hcaldqm::quantity Namespace Reference

Classes

class  CrateQuantity
 
class  DetectorQuantity
 
class  ElectronicsQuantity
 
class  EventNumber
 
class  EventType
 
class  FEDQuantity
 
class  FlagQuantity
 
class  LumiSection
 
class  LumiSectionCoarse
 
class  Quantity
 
class  RunNumber
 
class  TrigTowerQuantity
 
class  ValueQuantity
 

Typedefs

typedef uint32_t(* getBinType_did) (HcalDetId const &)
 
typedef uint32_t(* getBinType_eid) (HcalElectronicsId const &)
 
typedef uint32_t(* getBinType_tid) (HcalTrigTowerDetId const &)
 
typedef HcalDetId(* getDid_did) (int)
 
typedef HcalElectronicsId(* getEid_eid) (int)
 
typedef std::vector< std::string >(* getLabels_did) ()
 
typedef std::vector< std::string >(* getLabels_eid) ()
 
typedef std::vector< std::string >(* getLabels_tid) ()
 
typedef HcalTrigTowerDetId(* getTid_tid) (int)
 
typedef int(* getValueType_did) (HcalDetId const &)
 
typedef int(* getValueType_eid) (HcalElectronicsId const &)
 
typedef int(* getValueType_tid) (HcalTrigTowerDetId const &)
 

Enumerations

enum  AxisType { fXAxis = 0, fYAxis = 1, fZAxis = 2, nAxisType = 3 }
 
enum  DetectorQuantityType {
  fiphi = 0, fieta = 1, fdepth = 2, fSubdet = 3,
  fSubdetPM = 4, nDetectorQuantityType = 5
}
 
enum  ElectronicsQuantityType {
  fFED = 0, fFEDuTCA = 1, fFEDVME = 2, fCrate = 3,
  fCrateuTCA = 4, fCrateVME = 5, fSlotuTCA = 6, fSlotVME = 7,
  fSpigot = 8, fFiberuTCA = 9, fFiberVME = 10, fFiberCh = 11,
  fFEDuTCASlot = 12, fFEDVMESpigot = 13, fFiberuTCAFiberCh = 14, fFiberVMEFiberCh = 15,
  fSLB = 16, fSLBCh = 17, fSLBSLBCh = 18, fFiberuTCATP = 19,
  fFiberChuTCATP = 20, fFiberuTCATPFiberChuTCATP = 21, nElectronicsQuantityType = 22
}
 
enum  QuantityType {
  fDetectorQuantity = 0, fElectronicsQuantity = 1, fTrigTowerQuantity = 2, fValueQuantity = 3,
  fFlagQuantity = 4, fNone = 5, nQuantityType = 6
}
 
enum  TrigTowerQuantityType {
  fTTiphi = 0, fTTieta = 1, fTTdepth = 2, fTTSubdet = 3,
  fTTSubdetPM = 4, fTTieta2x3 = 5, nTrigTowerQuantityType = 6
}
 
enum  ValueQuantityType {
  fN, fEvents, fEnergy, fTiming_ns,
  fADC_128, fADC_5, fADC_15, ffC_10000,
  ffC_1000, ffC_3000, fTiming_TS, fTiming_TS200,
  fLS, fEt_256, fEt_128, fFG,
  fRatio, fDigiSize, fAroundZero, fRatio2,
  fdEtRatio, fSumdEt, fTiming_100TS, fQIE10ADC_256,
  fQIE10TDC_64, fQIE10TDC_16, fQIE10TDC_4, fDiffAbs,
  fRatio_0to2, fN_to8000, fEnergyTotal, fN_m0to10000,
  fEtCorr_256, fADCCorr_128, fBX, fEnergy_1TeV,
  fState, fQIE10fC_400000, fDataSize, fQIE10fC_2000,
  fQIE10fC_10000, fQIE8fC_1000_50, fTime_ns_250, fADC_256,
  ffC_generic_10000, ffC_generic_400000, fQIE10ADC_16, fDualAnodeAsymmetry,
  fTimingRatio, fQIE10fC_100000Coarse, fBadTDC, fRBX,
  fTimingDiff_ns, ffC_1000000, fTime_ns_250_coarse, fCapidMinusBXmod4,
  fBX_36, fADC_256_4
}
 

Functions

uint32_t getBin_Crate (HcalElectronicsId const &)
 
uint32_t getBin_CrateuTCA (HcalElectronicsId const &)
 
uint32_t getBin_CrateVME (HcalElectronicsId const &)
 
uint32_t getBin_depth (HcalDetId const &)
 
uint32_t getBin_FED (HcalElectronicsId const &)
 
uint32_t getBin_FEDuTCA (HcalElectronicsId const &)
 
uint32_t getBin_FEDuTCASlot (HcalElectronicsId const &)
 
uint32_t getBin_FEDVME (HcalElectronicsId const &)
 
uint32_t getBin_FEDVMESpigot (HcalElectronicsId const &)
 
uint32_t getBin_FiberCh (HcalElectronicsId const &)
 
uint32_t getBin_FiberChuTCATP (HcalElectronicsId const &)
 
uint32_t getBin_FiberuTCA (HcalElectronicsId const &)
 
uint32_t getBin_FiberuTCAFiberCh (HcalElectronicsId const &)
 
uint32_t getBin_FiberuTCATP (HcalElectronicsId const &)
 
uint32_t getBin_FiberuTCATPFiberChuTCATP (HcalElectronicsId const &)
 
uint32_t getBin_FiberVME (HcalElectronicsId const &)
 
uint32_t getBin_FiberVMEFiberCh (HcalElectronicsId const &)
 
uint32_t getBin_ieta (HcalDetId const &)
 
uint32_t getBin_iphi (HcalDetId const &)
 
uint32_t getBin_SLB (HcalElectronicsId const &)
 
uint32_t getBin_SLBCh (HcalElectronicsId const &)
 
uint32_t getBin_SLBSLBCh (HcalElectronicsId const &)
 
uint32_t getBin_SlotuTCA (HcalElectronicsId const &)
 
uint32_t getBin_SlotVME (HcalElectronicsId const &)
 
uint32_t getBin_Spigot (HcalElectronicsId const &)
 
uint32_t getBin_Subdet (HcalDetId const &)
 
uint32_t getBin_SubdetPM (HcalDetId const &)
 
uint32_t getBin_TTdepth (HcalTrigTowerDetId const &)
 
uint32_t getBin_TTieta (HcalTrigTowerDetId const &)
 
uint32_t getBin_TTieta2x3 (HcalTrigTowerDetId const &)
 
uint32_t getBin_TTiphi (HcalTrigTowerDetId const &)
 
uint32_t getBin_TTSubdet (HcalTrigTowerDetId const &)
 
uint32_t getBin_TTSubdetPM (HcalTrigTowerDetId const &)
 
HcalDetId getDid_depth (int)
 
HcalDetId getDid_ieta (int)
 
HcalDetId getDid_iphi (int)
 
HcalDetId getDid_Subdet (int)
 
HcalDetId getDid_SubdetPM (int)
 
HcalElectronicsId getEid_Crate (int)
 
HcalElectronicsId getEid_CrateuTCA (int)
 
HcalElectronicsId getEid_CrateVME (int)
 
HcalElectronicsId getEid_FED (int)
 
HcalElectronicsId getEid_FEDuTCA (int)
 
HcalElectronicsId getEid_FEDuTCASlot (int)
 
HcalElectronicsId getEid_FEDVME (int)
 
HcalElectronicsId getEid_FEDVMESpigot (int)
 
HcalElectronicsId getEid_FiberCh (int)
 
HcalElectronicsId getEid_FiberChuTCATP (int)
 
HcalElectronicsId getEid_FiberuTCA (int)
 
HcalElectronicsId getEid_FiberuTCAFiberCh (int)
 
HcalElectronicsId getEid_FiberuTCATP (int)
 
HcalElectronicsId getEid_FiberuTCATPFiberChuTCATP (int)
 
HcalElectronicsId getEid_FiberVME (int)
 
HcalElectronicsId getEid_FiberVMEFiberCh (int)
 
HcalElectronicsId getEid_SLB (int)
 
HcalElectronicsId getEid_SLBCh (int)
 
HcalElectronicsId getEid_SLBSLBCh (int)
 
HcalElectronicsId getEid_SlotuTCA (int)
 
HcalElectronicsId getEid_SlotVME (int)
 
HcalElectronicsId getEid_Spigot (int)
 
std::vector< std::string > getLabels_Crate ()
 
std::vector< std::string > getLabels_CrateuTCA ()
 
std::vector< std::string > getLabels_CrateVME ()
 
std::vector< std::string > getLabels_depth ()
 
std::vector< std::string > getLabels_FED ()
 
std::vector< std::string > getLabels_FEDuTCA ()
 
std::vector< std::string > getLabels_FEDuTCASlot ()
 
std::vector< std::string > getLabels_FEDVME ()
 
std::vector< std::string > getLabels_FEDVMESpigot ()
 
std::vector< std::string > getLabels_FiberCh ()
 
std::vector< std::string > getLabels_FiberChuTCATP ()
 
std::vector< std::string > getLabels_FiberuTCA ()
 
std::vector< std::string > getLabels_FiberuTCAFiberCh ()
 
std::vector< std::string > getLabels_FiberuTCATP ()
 
std::vector< std::string > getLabels_FiberuTCATPFiberChuTCATP ()
 
std::vector< std::string > getLabels_FiberVME ()
 
std::vector< std::string > getLabels_FiberVMEFiberCh ()
 
std::vector< std::string > getLabels_ieta ()
 
std::vector< std::string > getLabels_iphi ()
 
std::vector< std::string > getLabels_SLB ()
 
std::vector< std::string > getLabels_SLBCh ()
 
std::vector< std::string > getLabels_SLBSLBCh ()
 
std::vector< std::string > getLabels_SlotuTCA ()
 
std::vector< std::string > getLabels_SlotVME ()
 
std::vector< std::string > getLabels_Spigot ()
 
std::vector< std::string > getLabels_Subdet ()
 
std::vector< std::string > getLabels_SubdetPM ()
 
std::vector< std::string > getLabels_TTdepth ()
 
std::vector< std::string > getLabels_TTieta ()
 
std::vector< std::string > getLabels_TTieta2x3 ()
 
std::vector< std::string > getLabels_TTiphi ()
 
std::vector< std::string > getLabels_TTSubdet ()
 
std::vector< std::string > getLabels_TTSubdetPM ()
 
HcalTrigTowerDetId getTid_TTdepth (int)
 
HcalTrigTowerDetId getTid_TTieta (int)
 
HcalTrigTowerDetId getTid_TTieta2x3 (int)
 
HcalTrigTowerDetId getTid_TTiphi (int)
 
HcalTrigTowerDetId getTid_TTSubdet (int)
 
HcalTrigTowerDetId getTid_TTSubdetPM (int)
 
int getValue_Crate (HcalElectronicsId const &)
 
int getValue_CrateuTCA (HcalElectronicsId const &)
 
int getValue_CrateVME (HcalElectronicsId const &)
 
int getValue_depth (HcalDetId const &)
 
int getValue_FED (HcalElectronicsId const &)
 
int getValue_FEDuTCA (HcalElectronicsId const &)
 
int getValue_FEDuTCASlot (HcalElectronicsId const &)
 
int getValue_FEDVME (HcalElectronicsId const &)
 
int getValue_FEDVMESpigot (HcalElectronicsId const &)
 
int getValue_FiberCh (HcalElectronicsId const &)
 
int getValue_FiberChuTCATP (HcalElectronicsId const &)
 
int getValue_FiberuTCA (HcalElectronicsId const &)
 
int getValue_FiberuTCAFiberCh (HcalElectronicsId const &)
 
int getValue_FiberuTCATP (HcalElectronicsId const &)
 
int getValue_FiberuTCATPFiberChuTCATP (HcalElectronicsId const &)
 
int getValue_FiberVME (HcalElectronicsId const &)
 
int getValue_FiberVMEFiberCh (HcalElectronicsId const &)
 
int getValue_ieta (HcalDetId const &)
 
int getValue_iphi (HcalDetId const &)
 
int getValue_SLB (HcalElectronicsId const &)
 
int getValue_SLBCh (HcalElectronicsId const &)
 
int getValue_SLBSLBCh (HcalElectronicsId const &)
 
int getValue_SlotuTCA (HcalElectronicsId const &)
 
int getValue_SlotVME (HcalElectronicsId const &)
 
int getValue_Spigot (HcalElectronicsId const &)
 
int getValue_Subdet (HcalDetId const &)
 
int getValue_SubdetPM (HcalDetId const &)
 
int getValue_TTdepth (HcalTrigTowerDetId const &)
 
int getValue_TTieta (HcalTrigTowerDetId const &)
 
int getValue_TTieta2x3 (HcalTrigTowerDetId const &)
 
int getValue_TTiphi (HcalTrigTowerDetId const &)
 
int getValue_TTSubdet (HcalTrigTowerDetId const &)
 
int getValue_TTSubdetPM (HcalTrigTowerDetId const &)
 

Variables

getBinType_did const getBin_functions_did [nDetectorQuantityType]
 
const std::map< ElectronicsQuantityType, getBinType_eidgetBin_functions_eid
 
getBinType_tid const getBin_functions_tid [nTrigTowerQuantityType]
 
getDid_did const getDid_functions_did [nDetectorQuantityType]
 
const std::map< ElectronicsQuantityType, getEid_eidgetEid_functions_eid
 
getLabels_did const getLabels_functions_did [nDetectorQuantityType]
 
const std::map< ElectronicsQuantityType, getLabels_eidgetLabels_functions_eid
 
getLabels_tid const getLabels_functions_tid [nTrigTowerQuantityType]
 
getTid_tid const getTid_functions_tid [nTrigTowerQuantityType]
 
getValueType_did const getValue_functions_did [nDetectorQuantityType]
 
const std::map< ElectronicsQuantityType, getValueType_eidgetValue_functions_eid
 
getValueType_tid const getValue_functions_tid [nTrigTowerQuantityType]
 
double const max_did [nDetectorQuantityType] = {72.5, 84, 4.5, 4, 8}
 
const std::map< ElectronicsQuantityType, double > max_eid
 
double const max_tid [nTrigTowerQuantityType] = {72.5, 82, 0.5, 2, 4, 8}
 
const std::map< ValueQuantityType, double > max_value
 
double const min_did [nDetectorQuantityType] = {0.5, 0, 0.5, 0, 0}
 
const std::map< ElectronicsQuantityType, double > min_eid
 
double const min_tid [nTrigTowerQuantityType] = {0.5, 0, -0.5, 0, 0, 0}
 
const std::map< ValueQuantityType, double > min_value
 
std::string const name_did [nDetectorQuantityType] = {"iphi", "ieta", "depth", "Subdet", "SubdetPM"}
 
const std::map< ElectronicsQuantityType, std::string > name_eid
 
std::string const name_tid [nTrigTowerQuantityType]
 
const std::map< ValueQuantityType, std::string > name_value
 
int const nbins_did [nDetectorQuantityType] = {72, 84, 4, 4, 8}
 
const std::map< ElectronicsQuantityType, double > nbins_eid
 
int const nbins_tid [nTrigTowerQuantityType] = {72, 82, 1, 2, 4, 8}
 
const std::map< ValueQuantityType, int > nbins_value
 

Typedef Documentation

typedef uint32_t(* hcaldqm::quantity::getBinType_did) (HcalDetId const &)

Definition at line 43 of file DetectorQuantity.h.

typedef uint32_t(* hcaldqm::quantity::getBinType_eid) (HcalElectronicsId const &)

Definition at line 137 of file ElectronicsQuantity.h.

typedef uint32_t(* hcaldqm::quantity::getBinType_tid) (HcalTrigTowerDetId const &)

Definition at line 49 of file TrigTowerQuantity.h.

typedef HcalDetId(* hcaldqm::quantity::getDid_did) (int)

Definition at line 44 of file DetectorQuantity.h.

typedef HcalElectronicsId(* hcaldqm::quantity::getEid_eid) (int)

Definition at line 138 of file ElectronicsQuantity.h.

typedef std::vector<std::string>(* hcaldqm::quantity::getLabels_did) ()

Definition at line 45 of file DetectorQuantity.h.

typedef std::vector<std::string>(* hcaldqm::quantity::getLabels_eid) ()

Definition at line 139 of file ElectronicsQuantity.h.

typedef std::vector<std::string>(* hcaldqm::quantity::getLabels_tid) ()

Definition at line 51 of file TrigTowerQuantity.h.

typedef HcalTrigTowerDetId(* hcaldqm::quantity::getTid_tid) (int)

Definition at line 50 of file TrigTowerQuantity.h.

typedef int(* hcaldqm::quantity::getValueType_did) (HcalDetId const &)

Definition at line 42 of file DetectorQuantity.h.

typedef int(* hcaldqm::quantity::getValueType_eid) (HcalElectronicsId const &)

Definition at line 136 of file ElectronicsQuantity.h.

typedef int(* hcaldqm::quantity::getValueType_tid) (HcalTrigTowerDetId const &)

Definition at line 48 of file TrigTowerQuantity.h.

Enumeration Type Documentation

Enumerator
fXAxis 
fYAxis 
fZAxis 
nAxisType 

Definition at line 25 of file Quantity.h.

Enumerator
fiphi 
fieta 
fdepth 
fSubdet 
fSubdetPM 
nDetectorQuantityType 

Definition at line 13 of file DetectorQuantity.h.

Enumerator
fFED 
fFEDuTCA 
fFEDVME 
fCrate 
fCrateuTCA 
fCrateVME 
fSlotuTCA 
fSlotVME 
fSpigot 
fFiberuTCA 
fFiberVME 
fFiberCh 
fFEDuTCASlot 
fFEDVMESpigot 
fFiberuTCAFiberCh 
fFiberVMEFiberCh 
fSLB 
fSLBCh 
fSLBSLBCh 
fFiberuTCATP 
fFiberChuTCATP 
fFiberuTCATPFiberChuTCATP 
nElectronicsQuantityType 

Definition at line 14 of file ElectronicsQuantity.h.

14  {
15  fFED = 0,
16  fFEDuTCA = 1,
17  fFEDVME = 2,
18  fCrate = 3,
19  fCrateuTCA = 4,
20  fCrateVME = 5,
21  fSlotuTCA = 6,
22  fSlotVME = 7,
23  fSpigot = 8,
24  fFiberuTCA = 9,
25  fFiberVME = 10,
26  fFiberCh = 11,
27 
28  // Complex Quantities
29  fFEDuTCASlot = 12,
30  fFEDVMESpigot = 13,
31  fFiberuTCAFiberCh = 14,
32  fFiberVMEFiberCh = 15,
33 
34  // Adding Trigger Quantities for VME
35  fSLB = 16,
36  fSLBCh = 17,
37  fSLBSLBCh = 18,
38 
39  // Adding Trigger Quantities for uTCA
40  fFiberuTCATP = 19,
41  fFiberChuTCATP = 20,
43 
45  };
Enumerator
fDetectorQuantity 
fElectronicsQuantity 
fTrigTowerQuantity 
fValueQuantity 
fFlagQuantity 
fNone 
nQuantityType 

Definition at line 15 of file Quantity.h.

Enumerator
fTTiphi 
fTTieta 
fTTdepth 
fTTSubdet 
fTTSubdetPM 
fTTieta2x3 
nTrigTowerQuantityType 

Definition at line 13 of file TrigTowerQuantity.h.

Enumerator
fN 
fEvents 
fEnergy 
fTiming_ns 
fADC_128 
fADC_5 
fADC_15 
ffC_10000 
ffC_1000 
ffC_3000 
fTiming_TS 
fTiming_TS200 
fLS 
fEt_256 
fEt_128 
fFG 
fRatio 
fDigiSize 
fAroundZero 
fRatio2 
fdEtRatio 
fSumdEt 
fTiming_100TS 
fQIE10ADC_256 
fQIE10TDC_64 
fQIE10TDC_16 
fQIE10TDC_4 
fDiffAbs 
fRatio_0to2 
fN_to8000 
fEnergyTotal 
fN_m0to10000 
fEtCorr_256 
fADCCorr_128 
fBX 
fEnergy_1TeV 
fState 
fQIE10fC_400000 
fDataSize 
fQIE10fC_2000 
fQIE10fC_10000 
fQIE8fC_1000_50 
fTime_ns_250 
fADC_256 
ffC_generic_10000 
ffC_generic_400000 
fQIE10ADC_16 
fDualAnodeAsymmetry 
fTimingRatio 
fQIE10fC_100000Coarse 
fBadTDC 
fRBX 
fTimingDiff_ns 
ffC_1000000 
fTime_ns_250_coarse 
fCapidMinusBXmod4 
fBX_36 
fADC_256_4 

Definition at line 10 of file ValueQuantity.h.

10  {
11  fN,
12  fEvents,
13  fEnergy,
14  fTiming_ns,
15  fADC_128,
16  fADC_5,
17  fADC_15,
18  ffC_10000,
19  ffC_1000,
20  ffC_3000,
21  fTiming_TS,
23  fLS,
24  fEt_256,
25  fEt_128,
26  fFG,
27  fRatio,
28  fDigiSize,
30  fRatio2,
31  fdEtRatio,
32  fSumdEt,
38  fDiffAbs,
40  fN_to8000,
45  fBX,
47  fState,
49  fDataSize,
54  fADC_256,
61  fBadTDC,
62  fRBX,
67  fBX_36,
68  fADC_256_4, // ADC from 0-255, with 4 ADC granularity
69  };

Function Documentation

uint32_t hcaldqm::quantity::getBin_Crate ( HcalElectronicsId const &  eid)

Definition at line 121 of file ElectronicsQuantity.cc.

References getValue_Crate().

121 { return (uint32_t)(getValue_Crate(eid) + 1); }
int getValue_Crate(HcalElectronicsId const &)
uint32_t hcaldqm::quantity::getBin_CrateuTCA ( HcalElectronicsId const &  eid)

Definition at line 123 of file ElectronicsQuantity.cc.

References getValue_CrateuTCA().

123 { return (uint32_t)(getValue_CrateuTCA(eid) + 1); }
int getValue_CrateuTCA(HcalElectronicsId const &)
uint32_t hcaldqm::quantity::getBin_CrateVME ( HcalElectronicsId const &  eid)

Definition at line 125 of file ElectronicsQuantity.cc.

References getValue_CrateVME().

125 { return (uint32_t)(getValue_CrateVME(eid) + 1); }
int getValue_CrateVME(HcalElectronicsId const &)
uint32_t hcaldqm::quantity::getBin_depth ( HcalDetId const &  did)

Definition at line 29 of file DetectorQuantity.cc.

References HcalDetId::depth(), HcalOuter, and HcalDetId::subdet().

29  { //return (uint32_t)(did.depth());}
30  return (uint32_t)(did.subdet() == HcalOuter ? 7 : did.depth());
31  }
uint32_t hcaldqm::quantity::getBin_FED ( HcalElectronicsId const &  eid)

Definition at line 115 of file ElectronicsQuantity.cc.

References getValue_FED().

115 { return (uint32_t)(getValue_FED(eid) + 1); }
int getValue_FED(HcalElectronicsId const &)
uint32_t hcaldqm::quantity::getBin_FEDuTCA ( HcalElectronicsId const &  eid)

Definition at line 117 of file ElectronicsQuantity.cc.

References getValue_FEDuTCA().

117 { return (uint32_t)(getValue_FEDuTCA(eid) + 1); }
int getValue_FEDuTCA(HcalElectronicsId const &)
uint32_t hcaldqm::quantity::getBin_FEDuTCASlot ( HcalElectronicsId const &  eid)

Definition at line 139 of file ElectronicsQuantity.cc.

References getValue_FEDuTCASlot().

139 { return (uint32_t)(getValue_FEDuTCASlot(eid) + 1); }
int getValue_FEDuTCASlot(HcalElectronicsId const &)
uint32_t hcaldqm::quantity::getBin_FEDVME ( HcalElectronicsId const &  eid)

Definition at line 119 of file ElectronicsQuantity.cc.

References getValue_FEDVME().

119 { return (uint32_t)(getValue_FEDVME(eid) + 1); }
int getValue_FEDVME(HcalElectronicsId const &)
uint32_t hcaldqm::quantity::getBin_FEDVMESpigot ( HcalElectronicsId const &  eid)

Definition at line 141 of file ElectronicsQuantity.cc.

References getValue_FEDVMESpigot().

141 { return (uint32_t)(getValue_FEDVMESpigot(eid) + 1); }
int getValue_FEDVMESpigot(HcalElectronicsId const &)
uint32_t hcaldqm::quantity::getBin_FiberCh ( HcalElectronicsId const &  eid)

Definition at line 137 of file ElectronicsQuantity.cc.

References getValue_FiberCh().

137 { return (uint32_t)(getValue_FiberCh(eid) + 1); }
int getValue_FiberCh(HcalElectronicsId const &)
uint32_t hcaldqm::quantity::getBin_FiberChuTCATP ( HcalElectronicsId const &  eid)

Definition at line 159 of file ElectronicsQuantity.cc.

References getValue_FiberChuTCATP().

159 { return (uint32_t)(getValue_FiberChuTCATP(eid) + 1); }
int getValue_FiberChuTCATP(HcalElectronicsId const &)
uint32_t hcaldqm::quantity::getBin_FiberuTCA ( HcalElectronicsId const &  eid)

Definition at line 133 of file ElectronicsQuantity.cc.

References getValue_FiberuTCA().

133 { return (uint32_t)(getValue_FiberuTCA(eid) + 1); }
int getValue_FiberuTCA(HcalElectronicsId const &)
uint32_t hcaldqm::quantity::getBin_FiberuTCAFiberCh ( HcalElectronicsId const &  eid)

Definition at line 143 of file ElectronicsQuantity.cc.

References getValue_FiberuTCAFiberCh().

143  {
144  return (uint32_t)(getValue_FiberuTCAFiberCh(eid) + 1);
145  }
int getValue_FiberuTCAFiberCh(HcalElectronicsId const &)
uint32_t hcaldqm::quantity::getBin_FiberuTCATP ( HcalElectronicsId const &  eid)

Definition at line 157 of file ElectronicsQuantity.cc.

References getValue_FiberuTCATP().

157 { return (uint32_t)(getValue_FiberuTCATP(eid) + 1); }
int getValue_FiberuTCATP(HcalElectronicsId const &)
uint32_t hcaldqm::quantity::getBin_FiberuTCATPFiberChuTCATP ( HcalElectronicsId const &  eid)

Definition at line 161 of file ElectronicsQuantity.cc.

References getValue_FiberuTCATPFiberChuTCATP().

161  {
162  return (uint32_t)(getValue_FiberuTCATPFiberChuTCATP(eid) + 1);
163  }
int getValue_FiberuTCATPFiberChuTCATP(HcalElectronicsId const &)
uint32_t hcaldqm::quantity::getBin_FiberVME ( HcalElectronicsId const &  eid)

Definition at line 135 of file ElectronicsQuantity.cc.

References getValue_FiberVME().

135 { return (uint32_t)(getValue_FiberVME(eid) + 1); }
int getValue_FiberVME(HcalElectronicsId const &)
uint32_t hcaldqm::quantity::getBin_FiberVMEFiberCh ( HcalElectronicsId const &  eid)

Definition at line 147 of file ElectronicsQuantity.cc.

References getValue_FiberVMEFiberCh().

147  {
148  return (uint32_t)(getValue_FiberVMEFiberCh(eid) + 1);
149  }
int getValue_FiberVMEFiberCh(HcalElectronicsId const &)
uint32_t hcaldqm::quantity::getBin_ieta ( HcalDetId const &  did)

Definition at line 27 of file DetectorQuantity.cc.

References getValue_ieta().

27 { return (uint32_t)(getValue_ieta(did) + 1); }
int getValue_ieta(HcalDetId const &)
uint32_t hcaldqm::quantity::getBin_iphi ( HcalDetId const &  did)

Definition at line 25 of file DetectorQuantity.cc.

References HcalDetId::iphi().

25 { return (uint32_t)(did.iphi()); }
uint32_t hcaldqm::quantity::getBin_SLB ( HcalElectronicsId const &  eid)

Definition at line 151 of file ElectronicsQuantity.cc.

References getValue_SLB().

151 { return (uint32_t)(getValue_SLB(eid) + 1); }
int getValue_SLB(HcalElectronicsId const &)
uint32_t hcaldqm::quantity::getBin_SLBCh ( HcalElectronicsId const &  eid)

Definition at line 153 of file ElectronicsQuantity.cc.

References getValue_SLBCh().

153 { return (uint32_t)(getValue_SLBCh(eid) + 1); }
int getValue_SLBCh(HcalElectronicsId const &)
uint32_t hcaldqm::quantity::getBin_SLBSLBCh ( HcalElectronicsId const &  eid)

Definition at line 155 of file ElectronicsQuantity.cc.

References getValue_SLBSLBCh().

155 { return (uint32_t)(getValue_SLBSLBCh(eid) + 1); }
int getValue_SLBSLBCh(HcalElectronicsId const &)
uint32_t hcaldqm::quantity::getBin_SlotuTCA ( HcalElectronicsId const &  eid)

Definition at line 127 of file ElectronicsQuantity.cc.

References getValue_SlotuTCA().

127 { return (uint32_t)(getValue_SlotuTCA(eid) + 1); }
int getValue_SlotuTCA(HcalElectronicsId const &)
uint32_t hcaldqm::quantity::getBin_SlotVME ( HcalElectronicsId const &  eid)

Definition at line 129 of file ElectronicsQuantity.cc.

References getValue_SlotVME().

129 { return (uint32_t)(getValue_SlotVME(eid) + 1); }
int getValue_SlotVME(HcalElectronicsId const &)
uint32_t hcaldqm::quantity::getBin_Spigot ( HcalElectronicsId const &  eid)

Definition at line 131 of file ElectronicsQuantity.cc.

References getValue_Spigot().

131 { return (uint32_t)(getValue_Spigot(eid) + 1); }
int getValue_Spigot(HcalElectronicsId const &)
uint32_t hcaldqm::quantity::getBin_Subdet ( HcalDetId const &  did)

Definition at line 33 of file DetectorQuantity.cc.

References HcalDetId::subdet().

33 { return (uint32_t)(did.subdet()); }
uint32_t hcaldqm::quantity::getBin_SubdetPM ( HcalDetId const &  did)

Definition at line 35 of file DetectorQuantity.cc.

References getValue_SubdetPM().

35 { return (uint32_t)(getValue_SubdetPM(did) + 1); }
int getValue_SubdetPM(HcalDetId const &)
uint32_t hcaldqm::quantity::getBin_TTdepth ( HcalTrigTowerDetId const &  tid)

Definition at line 26 of file TrigTowerQuantity.cc.

References getValue_TTdepth().

26 { return (uint32_t)(getValue_TTdepth(tid) + 1); }
int getValue_TTdepth(HcalTrigTowerDetId const &)
uint32_t hcaldqm::quantity::getBin_TTieta ( HcalTrigTowerDetId const &  tid)

Definition at line 24 of file TrigTowerQuantity.cc.

References getValue_TTieta().

24 { return (uint32_t)(getValue_TTieta(tid) + 1); }
int getValue_TTieta(HcalTrigTowerDetId const &)
uint32_t hcaldqm::quantity::getBin_TTieta2x3 ( HcalTrigTowerDetId const &  tid)

Definition at line 32 of file TrigTowerQuantity.cc.

References getValue_TTieta2x3().

32 { return (uint32_t)(getValue_TTieta2x3(tid) + 1); }
int getValue_TTieta2x3(HcalTrigTowerDetId const &)
uint32_t hcaldqm::quantity::getBin_TTiphi ( HcalTrigTowerDetId const &  tid)

Definition at line 22 of file TrigTowerQuantity.cc.

References getValue_TTiphi().

22 { return (uint32_t)(getValue_TTiphi(tid)); }
int getValue_TTiphi(HcalTrigTowerDetId const &)
uint32_t hcaldqm::quantity::getBin_TTSubdet ( HcalTrigTowerDetId const &  tid)

Definition at line 28 of file TrigTowerQuantity.cc.

References getValue_TTSubdet().

28 { return (uint32_t)(getValue_TTSubdet(tid) + 1); }
int getValue_TTSubdet(HcalTrigTowerDetId const &)
uint32_t hcaldqm::quantity::getBin_TTSubdetPM ( HcalTrigTowerDetId const &  tid)

Definition at line 30 of file TrigTowerQuantity.cc.

References getValue_TTSubdetPM().

30 { return (uint32_t)(getValue_TTSubdetPM(tid) + 1); }
int getValue_TTSubdetPM(HcalTrigTowerDetId const &)
HcalDetId hcaldqm::quantity::getDid_depth ( int  v)

Definition at line 43 of file DetectorQuantity.cc.

References HcalBarrel.

HcalDetId hcaldqm::quantity::getDid_ieta ( int  v)

Definition at line 39 of file DetectorQuantity.cc.

References HcalBarrel.

Referenced by getLabels_ieta().

39  {
40  return HcalDetId(HcalBarrel, v <= 41 ? (v <= 12 ? v - 41 : v - 42) : (v >= 71 ? v - 42 : v - 41), 1, 1);
41  }
HcalDetId hcaldqm::quantity::getDid_iphi ( int  v)

Definition at line 37 of file DetectorQuantity.cc.

References HcalBarrel.

HcalDetId hcaldqm::quantity::getDid_Subdet ( int  v)

Definition at line 45 of file DetectorQuantity.cc.

45 { return HcalDetId((HcalSubdetector)(v + 1), 1, 1, 1); }
HcalSubdetector
Definition: HcalAssistant.h:31
HcalDetId hcaldqm::quantity::getDid_SubdetPM ( int  v)

Definition at line 47 of file DetectorQuantity.cc.

47 { return HcalDetId((HcalSubdetector)(v / 2 + 1), v % 2 == 0 ? 1 : -1, 1, 1); }
HcalSubdetector
Definition: HcalAssistant.h:31
HcalElectronicsId hcaldqm::quantity::getEid_Crate ( int  v)
HcalElectronicsId hcaldqm::quantity::getEid_CrateuTCA ( int  v)
HcalElectronicsId hcaldqm::quantity::getEid_CrateVME ( int  v)
HcalElectronicsId hcaldqm::quantity::getEid_FED ( int  v)

Definition at line 165 of file ElectronicsQuantity.cc.

References hcaldqm::utilities::fed2crate(), hcaldqm::constants::FED_VME_NUM, hcaldqm::constants::FIBER_uTCA_MIN1, hcaldqm::constants::FIBER_VME_MIN, hcaldqm::constants::FIBERCH_MIN, plotBeamSpotDB::first, edm::second(), and hcaldqm::constants::SPIGOT_MIN.

Referenced by getLabels_FED().

165  {
167  : HcalElectronicsId(utilities::fed2crate(v - FED_VME_NUM + 1100).first,
170  FIBERCH_MIN,
171  false);
172  }
std::pair< uint16_t, uint16_t > fed2crate(int fed)
Definition: Utilities.cc:10
int const SPIGOT_MIN
Definition: Constants.h:108
int const FIBER_VME_MIN
Definition: Constants.h:113
int const FIBERCH_MIN
Definition: Constants.h:122
U second(std::pair< T, U > const &p)
int const FIBER_uTCA_MIN1
Definition: Constants.h:116
int const FED_VME_NUM
Definition: Constants.h:73
Readout chain identification for Hcal.
HcalElectronicsId hcaldqm::quantity::getEid_FEDuTCA ( int  v)

Definition at line 176 of file ElectronicsQuantity.cc.

References hcaldqm::utilities::fed2crate(), hcaldqm::constants::FED_VME_NUM, hcaldqm::constants::FIBER_uTCA_MIN1, hcaldqm::constants::FIBERCH_MIN, plotBeamSpotDB::first, and edm::second().

Referenced by getEid_FEDuTCASlot(), and getLabels_FEDuTCA().

176  {
180  FIBERCH_MIN,
181  false);
182  }
std::pair< uint16_t, uint16_t > fed2crate(int fed)
Definition: Utilities.cc:10
int const FIBERCH_MIN
Definition: Constants.h:122
U second(std::pair< T, U > const &p)
int const FIBER_uTCA_MIN1
Definition: Constants.h:116
int const FED_VME_NUM
Definition: Constants.h:73
Readout chain identification for Hcal.
HcalElectronicsId hcaldqm::quantity::getEid_FEDuTCASlot ( int  v)

Definition at line 226 of file ElectronicsQuantity.cc.

References HcalElectronicsId::crateId(), hcaldqm::constants::FIBER_uTCA_MIN1, hcaldqm::constants::FIBERCH_MIN, getEid_FEDuTCA(), getEid_SlotuTCA(), HcalElectronicsId::slot(), and hcaldqm::constants::SLOT_uTCA_NUM.

Referenced by getLabels_FEDuTCASlot().

226  {
229  return HcalElectronicsId(fedeid.crateId(), sloteid.slot(), FIBER_uTCA_MIN1, FIBERCH_MIN, false);
230  }
int const FIBERCH_MIN
Definition: Constants.h:122
HcalElectronicsId getEid_SlotuTCA(int)
HcalElectronicsId getEid_FEDuTCA(int)
int const FIBER_uTCA_MIN1
Definition: Constants.h:116
constexpr int crateId() const
get the readout VME crate number
constexpr int slot() const
get the htr or uHTR slot
int const SLOT_uTCA_NUM
Definition: Constants.h:98
Readout chain identification for Hcal.
HcalElectronicsId hcaldqm::quantity::getEid_FEDVME ( int  v)
HcalElectronicsId hcaldqm::quantity::getEid_FEDVMESpigot ( int  v)

Definition at line 232 of file ElectronicsQuantity.cc.

References HcalElectronicsId::dccid(), hcaldqm::constants::FIBER_VME_MIN, hcaldqm::constants::FIBERCH_MIN, getEid_FEDVME(), getEid_Spigot(), HcalElectronicsId::spigot(), and hcaldqm::constants::SPIGOT_NUM.

Referenced by getLabels_FEDVMESpigot().

232  {
235  return HcalElectronicsId(FIBERCH_MIN, FIBER_VME_MIN, spid.spigot(), fedeid.dccid());
236  }
constexpr int dccid() const
get the (Hcal local) DCC id for VME, crate number for uTCA
int const FIBER_VME_MIN
Definition: Constants.h:113
int const FIBERCH_MIN
Definition: Constants.h:122
HcalElectronicsId getEid_Spigot(int)
constexpr int spigot() const
get the spigot (input number on DCC, AMC card number for uTCA)
int const SPIGOT_NUM
Definition: Constants.h:110
Readout chain identification for Hcal.
HcalElectronicsId getEid_FEDVME(int)
HcalElectronicsId hcaldqm::quantity::getEid_FiberCh ( int  v)
HcalElectronicsId hcaldqm::quantity::getEid_FiberChuTCATP ( int  v)
HcalElectronicsId hcaldqm::quantity::getEid_FiberuTCA ( int  v)
HcalElectronicsId hcaldqm::quantity::getEid_FiberuTCAFiberCh ( int  v)

Definition at line 238 of file ElectronicsQuantity.cc.

References hcaldqm::constants::CRATE_uTCA_MIN, hcaldqm::constants::FIBERCH_NUM, HcalElectronicsId::fiberChanId(), HcalElectronicsId::fiberIndex(), getEid_FiberCh(), getEid_FiberuTCA(), and hcaldqm::constants::SLOT_uTCA_MIN.

Referenced by getLabels_FiberuTCAFiberCh().

238  {
241  return HcalElectronicsId(CRATE_uTCA_MIN, SLOT_uTCA_MIN, fibereid.fiberIndex(), fcheid.fiberChanId(), false);
242  }
int const FIBERCH_NUM
Definition: Constants.h:124
HcalElectronicsId getEid_FiberuTCA(int)
int const CRATE_uTCA_MIN
Definition: Constants.h:88
constexpr int fiberIndex() const
get the fiber index. For VME 1-8 (which of eight fibers carried by a spigot), for uTCA fibers are zer...
HcalElectronicsId getEid_FiberCh(int)
constexpr int fiberChanId() const
get the fiber channel id (which of channels on a fiber)
Readout chain identification for Hcal.
int const SLOT_uTCA_MIN
Definition: Constants.h:95
HcalElectronicsId hcaldqm::quantity::getEid_FiberuTCATP ( int  v)
HcalElectronicsId hcaldqm::quantity::getEid_FiberuTCATPFiberChuTCATP ( int  v)

Definition at line 278 of file ElectronicsQuantity.cc.

References hcaldqm::constants::CRATE_uTCA_MIN, HcalElectronicsId::fiberChanId(), HcalElectronicsId::fiberIndex(), getEid_FiberChuTCATP(), getEid_FiberuTCATP(), hcaldqm::constants::SLOT_uTCA_MIN, and hcaldqm::constants::TPFIBERCH_NUM.

Referenced by getLabels_FiberuTCATPFiberChuTCATP().

278  {
281  return HcalElectronicsId(CRATE_uTCA_MIN, SLOT_uTCA_MIN, fibeid.fiberIndex(), fibcheid.fiberChanId(), true);
282  }
int const CRATE_uTCA_MIN
Definition: Constants.h:88
constexpr int fiberIndex() const
get the fiber index. For VME 1-8 (which of eight fibers carried by a spigot), for uTCA fibers are zer...
HcalElectronicsId getEid_FiberChuTCATP(int)
constexpr int fiberChanId() const
get the fiber channel id (which of channels on a fiber)
int const TPFIBERCH_NUM
Definition: Constants.h:141
HcalElectronicsId getEid_FiberuTCATP(int)
Readout chain identification for Hcal.
int const SLOT_uTCA_MIN
Definition: Constants.h:95
HcalElectronicsId hcaldqm::quantity::getEid_FiberVME ( int  v)
HcalElectronicsId hcaldqm::quantity::getEid_FiberVMEFiberCh ( int  v)

Definition at line 244 of file ElectronicsQuantity.cc.

References hcaldqm::constants::CRATE_VME_MIN, hcaldqm::constants::FIBERCH_NUM, HcalElectronicsId::fiberChanId(), HcalElectronicsId::fiberIndex(), getEid_FiberCh(), getEid_FiberVME(), and hcaldqm::constants::SPIGOT_MIN.

Referenced by getLabels_FiberVMEFiberCh().

244  {
247  return HcalElectronicsId(fcheid.fiberChanId(), fibereid.fiberIndex(), SPIGOT_MIN, CRATE_VME_MIN);
248  }
int const CRATE_VME_MIN
Definition: Constants.h:83
int const FIBERCH_NUM
Definition: Constants.h:124
int const SPIGOT_MIN
Definition: Constants.h:108
HcalElectronicsId getEid_FiberVME(int)
constexpr int fiberIndex() const
get the fiber index. For VME 1-8 (which of eight fibers carried by a spigot), for uTCA fibers are zer...
HcalElectronicsId getEid_FiberCh(int)
constexpr int fiberChanId() const
get the fiber channel id (which of channels on a fiber)
Readout chain identification for Hcal.
HcalElectronicsId hcaldqm::quantity::getEid_SLB ( int  v)
HcalElectronicsId hcaldqm::quantity::getEid_SLBCh ( int  v)
HcalElectronicsId hcaldqm::quantity::getEid_SLBSLBCh ( int  v)

Definition at line 258 of file ElectronicsQuantity.cc.

References hcaldqm::constants::CRATE_VME_MIN, getEid_SLB(), getEid_SLBCh(), hcaldqm::constants::SLBCH_NUM, HcalElectronicsId::slbChannelIndex(), HcalElectronicsId::slbSiteNumber(), hcaldqm::constants::SLOT_VME_MIN1, and hcaldqm::constants::SPIGOT_MIN.

Referenced by getLabels_SLBSLBCh().

258  {
261  return HcalElectronicsId(slbcheid.slbChannelIndex(),
262  slbeid.slbSiteNumber(),
263  SPIGOT_MIN,
267  0);
268  }
HcalElectronicsId getEid_SLB(int)
int const CRATE_VME_MIN
Definition: Constants.h:83
int const SPIGOT_MIN
Definition: Constants.h:108
constexpr int slbChannelIndex() const
get the SLB channel index (valid only for VME trigger-chain ids)
int const SLOT_VME_MIN1
Definition: Constants.h:100
HcalElectronicsId getEid_SLBCh(int)
int const SLBCH_NUM
Definition: Constants.h:137
constexpr int slbSiteNumber() const
get the SLB site number (valid only for VME trigger-chain ids)
Readout chain identification for Hcal.
HcalElectronicsId hcaldqm::quantity::getEid_SlotuTCA ( int  v)
HcalElectronicsId hcaldqm::quantity::getEid_SlotVME ( int  v)
HcalElectronicsId hcaldqm::quantity::getEid_Spigot ( int  v)
std::vector< std::string > hcaldqm::quantity::getLabels_Crate ( )

Definition at line 316 of file ElectronicsQuantity.cc.

References hcaldqm::constants::crateList, runTauDisplay::eid, getEid_Crate(), HcalElectronicsId::isVMEid(), tablePrinter::labels, dataset::name, and AlCaHLTBitMon_QueryRunRegistry::string.

316  {
317  std::vector<std::string> labels;
318  char name[10];
319  for (auto &it_crate : hcaldqm::constants::crateList) {
320  HcalElectronicsId eid = getEid_Crate(it_crate);
321  sprintf(name, "%d%c", it_crate, eid.isVMEid() ? 'v' : 'u');
322  labels.push_back(std::string(name));
323  }
324  return labels;
325  }
constexpr bool isVMEid() const
std::vector< unsigned int > const crateList
Definition: Constants.h:62
HcalElectronicsId getEid_Crate(int)
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_CrateuTCA ( )

Definition at line 337 of file ElectronicsQuantity.cc.

References hcaldqm::constants::crateListuTCA, tablePrinter::labels, dataset::name, and AlCaHLTBitMon_QueryRunRegistry::string.

337  {
338  std::vector<std::string> labels;
339  char name[10];
340  for (auto &it_crate : hcaldqm::constants::crateListuTCA) {
341  sprintf(name, "%du", it_crate);
342  labels.push_back(std::string(name));
343  }
344  return labels;
345  }
std::vector< unsigned int > const crateListuTCA
Definition: Constants.h:63
std::vector< std::string > hcaldqm::quantity::getLabels_CrateVME ( )

Definition at line 327 of file ElectronicsQuantity.cc.

References hcaldqm::constants::crateListVME, tablePrinter::labels, dataset::name, and AlCaHLTBitMon_QueryRunRegistry::string.

327  {
328  std::vector<std::string> labels;
329  char name[10];
330  for (auto &it_crate : hcaldqm::constants::crateListVME) {
331  sprintf(name, "%dv", it_crate);
332  labels.push_back(std::string(name));
333  }
334  return labels;
335  }
std::vector< unsigned int > const crateListVME
Definition: Constants.h:64
std::vector< std::string > hcaldqm::quantity::getLabels_depth ( )

Definition at line 61 of file DetectorQuantity.cc.

61 { return std::vector<std::string>(); }
std::vector< std::string > hcaldqm::quantity::getLabels_FED ( )

Definition at line 284 of file ElectronicsQuantity.cc.

References hcaldqm::utilities::crate2fed(), HcalElectronicsId::crateId(), HcalElectronicsId::dccid(), runTauDisplay::eid, hcaldqm::constants::FED_TOTAL_NUM, getEid_FED(), mps_fire::i, HcalElectronicsId::isVMEid(), tablePrinter::labels, dataset::name, HcalElectronicsId::slot(), and AlCaHLTBitMon_QueryRunRegistry::string.

284  {
285  std::vector<std::string> labels;
286  char name[10];
287  for (int i = 0; i < FED_TOTAL_NUM; i++) {
289  sprintf(name, "%d", eid.isVMEid() ? eid.dccid() + 700 : utilities::crate2fed(eid.crateId(), eid.slot()));
290  labels.push_back(std::string(name));
291  }
292  return labels;
293  }
uint16_t crate2fed(int crate, int slot)
Definition: Utilities.cc:27
constexpr int dccid() const
get the (Hcal local) DCC id for VME, crate number for uTCA
constexpr bool isVMEid() const
constexpr int crateId() const
get the readout VME crate number
constexpr int slot() const
get the htr or uHTR slot
HcalElectronicsId getEid_FED(int)
int const FED_TOTAL_NUM
Definition: Constants.h:80
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_FEDuTCA ( )

Definition at line 295 of file ElectronicsQuantity.cc.

References hcaldqm::utilities::crate2fed(), HcalElectronicsId::crateId(), runTauDisplay::eid, hcaldqm::constants::FED_uTCA_NUM, getEid_FEDuTCA(), mps_fire::i, tablePrinter::labels, dataset::name, HcalElectronicsId::slot(), and AlCaHLTBitMon_QueryRunRegistry::string.

295  {
296  std::vector<std::string> labels;
297  char name[10];
298  for (int i = 0; i < FED_uTCA_NUM; i++) {
300  sprintf(name, "%d", utilities::crate2fed(eid.crateId(), eid.slot()));
301  labels.push_back(std::string(name));
302  }
303  return labels;
304  }
uint16_t crate2fed(int crate, int slot)
Definition: Utilities.cc:27
HcalElectronicsId getEid_FEDuTCA(int)
constexpr int crateId() const
get the readout VME crate number
int const FED_uTCA_NUM
Definition: Constants.h:78
constexpr int slot() const
get the htr or uHTR slot
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_FEDuTCASlot ( )

Definition at line 408 of file ElectronicsQuantity.cc.

References hcaldqm::utilities::crate2fed(), HcalElectronicsId::crateId(), runTauDisplay::eid, hcaldqm::constants::FED_uTCA_NUM, getEid_FEDuTCASlot(), mps_fire::i, tablePrinter::labels, dataset::name, HcalElectronicsId::slot(), hcaldqm::constants::SLOT_uTCA_NUM, and AlCaHLTBitMon_QueryRunRegistry::string.

408  {
409  std::vector<std::string> labels;
410  char name[10];
411  for (int i = 0; i < FED_uTCA_NUM; i++)
412  for (int j = 0; j < SLOT_uTCA_NUM; j++) {
413  if (j > 0) {
414  labels.push_back(std::string(""));
415  continue;
416  }
417  HcalElectronicsId eid = getEid_FEDuTCASlot(i * SLOT_uTCA_NUM + j);
418  sprintf(name, "%d-%d", utilities::crate2fed(eid.crateId(), eid.slot()), eid.slot());
419  labels.push_back(std::string(name));
420  }
421  return labels;
422  }
HcalElectronicsId getEid_FEDuTCASlot(int)
uint16_t crate2fed(int crate, int slot)
Definition: Utilities.cc:27
constexpr int crateId() const
get the readout VME crate number
int const FED_uTCA_NUM
Definition: Constants.h:78
constexpr int slot() const
get the htr or uHTR slot
int const SLOT_uTCA_NUM
Definition: Constants.h:98
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_FEDVME ( )

Definition at line 306 of file ElectronicsQuantity.cc.

References hcaldqm::constants::FED_VME_NUM, getEid_FEDVME(), mps_fire::i, tablePrinter::labels, dataset::name, and AlCaHLTBitMon_QueryRunRegistry::string.

306  {
307  std::vector<std::string> labels;
308  char name[10];
309  for (int i = 0; i < FED_VME_NUM; i++) {
310  sprintf(name, "%d", getEid_FEDVME(i).dccid() + 700);
311  labels.push_back(std::string(name));
312  }
313  return labels;
314  }
int const FED_VME_NUM
Definition: Constants.h:73
HcalElectronicsId getEid_FEDVME(int)
std::vector< std::string > hcaldqm::quantity::getLabels_FEDVMESpigot ( )

Definition at line 424 of file ElectronicsQuantity.cc.

References HcalElectronicsId::dccid(), runTauDisplay::eid, hcaldqm::constants::FED_VME_MIN, hcaldqm::constants::FED_VME_NUM, getEid_FEDVMESpigot(), mps_fire::i, tablePrinter::labels, dataset::name, HcalElectronicsId::spigot(), hcaldqm::constants::SPIGOT_NUM, and AlCaHLTBitMon_QueryRunRegistry::string.

424  {
425  std::vector<std::string> labels;
426  char name[10];
427  for (int i = 0; i < FED_VME_NUM; i++)
428  for (int j = 0; j < SPIGOT_NUM; j++) {
429  if (j > 0) {
430  labels.push_back(std::string(""));
431  continue;
432  }
433 
434  HcalElectronicsId eid = getEid_FEDVMESpigot(i * SPIGOT_NUM + j);
435  sprintf(name, "%d-%d", eid.dccid() + FED_VME_MIN, eid.spigot());
436  labels.push_back(std::string(name));
437  }
438  return labels;
439  }
constexpr int dccid() const
get the (Hcal local) DCC id for VME, crate number for uTCA
int const FED_VME_MIN
Definition: Constants.h:70
constexpr int spigot() const
get the spigot (input number on DCC, AMC card number for uTCA)
HcalElectronicsId getEid_FEDVMESpigot(int)
int const SPIGOT_NUM
Definition: Constants.h:110
int const FED_VME_NUM
Definition: Constants.h:73
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_FiberCh ( )

Definition at line 397 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, hcaldqm::constants::FIBERCH_NUM, HcalElectronicsId::fiberChanId(), getEid_FiberCh(), mps_fire::i, tablePrinter::labels, dataset::name, and AlCaHLTBitMon_QueryRunRegistry::string.

397  {
398  std::vector<std::string> labels;
399  char name[10];
400  for (int i = 0; i < FIBERCH_NUM; i++) {
402  sprintf(name, "%d", eid.fiberChanId());
403  labels.push_back(std::string(name));
404  }
405  return labels;
406  }
int const FIBERCH_NUM
Definition: Constants.h:124
HcalElectronicsId getEid_FiberCh(int)
constexpr int fiberChanId() const
get the fiber channel id (which of channels on a fiber)
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_FiberChuTCATP ( )

Definition at line 523 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, HcalElectronicsId::fiberChanId(), getEid_FiberChuTCATP(), mps_fire::i, tablePrinter::labels, dataset::name, AlCaHLTBitMon_QueryRunRegistry::string, and hcaldqm::constants::TPFIBERCH_NUM.

523  {
524  std::vector<std::string> labels;
525  char name[10];
526  for (int i = 0; i < TPFIBERCH_NUM; i++) {
528  sprintf(name, "%d", eid.fiberChanId());
529  labels.push_back(std::string(name));
530  }
531 
532  return labels;
533  }
HcalElectronicsId getEid_FiberChuTCATP(int)
constexpr int fiberChanId() const
get the fiber channel id (which of channels on a fiber)
int const TPFIBERCH_NUM
Definition: Constants.h:141
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_FiberuTCA ( )

Definition at line 375 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, hcaldqm::constants::FIBER_uTCA_NUM, HcalElectronicsId::fiberIndex(), getEid_FiberuTCA(), mps_fire::i, tablePrinter::labels, dataset::name, and AlCaHLTBitMon_QueryRunRegistry::string.

375  {
376  std::vector<std::string> labels;
377  char name[10];
378  for (int i = 0; i < FIBER_uTCA_NUM; i++) {
380  sprintf(name, "%d", eid.fiberIndex());
381  labels.push_back(std::string(name));
382  }
383  return labels;
384  }
HcalElectronicsId getEid_FiberuTCA(int)
int const FIBER_uTCA_NUM
Definition: Constants.h:120
constexpr int fiberIndex() const
get the fiber index. For VME 1-8 (which of eight fibers carried by a spigot), for uTCA fibers are zer...
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_FiberuTCAFiberCh ( )

Definition at line 441 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, hcaldqm::constants::FIBER_uTCA_NUM, hcaldqm::constants::FIBERCH_NUM, HcalElectronicsId::fiberChanId(), HcalElectronicsId::fiberIndex(), getEid_FiberuTCAFiberCh(), mps_fire::i, tablePrinter::labels, dataset::name, and AlCaHLTBitMon_QueryRunRegistry::string.

441  {
442  std::vector<std::string> labels;
443  char name[10];
444  for (int i = 0; i < FIBER_uTCA_NUM; i++)
445  for (int j = 0; j < FIBERCH_NUM; j++) {
446  if (j > 0) {
447  labels.push_back(std::string(""));
448  continue;
449  }
450 
451  HcalElectronicsId eid = getEid_FiberuTCAFiberCh(i * FIBERCH_NUM + j);
452  sprintf(name, "%d-%d", eid.fiberIndex(), eid.fiberChanId());
453  labels.push_back(std::string(name));
454  }
455  return labels;
456  }
HcalElectronicsId getEid_FiberuTCAFiberCh(int)
int const FIBERCH_NUM
Definition: Constants.h:124
int const FIBER_uTCA_NUM
Definition: Constants.h:120
constexpr int fiberIndex() const
get the fiber index. For VME 1-8 (which of eight fibers carried by a spigot), for uTCA fibers are zer...
constexpr int fiberChanId() const
get the fiber channel id (which of channels on a fiber)
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_FiberuTCATP ( )

Definition at line 511 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, HcalElectronicsId::fiberIndex(), getEid_FiberuTCATP(), mps_fire::i, tablePrinter::labels, dataset::name, AlCaHLTBitMon_QueryRunRegistry::string, and hcaldqm::constants::TPFIBER_NUM.

511  {
512  std::vector<std::string> labels;
513  char name[10];
514  for (int i = 0; i < TPFIBER_NUM; i++) {
516  sprintf(name, "%d", eid.fiberIndex());
517  labels.push_back(std::string(name));
518  }
519 
520  return labels;
521  }
int const TPFIBER_NUM
Definition: Constants.h:133
constexpr int fiberIndex() const
get the fiber index. For VME 1-8 (which of eight fibers carried by a spigot), for uTCA fibers are zer...
HcalElectronicsId getEid_FiberuTCATP(int)
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_FiberuTCATPFiberChuTCATP ( )

Definition at line 535 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, HcalElectronicsId::fiberChanId(), HcalElectronicsId::fiberIndex(), getEid_FiberuTCATPFiberChuTCATP(), mps_fire::i, tablePrinter::labels, dataset::name, AlCaHLTBitMon_QueryRunRegistry::string, hcaldqm::constants::TPFIBER_NUM, and hcaldqm::constants::TPFIBERCH_NUM.

535  {
536  std::vector<std::string> labels;
537  char name[10];
538  for (int i = 0; i < TPFIBER_NUM; i++)
539  for (int j = 0; j < TPFIBERCH_NUM; j++) {
541  sprintf(name, "%d-%d", eid.fiberIndex(), eid.fiberChanId());
542  labels.push_back(std::string(name));
543  }
544 
545  return labels;
546  }
int const TPFIBER_NUM
Definition: Constants.h:133
HcalElectronicsId getEid_FiberuTCATPFiberChuTCATP(int)
constexpr int fiberIndex() const
get the fiber index. For VME 1-8 (which of eight fibers carried by a spigot), for uTCA fibers are zer...
constexpr int fiberChanId() const
get the fiber channel id (which of channels on a fiber)
int const TPFIBERCH_NUM
Definition: Constants.h:141
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_FiberVME ( )

Definition at line 386 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, hcaldqm::constants::FIBER_VME_NUM, HcalElectronicsId::fiberIndex(), getEid_FiberVME(), mps_fire::i, tablePrinter::labels, dataset::name, and AlCaHLTBitMon_QueryRunRegistry::string.

386  {
387  std::vector<std::string> labels;
388  char name[10];
389  for (int i = 0; i < FIBER_VME_NUM; i++) {
391  sprintf(name, "%d", eid.fiberIndex());
392  labels.push_back(std::string(name));
393  }
394  return labels;
395  }
HcalElectronicsId getEid_FiberVME(int)
int const FIBER_VME_NUM
Definition: Constants.h:115
constexpr int fiberIndex() const
get the fiber index. For VME 1-8 (which of eight fibers carried by a spigot), for uTCA fibers are zer...
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_FiberVMEFiberCh ( )

Definition at line 458 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, hcaldqm::constants::FIBER_VME_NUM, hcaldqm::constants::FIBERCH_NUM, HcalElectronicsId::fiberChanId(), HcalElectronicsId::fiberIndex(), getEid_FiberVMEFiberCh(), mps_fire::i, tablePrinter::labels, dataset::name, and AlCaHLTBitMon_QueryRunRegistry::string.

458  {
459  std::vector<std::string> labels;
460  char name[10];
461  for (int i = 0; i < FIBER_VME_NUM; i++)
462  for (int j = 0; j < FIBERCH_NUM; j++) {
463  if (j > 0) {
464  labels.push_back(std::string(""));
465  continue;
466  }
467  HcalElectronicsId eid = getEid_FiberVMEFiberCh(i * FIBERCH_NUM + j);
468  sprintf(name, "%d-%d", eid.fiberIndex(), eid.fiberChanId());
469  labels.push_back(std::string(name));
470  }
471  return labels;
472  }
int const FIBERCH_NUM
Definition: Constants.h:124
HcalElectronicsId getEid_FiberVMEFiberCh(int)
int const FIBER_VME_NUM
Definition: Constants.h:115
constexpr int fiberIndex() const
get the fiber index. For VME 1-8 (which of eight fibers carried by a spigot), for uTCA fibers are zer...
constexpr int fiberChanId() const
get the fiber channel id (which of channels on a fiber)
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_ieta ( )

Definition at line 51 of file DetectorQuantity.cc.

References getDid_ieta(), mps_fire::i, tablePrinter::labels, dataset::name, and AlCaHLTBitMon_QueryRunRegistry::string.

51  {
52  std::vector<std::string> labels;
53  char name[10];
54  for (int i = 0; i < 84; i++) {
55  sprintf(name, "%d", getDid_ieta(i).ieta());
56  labels.push_back(std::string(name));
57  }
58  return labels;
59  }
HcalDetId getDid_ieta(int)
std::vector< std::string > hcaldqm::quantity::getLabels_iphi ( )

Definition at line 49 of file DetectorQuantity.cc.

49 { return std::vector<std::string>(); }
std::vector< std::string > hcaldqm::quantity::getLabels_SLB ( )

Definition at line 474 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, getEid_SLB(), mps_fire::i, tablePrinter::labels, dataset::name, hcaldqm::constants::SLB_NUM, HcalElectronicsId::slbSiteNumber(), and AlCaHLTBitMon_QueryRunRegistry::string.

474  {
475  std::vector<std::string> labels;
476  char name[10];
477  for (int i = 0; i < SLB_NUM; i++) {
479  sprintf(name, "%d", eid.slbSiteNumber());
480  labels.push_back(std::string(name));
481  }
482 
483  return labels;
484  }
HcalElectronicsId getEid_SLB(int)
int const SLB_NUM
Definition: Constants.h:129
constexpr int slbSiteNumber() const
get the SLB site number (valid only for VME trigger-chain ids)
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_SLBCh ( )

Definition at line 486 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, getEid_SLBCh(), mps_fire::i, tablePrinter::labels, dataset::name, hcaldqm::constants::SLBCH_NUM, HcalElectronicsId::slbChannelIndex(), and AlCaHLTBitMon_QueryRunRegistry::string.

486  {
487  std::vector<std::string> labels;
488  char name[10];
489  for (int i = 0; i < SLBCH_NUM; i++) {
491  sprintf(name, "%d", eid.slbChannelIndex());
492  labels.push_back(std::string(name));
493  }
494 
495  return labels;
496  }
constexpr int slbChannelIndex() const
get the SLB channel index (valid only for VME trigger-chain ids)
HcalElectronicsId getEid_SLBCh(int)
int const SLBCH_NUM
Definition: Constants.h:137
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_SLBSLBCh ( )

Definition at line 498 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, getEid_SLBSLBCh(), mps_fire::i, tablePrinter::labels, dataset::name, hcaldqm::constants::SLB_NUM, hcaldqm::constants::SLBCH_NUM, HcalElectronicsId::slbChannelIndex(), HcalElectronicsId::slbSiteNumber(), and AlCaHLTBitMon_QueryRunRegistry::string.

498  {
499  std::vector<std::string> labels;
500  char name[10];
501  for (int i = 0; i < SLB_NUM; i++)
502  for (int j = 0; j < SLBCH_NUM; j++) {
503  HcalElectronicsId eid = getEid_SLBSLBCh(i * SLBCH_NUM + j);
504  sprintf(name, "%d-%d", eid.slbSiteNumber(), eid.slbChannelIndex());
505  labels.push_back(std::string(name));
506  }
507 
508  return labels;
509  }
constexpr int slbChannelIndex() const
get the SLB channel index (valid only for VME trigger-chain ids)
int const SLB_NUM
Definition: Constants.h:129
int const SLBCH_NUM
Definition: Constants.h:137
constexpr int slbSiteNumber() const
get the SLB site number (valid only for VME trigger-chain ids)
Readout chain identification for Hcal.
HcalElectronicsId getEid_SLBSLBCh(int)
std::vector< std::string > hcaldqm::quantity::getLabels_SlotuTCA ( )

Definition at line 347 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, getEid_SlotuTCA(), mps_fire::i, tablePrinter::labels, dataset::name, HcalElectronicsId::slot(), hcaldqm::constants::SLOT_uTCA_NUM, and AlCaHLTBitMon_QueryRunRegistry::string.

347  {
348  std::vector<std::string> labels;
349  char name[10];
350  for (int i = 0; i < SLOT_uTCA_NUM; i++) {
352  sprintf(name, "%d", eid.slot());
353  labels.push_back(std::string(name));
354  }
355  return labels;
356  }
HcalElectronicsId getEid_SlotuTCA(int)
constexpr int slot() const
get the htr or uHTR slot
int const SLOT_uTCA_NUM
Definition: Constants.h:98
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_SlotVME ( )

Definition at line 358 of file ElectronicsQuantity.cc.

358 { return std::vector<std::string>(); }
std::vector< std::string > hcaldqm::quantity::getLabels_Spigot ( )

Definition at line 360 of file ElectronicsQuantity.cc.

360  {
361  return std::vector<std::string>();
362  /* std::vector<std::string> labels;
363  char name[10];
364  for (int i=0; i<SPIGOT_NUM; i++)
365  {
366  HcalElectronicsId eid = getEid_Spigot(i);
367  sprintf(name, "%d",
368  eid.spigot());
369  labels.push_back(std::string(name));
370  }
371  return labels;
372  */
373  }
std::vector< std::string > hcaldqm::quantity::getLabels_Subdet ( )

Definition at line 63 of file DetectorQuantity.cc.

References mps_fire::i, tablePrinter::labels, and hcaldqm::constants::SUBDET_NAME.

63  {
64  std::vector<std::string> labels;
65  for (int i = 0; i < 4; i++)
66  labels.push_back(constants::SUBDET_NAME[i]);
67  return labels;
68  }
std::string const SUBDET_NAME[SUBDET_NUM]
Definition: Constants.h:154
std::vector< std::string > hcaldqm::quantity::getLabels_SubdetPM ( )

Definition at line 70 of file DetectorQuantity.cc.

References mps_fire::i, tablePrinter::labels, and hcaldqm::constants::SUBDETPM_NAME.

70  {
71  std::vector<std::string> labels;
72  for (int i = 0; i < 8; i++)
73  labels.push_back(constants::SUBDETPM_NAME[i]);
74  return labels;
75  }
std::string const SUBDETPM_NAME[2 *SUBDET_NUM]
Definition: Constants.h:155
std::vector< std::string > hcaldqm::quantity::getLabels_TTdepth ( )

Definition at line 74 of file TrigTowerQuantity.cc.

74 { return std::vector<std::string>(); }
std::vector< std::string > hcaldqm::quantity::getLabels_TTieta ( )

Definition at line 54 of file TrigTowerQuantity.cc.

References getTid_TTieta(), mps_fire::i, tablePrinter::labels, and dataset::name.

54  {
55  char name[10];
56  std::vector<std::string> labels;
57  for (int i = 0; i < 82; i++) {
58  sprintf(name, "%d", getTid_TTieta(i).ieta());
59  labels.push_back(name);
60  }
61  return labels;
62  }
HcalTrigTowerDetId getTid_TTieta(int)
std::vector< std::string > hcaldqm::quantity::getLabels_TTieta2x3 ( )

Definition at line 64 of file TrigTowerQuantity.cc.

References getTid_TTieta2x3(), mps_fire::i, tablePrinter::labels, and dataset::name.

64  {
65  char name[10];
66  std::vector<std::string> labels;
67  for (int i = 0; i < 8; i++) {
68  sprintf(name, "%d", getTid_TTieta2x3(i).ieta());
69  labels.push_back(name);
70  }
71  return labels;
72  }
HcalTrigTowerDetId getTid_TTieta2x3(int)
std::vector< std::string > hcaldqm::quantity::getLabels_TTiphi ( )

Definition at line 53 of file TrigTowerQuantity.cc.

53 { return std::vector<std::string>(); }
std::vector< std::string > hcaldqm::quantity::getLabels_TTSubdet ( )

Definition at line 76 of file TrigTowerQuantity.cc.

References getTid_TTSubdet(), mps_fire::i, tablePrinter::labels, and hcaldqm::constants::TPSUBDET_NAME.

76  {
77  std::vector<std::string> labels;
78  for (int i = 0; i < 2; i++)
79  labels.push_back(constants::TPSUBDET_NAME[getTid_TTSubdet(i).ietaAbs() < 29 ? 0 : 1]);
80  return labels;
81  }
HcalTrigTowerDetId getTid_TTSubdet(int)
std::string const TPSUBDET_NAME[TPSUBDET_NUM]
Definition: Constants.h:157
std::vector< std::string > hcaldqm::quantity::getLabels_TTSubdetPM ( )

Definition at line 83 of file TrigTowerQuantity.cc.

References getTid_TTSubdetPM(), mps_fire::i, HcalTrigTowerDetId::ieta(), HcalTrigTowerDetId::ietaAbs(), tablePrinter::labels, and hcaldqm::constants::TPSUBDETPM_NAME.

83  {
84  std::vector<std::string> labels;
85  for (int i = 0; i < 4; i++) {
87  int x = tid.ietaAbs() < 29 ? 0 : 2;
88  labels.push_back(constants::TPSUBDETPM_NAME[tid.ieta() > 0 ? x + 1 : x]);
89  return labels;
90  }
91  return labels;
92  }
std::string const TPSUBDETPM_NAME[2 *TPSUBDET_NUM]
Definition: Constants.h:158
int ieta() const
get the tower ieta
HcalTrigTowerDetId getTid_TTSubdetPM(int)
int ietaAbs() const
get the absolute value of the tower ieta
HcalTrigTowerDetId hcaldqm::quantity::getTid_TTdepth ( int  v)

Definition at line 38 of file TrigTowerQuantity.cc.

HcalTrigTowerDetId hcaldqm::quantity::getTid_TTieta ( int  v)

Definition at line 36 of file TrigTowerQuantity.cc.

Referenced by getLabels_TTieta().

36 { return HcalTrigTowerDetId(v < 41 ? v - 41 : v - 40, 1); }
HcalTrigTowerDetId hcaldqm::quantity::getTid_TTieta2x3 ( int  v)

Definition at line 46 of file TrigTowerQuantity.cc.

Referenced by getLabels_TTieta2x3().

46  {
47  // since numbering goes as
48  // -32 -29 29 32
49  // 0 3 4 7
50  return HcalTrigTowerDetId(v < 4 ? -(3 - v + 29) : (v - 4) + 29, 1);
51  }
HcalTrigTowerDetId hcaldqm::quantity::getTid_TTiphi ( int  v)
HcalTrigTowerDetId hcaldqm::quantity::getTid_TTSubdet ( int  v)

Definition at line 40 of file TrigTowerQuantity.cc.

Referenced by getLabels_TTSubdet().

HcalTrigTowerDetId hcaldqm::quantity::getTid_TTSubdetPM ( int  v)

Definition at line 42 of file TrigTowerQuantity.cc.

Referenced by getLabels_TTSubdetPM().

42  {
43  return HcalTrigTowerDetId(v % 2 == 0 ? -(v >= 2 ? 29 : 1) : (v >= 2 ? 29 : 1), 1);
44  }
int hcaldqm::quantity::getValue_Crate ( HcalElectronicsId const &  eid)

Definition at line 24 of file ElectronicsQuantity.cc.

References begin, HcalElectronicsId::crateId(), hcaldqm::constants::crateList, SoftLeptonByDistance_cfi::distance, end, and spr::find().

Referenced by getBin_Crate().

24  {
25  unsigned int crate = eid.crateId();
26  auto it_crate = std::find(std::begin(crateList), std::end(crateList), crate);
27  return ((it_crate == std::end(crateList)) ? -1 : std::distance(crateList.begin(), it_crate));
28  }
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:20
#define end
Definition: vmac.h:39
std::vector< unsigned int > const crateList
Definition: Constants.h:62
#define begin
Definition: vmac.h:32
int hcaldqm::quantity::getValue_CrateuTCA ( HcalElectronicsId const &  eid)

Definition at line 30 of file ElectronicsQuantity.cc.

References begin, HcalElectronicsId::crateId(), hcaldqm::constants::crateListuTCA, SoftLeptonByDistance_cfi::distance, end, and spr::find().

Referenced by getBin_CrateuTCA().

30  {
31  unsigned int crate = eid.crateId();
32  auto it_crate = std::find(std::begin(crateListuTCA), std::end(crateListuTCA), crate);
33  return ((it_crate == std::end(crateListuTCA)) ? -1 : std::distance(crateListuTCA.begin(), it_crate));
34  }
std::vector< unsigned int > const crateListuTCA
Definition: Constants.h:63
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:20
#define end
Definition: vmac.h:39
#define begin
Definition: vmac.h:32
int hcaldqm::quantity::getValue_CrateVME ( HcalElectronicsId const &  eid)

Definition at line 36 of file ElectronicsQuantity.cc.

References begin, HcalElectronicsId::crateId(), hcaldqm::constants::crateListVME, SoftLeptonByDistance_cfi::distance, end, and spr::find().

Referenced by getBin_CrateVME().

36  {
37  unsigned int crate = eid.crateId();
38  auto it_crate = std::find(std::begin(crateListVME), std::end(crateListVME), crate);
39  return ((it_crate == std::end(crateListVME)) ? -1 : std::distance(crateListVME.begin(), it_crate));
40  }
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:20
#define end
Definition: vmac.h:39
std::vector< unsigned int > const crateListVME
Definition: Constants.h:64
#define begin
Definition: vmac.h:32
int hcaldqm::quantity::getValue_depth ( HcalDetId const &  did)

Definition at line 17 of file DetectorQuantity.cc.

References HcalDetId::depth().

17 { return did.depth(); }
int hcaldqm::quantity::getValue_FED ( HcalElectronicsId const &  eid)

Definition at line 6 of file ElectronicsQuantity.cc.

References begin, hcaldqm::utilities::crate2fed(), HcalElectronicsId::crateId(), SoftLeptonByDistance_cfi::distance, end, hcaldqm::constants::fedList, spr::find(), and HcalElectronicsId::slot().

Referenced by getBin_FED().

6  {
7  unsigned int fed = utilities::crate2fed(eid.crateId(), eid.slot());
8  auto it_fed = std::find(std::begin(fedList), std::end(fedList), fed);
9  return ((it_fed == std::end(fedList)) ? -1 : std::distance(fedList.begin(), it_fed));
10  }
uint16_t crate2fed(int crate, int slot)
Definition: Utilities.cc:27
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:20
std::vector< unsigned int > const fedList
Definition: Constants.h:55
#define end
Definition: vmac.h:39
#define begin
Definition: vmac.h:32
int hcaldqm::quantity::getValue_FEDuTCA ( HcalElectronicsId const &  eid)

Definition at line 12 of file ElectronicsQuantity.cc.

References begin, hcaldqm::utilities::crate2fed(), HcalElectronicsId::crateId(), SoftLeptonByDistance_cfi::distance, end, hcaldqm::constants::fedListuTCA, spr::find(), and HcalElectronicsId::slot().

Referenced by getBin_FEDuTCA(), and getValue_FEDuTCASlot().

12  {
13  unsigned int fed = utilities::crate2fed(eid.crateId(), eid.slot());
14  auto it_fed = std::find(std::begin(fedListuTCA), std::end(fedListuTCA), fed);
15  return ((it_fed == std::end(fedListuTCA)) ? -1 : std::distance(fedListuTCA.begin(), it_fed));
16  }
uint16_t crate2fed(int crate, int slot)
Definition: Utilities.cc:27
std::vector< unsigned int > const fedListuTCA
Definition: Constants.h:58
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:20
#define end
Definition: vmac.h:39
#define begin
Definition: vmac.h:32
int hcaldqm::quantity::getValue_FEDuTCASlot ( HcalElectronicsId const &  eid)

Definition at line 68 of file ElectronicsQuantity.cc.

References getValue_FEDuTCA(), getValue_SlotuTCA(), and hcaldqm::constants::SLOT_uTCA_NUM.

Referenced by getBin_FEDuTCASlot().

68  {
69  int ifed = getValue_FEDuTCA(eid);
70  int islot = getValue_SlotuTCA(eid);
71  return ifed * SLOT_uTCA_NUM + islot;
72  }
int getValue_SlotuTCA(HcalElectronicsId const &)
int getValue_FEDuTCA(HcalElectronicsId const &)
int const SLOT_uTCA_NUM
Definition: Constants.h:98
int hcaldqm::quantity::getValue_FEDVME ( HcalElectronicsId const &  eid)

Definition at line 18 of file ElectronicsQuantity.cc.

References begin, hcaldqm::utilities::crate2fed(), HcalElectronicsId::crateId(), SoftLeptonByDistance_cfi::distance, end, hcaldqm::constants::fedListVME, spr::find(), and HcalElectronicsId::slot().

Referenced by getBin_FEDVME(), and getValue_FEDVMESpigot().

18  {
19  unsigned int fed = utilities::crate2fed(eid.crateId(), eid.slot());
20  auto it_fed = std::find(std::begin(fedListVME), std::end(fedListVME), fed);
21  return ((it_fed == std::end(fedListVME)) ? -1 : std::distance(fedListVME.begin(), it_fed));
22  }
std::vector< unsigned int > const fedListVME
Definition: Constants.h:61
uint16_t crate2fed(int crate, int slot)
Definition: Utilities.cc:27
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:20
#define end
Definition: vmac.h:39
#define begin
Definition: vmac.h:32
int hcaldqm::quantity::getValue_FEDVMESpigot ( HcalElectronicsId const &  eid)

Definition at line 74 of file ElectronicsQuantity.cc.

References getValue_FEDVME(), getValue_Spigot(), and hcaldqm::constants::SPIGOT_NUM.

Referenced by getBin_FEDVMESpigot().

74  {
75  int ifed = getValue_FEDVME(eid);
76  int ispigot = getValue_Spigot(eid);
77  return ifed * SPIGOT_NUM + ispigot;
78  }
int getValue_Spigot(HcalElectronicsId const &)
int getValue_FEDVME(HcalElectronicsId const &)
int const SPIGOT_NUM
Definition: Constants.h:110
int hcaldqm::quantity::getValue_FiberCh ( HcalElectronicsId const &  eid)

Definition at line 66 of file ElectronicsQuantity.cc.

References HcalElectronicsId::fiberChanId().

Referenced by getBin_FiberCh(), getValue_FiberuTCAFiberCh(), and getValue_FiberVMEFiberCh().

66 { return eid.fiberChanId(); }
int hcaldqm::quantity::getValue_FiberChuTCATP ( HcalElectronicsId const &  eid)
int hcaldqm::quantity::getValue_FiberuTCA ( HcalElectronicsId const &  eid)

Definition at line 55 of file ElectronicsQuantity.cc.

References hcaldqm::constants::FIBER_uTCA_MAX1, hcaldqm::constants::FIBER_uTCA_MIN1, hcaldqm::constants::FIBER_uTCA_MIN2, and HcalElectronicsId::fiberIndex().

Referenced by getBin_FiberuTCA(), and getValue_FiberuTCAFiberCh().

55  {
56  int fiber = eid.fiberIndex();
57  if (fiber <= FIBER_uTCA_MAX1)
58  fiber -= FIBER_uTCA_MIN1;
59  else
60  fiber = (FIBER_uTCA_MAX1 - FIBER_uTCA_MIN1 + 1) + fiber - FIBER_uTCA_MIN2;
61  return fiber;
62  }
int const FIBER_uTCA_MIN2
Definition: Constants.h:118
int const FIBER_uTCA_MIN1
Definition: Constants.h:116
int const FIBER_uTCA_MAX1
Definition: Constants.h:117
int hcaldqm::quantity::getValue_FiberuTCAFiberCh ( HcalElectronicsId const &  eid)

Definition at line 80 of file ElectronicsQuantity.cc.

References hcaldqm::constants::FIBERCH_NUM, getValue_FiberCh(), and getValue_FiberuTCA().

Referenced by getBin_FiberuTCAFiberCh().

80  {
81  int ifiber = getValue_FiberuTCA(eid);
82  int ifch = getValue_FiberCh(eid);
83  return ifiber * FIBERCH_NUM + ifch;
84  }
int const FIBERCH_NUM
Definition: Constants.h:124
int getValue_FiberCh(HcalElectronicsId const &)
int getValue_FiberuTCA(HcalElectronicsId const &)
int hcaldqm::quantity::getValue_FiberuTCATP ( HcalElectronicsId const &  eid)
int hcaldqm::quantity::getValue_FiberuTCATPFiberChuTCATP ( HcalElectronicsId const &  eid)

Definition at line 109 of file ElectronicsQuantity.cc.

References getValue_FiberChuTCATP(), getValue_FiberuTCATP(), and hcaldqm::constants::TPFIBERCH_NUM.

Referenced by getBin_FiberuTCATPFiberChuTCATP().

109  {
110  int ifib = getValue_FiberuTCATP(eid);
111  int ifibch = getValue_FiberChuTCATP(eid);
112  return ifib * TPFIBERCH_NUM + ifibch;
113  }
int getValue_FiberChuTCATP(HcalElectronicsId const &)
int getValue_FiberuTCATP(HcalElectronicsId const &)
int const TPFIBERCH_NUM
Definition: Constants.h:141
int hcaldqm::quantity::getValue_FiberVME ( HcalElectronicsId const &  eid)

Definition at line 64 of file ElectronicsQuantity.cc.

References HcalElectronicsId::fiberIndex().

Referenced by getBin_FiberVME(), and getValue_FiberVMEFiberCh().

64 { return eid.fiberIndex() - 1; }
int hcaldqm::quantity::getValue_FiberVMEFiberCh ( HcalElectronicsId const &  eid)

Definition at line 86 of file ElectronicsQuantity.cc.

References hcaldqm::constants::FIBERCH_NUM, getValue_FiberCh(), and getValue_FiberVME().

Referenced by getBin_FiberVMEFiberCh().

86  {
87  int ifiber = getValue_FiberVME(eid);
88  int ifch = getValue_FiberCh(eid);
89  return ifiber * FIBERCH_NUM + ifch;
90  }
int const FIBERCH_NUM
Definition: Constants.h:124
int getValue_FiberVME(HcalElectronicsId const &)
int getValue_FiberCh(HcalElectronicsId const &)
int hcaldqm::quantity::getValue_ieta ( HcalDetId const &  did)

Definition at line 8 of file DetectorQuantity.cc.

References HcalForward, HcalDetId::ieta(), and HcalDetId::subdet().

Referenced by getBin_ieta().

8  {
9  int x = did.ieta();
10  if (x < 0)
11  x = did.subdet() == HcalForward ? x + 41 : x + 42;
12  else
13  x = did.subdet() == HcalForward ? x + 42 : x + 41;
14  return x;
15  }
int hcaldqm::quantity::getValue_iphi ( HcalDetId const &  did)

Definition at line 6 of file DetectorQuantity.cc.

References HcalDetId::iphi().

6 { return did.iphi(); }
int hcaldqm::quantity::getValue_SLB ( HcalElectronicsId const &  eid)

Definition at line 92 of file ElectronicsQuantity.cc.

References hcaldqm::constants::SLB_MIN, and HcalElectronicsId::slbSiteNumber().

Referenced by getBin_SLB(), and getValue_SLBSLBCh().

92  {
93  int slbsite = eid.slbSiteNumber();
94  return slbsite - SLB_MIN;
95  }
int const SLB_MIN
Definition: Constants.h:127
int hcaldqm::quantity::getValue_SLBCh ( HcalElectronicsId const &  eid)

Definition at line 97 of file ElectronicsQuantity.cc.

References hcaldqm::constants::SLBCH_MIN, and HcalElectronicsId::slbChannelIndex().

Referenced by getBin_SLBCh(), and getValue_SLBSLBCh().

97 { return eid.slbChannelIndex() - SLBCH_MIN; }
int const SLBCH_MIN
Definition: Constants.h:135
int hcaldqm::quantity::getValue_SLBSLBCh ( HcalElectronicsId const &  eid)

Definition at line 99 of file ElectronicsQuantity.cc.

References getValue_SLB(), getValue_SLBCh(), and hcaldqm::constants::SLBCH_NUM.

Referenced by getBin_SLBSLBCh().

99  {
100  int islb = getValue_SLB(eid);
101  int islbch = getValue_SLBCh(eid);
102  return islb * SLBCH_NUM + islbch;
103  }
int getValue_SLBCh(HcalElectronicsId const &)
int const SLBCH_NUM
Definition: Constants.h:137
int getValue_SLB(HcalElectronicsId const &)
int hcaldqm::quantity::getValue_SlotuTCA ( HcalElectronicsId const &  eid)

Definition at line 42 of file ElectronicsQuantity.cc.

References HcalElectronicsId::slot(), and hcaldqm::constants::SLOT_uTCA_MIN.

Referenced by getBin_SlotuTCA(), and getValue_FEDuTCASlot().

42 { return eid.slot() - SLOT_uTCA_MIN; }
int const SLOT_uTCA_MIN
Definition: Constants.h:95
int hcaldqm::quantity::getValue_SlotVME ( HcalElectronicsId const &  eid)

Definition at line 44 of file ElectronicsQuantity.cc.

References HcalElectronicsId::slot(), hcaldqm::constants::SLOT_VME_MAX1, hcaldqm::constants::SLOT_VME_MIN1, hcaldqm::constants::SLOT_VME_MIN2, and hcaldqm::constants::SLOT_VME_NUM1.

Referenced by getBin_SlotVME().

44  {
45  int slot = eid.slot();
46  if (slot <= SLOT_VME_MAX1)
47  slot -= SLOT_VME_MIN1;
48  else
49  slot = SLOT_VME_NUM1 + slot - SLOT_VME_MIN2;
50  return slot;
51  }
int const SLOT_VME_MAX1
Definition: Constants.h:101
int const SLOT_VME_MIN1
Definition: Constants.h:100
int const SLOT_VME_MIN2
Definition: Constants.h:102
int const SLOT_VME_NUM1
Definition: Constants.h:104
int hcaldqm::quantity::getValue_Spigot ( HcalElectronicsId const &  eid)

Definition at line 53 of file ElectronicsQuantity.cc.

References HcalElectronicsId::spigot().

Referenced by getBin_Spigot(), and getValue_FEDVMESpigot().

53 { return eid.spigot(); }
int hcaldqm::quantity::getValue_Subdet ( HcalDetId const &  did)

Definition at line 19 of file DetectorQuantity.cc.

References HcalDetId::subdet().

19 { return did.subdet() - 1; }
int hcaldqm::quantity::getValue_SubdetPM ( HcalDetId const &  did)

Definition at line 21 of file DetectorQuantity.cc.

References HcalDetId::ieta(), and HcalDetId::subdet().

Referenced by getBin_SubdetPM().

21  {
22  return did.ieta() < 0 ? 2 * (did.subdet() - 1) : 2 * (did.subdet() - 1) + 1;
23  }
int hcaldqm::quantity::getValue_TTdepth ( HcalTrigTowerDetId const &  tid)

Definition at line 9 of file TrigTowerQuantity.cc.

References HcalTrigTowerDetId::depth().

Referenced by getBin_TTdepth().

9 { return tid.depth(); }
int hcaldqm::quantity::getValue_TTieta ( HcalTrigTowerDetId const &  tid)

Definition at line 7 of file TrigTowerQuantity.cc.

References HcalTrigTowerDetId::ieta().

Referenced by getBin_TTieta().

7 { return tid.ieta() < 0 ? tid.ieta() + 41 : tid.ieta() + 40; }
int hcaldqm::quantity::getValue_TTieta2x3 ( HcalTrigTowerDetId const &  tid)

Definition at line 18 of file TrigTowerQuantity.cc.

References HcalTrigTowerDetId::ieta().

Referenced by getBin_TTieta2x3().

18  {
19  return tid.ieta() < 0 ? tid.ieta() + 32 : tid.ieta() - 29 + 4;
20  }
int hcaldqm::quantity::getValue_TTiphi ( HcalTrigTowerDetId const &  tid)

Definition at line 5 of file TrigTowerQuantity.cc.

References HcalTrigTowerDetId::iphi().

Referenced by getBin_TTiphi().

5 { return tid.iphi(); }
int hcaldqm::quantity::getValue_TTSubdet ( HcalTrigTowerDetId const &  tid)

Definition at line 11 of file TrigTowerQuantity.cc.

References HcalTrigTowerDetId::ietaAbs().

Referenced by getBin_TTSubdet().

11 { return tid.ietaAbs() < 29 ? 0 : 1; }
int hcaldqm::quantity::getValue_TTSubdetPM ( HcalTrigTowerDetId const &  tid)

Definition at line 13 of file TrigTowerQuantity.cc.

References HcalTrigTowerDetId::ieta(), and HcalTrigTowerDetId::ietaAbs().

Referenced by getBin_TTSubdetPM().

13  {
14  int x = tid.ietaAbs() < 29 ? 0 : 2;
15  return tid.ieta() > 0 ? x + 1 : x;
16  }

Variable Documentation

getBinType_did const hcaldqm::quantity::getBin_functions_did[nDetectorQuantityType]
Initial value:
= {
uint32_t getBin_iphi(HcalDetId const &)
uint32_t getBin_SubdetPM(HcalDetId const &)
uint32_t getBin_ieta(HcalDetId const &)
uint32_t getBin_Subdet(HcalDetId const &)
uint32_t getBin_depth(HcalDetId const &)

Definition at line 48 of file DetectorQuantity.h.

const std::map<ElectronicsQuantityType, getBinType_eid> hcaldqm::quantity::getBin_functions_eid
Initial value:
= {
}
uint32_t getBin_SlotuTCA(HcalElectronicsId const &)
uint32_t getBin_SLBSLBCh(HcalElectronicsId const &)
uint32_t getBin_CrateuTCA(HcalElectronicsId const &)
uint32_t getBin_FiberuTCAFiberCh(HcalElectronicsId const &)
uint32_t getBin_FiberVMEFiberCh(HcalElectronicsId const &)
uint32_t getBin_FEDVME(HcalElectronicsId const &)
uint32_t getBin_FiberuTCATP(HcalElectronicsId const &)
uint32_t getBin_FiberChuTCATP(HcalElectronicsId const &)
uint32_t getBin_FEDuTCASlot(HcalElectronicsId const &)
uint32_t getBin_SLB(HcalElectronicsId const &)
uint32_t getBin_FiberVME(HcalElectronicsId const &)
uint32_t getBin_FED(HcalElectronicsId const &)
uint32_t getBin_SlotVME(HcalElectronicsId const &)
uint32_t getBin_FEDuTCA(HcalElectronicsId const &)
uint32_t getBin_CrateVME(HcalElectronicsId const &)
uint32_t getBin_SLBCh(HcalElectronicsId const &)
uint32_t getBin_Spigot(HcalElectronicsId const &)
uint32_t getBin_FiberCh(HcalElectronicsId const &)
uint32_t getBin_Crate(HcalElectronicsId const &)
uint32_t getBin_FEDVMESpigot(HcalElectronicsId const &)
uint32_t getBin_FiberuTCA(HcalElectronicsId const &)
uint32_t getBin_FiberuTCATPFiberChuTCATP(HcalElectronicsId const &)

Definition at line 164 of file ElectronicsQuantity.h.

getBinType_tid const hcaldqm::quantity::getBin_functions_tid[nTrigTowerQuantityType]
Initial value:
= {
uint32_t getBin_TTieta2x3(HcalTrigTowerDetId const &)
uint32_t getBin_TTiphi(HcalTrigTowerDetId const &)
uint32_t getBin_TTdepth(HcalTrigTowerDetId const &)
uint32_t getBin_TTieta(HcalTrigTowerDetId const &)
uint32_t getBin_TTSubdet(HcalTrigTowerDetId const &)
uint32_t getBin_TTSubdetPM(HcalTrigTowerDetId const &)

Definition at line 54 of file TrigTowerQuantity.h.

getDid_did const hcaldqm::quantity::getDid_functions_did[nDetectorQuantityType]
Initial value:

Definition at line 50 of file DetectorQuantity.h.

const std::map<ElectronicsQuantityType, getEid_eid> hcaldqm::quantity::getEid_functions_eid
Initial value:
= {
}
HcalElectronicsId getEid_FEDuTCASlot(int)
HcalElectronicsId getEid_SLB(int)
HcalElectronicsId getEid_FiberuTCAFiberCh(int)
HcalElectronicsId getEid_FiberuTCA(int)
HcalElectronicsId getEid_SlotVME(int)
HcalElectronicsId getEid_CrateVME(int)
HcalElectronicsId getEid_SLBCh(int)
HcalElectronicsId getEid_SlotuTCA(int)
HcalElectronicsId getEid_Spigot(int)
HcalElectronicsId getEid_FiberVME(int)
HcalElectronicsId getEid_FiberuTCATPFiberChuTCATP(int)
HcalElectronicsId getEid_FEDuTCA(int)
HcalElectronicsId getEid_FEDVMESpigot(int)
HcalElectronicsId getEid_FiberVMEFiberCh(int)
HcalElectronicsId getEid_FiberCh(int)
HcalElectronicsId getEid_FiberChuTCATP(int)
HcalElectronicsId getEid_FED(int)
HcalElectronicsId getEid_CrateuTCA(int)
HcalElectronicsId getEid_Crate(int)
HcalElectronicsId getEid_FiberuTCATP(int)
HcalElectronicsId getEid_SLBSLBCh(int)
HcalElectronicsId getEid_FEDVME(int)

Definition at line 188 of file ElectronicsQuantity.h.

getLabels_did const hcaldqm::quantity::getLabels_functions_did[nDetectorQuantityType]
Initial value:
= {
std::vector< std::string > getLabels_SubdetPM()
std::vector< std::string > getLabels_ieta()
std::vector< std::string > getLabels_Subdet()
std::vector< std::string > getLabels_depth()
std::vector< std::string > getLabels_iphi()

Definition at line 52 of file DetectorQuantity.h.

const std::map<ElectronicsQuantityType, getLabels_eid> hcaldqm::quantity::getLabels_functions_eid
Initial value:
= {
}
std::vector< std::string > getLabels_Crate()
std::vector< std::string > getLabels_Spigot()
std::vector< std::string > getLabels_FED()
std::vector< std::string > getLabels_SlotVME()
std::vector< std::string > getLabels_FiberChuTCATP()
std::vector< std::string > getLabels_FiberVMEFiberCh()
std::vector< std::string > getLabels_FiberuTCATPFiberChuTCATP()
std::vector< std::string > getLabels_SLB()
std::vector< std::string > getLabels_FEDuTCA()
std::vector< std::string > getLabels_FEDVME()
std::vector< std::string > getLabels_CrateuTCA()
std::vector< std::string > getLabels_SlotuTCA()
std::vector< std::string > getLabels_FiberuTCATP()
std::vector< std::string > getLabels_FiberVME()
std::vector< std::string > getLabels_FiberCh()
std::vector< std::string > getLabels_FEDVMESpigot()
std::vector< std::string > getLabels_FEDuTCASlot()
std::vector< std::string > getLabels_SLBCh()
std::vector< std::string > getLabels_FiberuTCA()
std::vector< std::string > getLabels_CrateVME()
std::vector< std::string > getLabels_SLBSLBCh()
std::vector< std::string > getLabels_FiberuTCAFiberCh()

Definition at line 212 of file ElectronicsQuantity.h.

getLabels_tid const hcaldqm::quantity::getLabels_functions_tid[nTrigTowerQuantityType]
Initial value:
std::vector< std::string > getLabels_TTieta()
std::vector< std::string > getLabels_TTdepth()
std::vector< std::string > getLabels_TTiphi()
std::vector< std::string > getLabels_TTSubdet()
std::vector< std::string > getLabels_TTSubdetPM()
std::vector< std::string > getLabels_TTieta2x3()

Definition at line 58 of file TrigTowerQuantity.h.

getTid_tid const hcaldqm::quantity::getTid_functions_tid[nTrigTowerQuantityType]
Initial value:
= {
HcalTrigTowerDetId getTid_TTdepth(int)
HcalTrigTowerDetId getTid_TTSubdetPM(int)
HcalTrigTowerDetId getTid_TTiphi(int)
HcalTrigTowerDetId getTid_TTieta(int)
HcalTrigTowerDetId getTid_TTSubdet(int)
HcalTrigTowerDetId getTid_TTieta2x3(int)

Definition at line 56 of file TrigTowerQuantity.h.

getValueType_did const hcaldqm::quantity::getValue_functions_did[nDetectorQuantityType]
Initial value:
= {
int getValue_ieta(HcalDetId const &)
int getValue_iphi(HcalDetId const &)
int getValue_SubdetPM(HcalDetId const &)
int getValue_depth(HcalDetId const &)
int getValue_Subdet(HcalDetId const &)

Definition at line 46 of file DetectorQuantity.h.

const std::map<ElectronicsQuantityType, getValueType_eid> hcaldqm::quantity::getValue_functions_eid
Initial value:
= {
}
int getValue_FiberChuTCATP(HcalElectronicsId const &)
int getValue_FED(HcalElectronicsId const &)
int getValue_SLBSLBCh(HcalElectronicsId const &)
int getValue_SlotVME(HcalElectronicsId const &)
int getValue_Spigot(HcalElectronicsId const &)
int getValue_FiberuTCATP(HcalElectronicsId const &)
int getValue_FiberVME(HcalElectronicsId const &)
int getValue_SLBCh(HcalElectronicsId const &)
int getValue_FiberCh(HcalElectronicsId const &)
int getValue_Crate(HcalElectronicsId const &)
int getValue_CrateuTCA(HcalElectronicsId const &)
int getValue_FEDVME(HcalElectronicsId const &)
int getValue_FiberuTCAFiberCh(HcalElectronicsId const &)
int getValue_CrateVME(HcalElectronicsId const &)
int getValue_SlotuTCA(HcalElectronicsId const &)
int getValue_FiberVMEFiberCh(HcalElectronicsId const &)
int getValue_FEDVMESpigot(HcalElectronicsId const &)
int getValue_FEDuTCA(HcalElectronicsId const &)
int getValue_FiberuTCATPFiberChuTCATP(HcalElectronicsId const &)
int getValue_FEDuTCASlot(HcalElectronicsId const &)
int getValue_SLB(HcalElectronicsId const &)
int getValue_FiberuTCA(HcalElectronicsId const &)

Definition at line 140 of file ElectronicsQuantity.h.

getValueType_tid const hcaldqm::quantity::getValue_functions_tid[nTrigTowerQuantityType]
Initial value:
= {
int getValue_TTdepth(HcalTrigTowerDetId const &)
int getValue_TTSubdet(HcalTrigTowerDetId const &)
int getValue_TTSubdetPM(HcalTrigTowerDetId const &)
int getValue_TTiphi(HcalTrigTowerDetId const &)
int getValue_TTieta2x3(HcalTrigTowerDetId const &)
int getValue_TTieta(HcalTrigTowerDetId const &)

Definition at line 52 of file TrigTowerQuantity.h.

double const hcaldqm::quantity::max_did[nDetectorQuantityType] = {72.5, 84, 4.5, 4, 8}

Definition at line 56 of file DetectorQuantity.h.

const std::map<ElectronicsQuantityType, double> hcaldqm::quantity::max_eid
Initial value:
= {
{fFED, constants::fedList.size() - 0.5},
{fFEDVME, constants::fedListVME.size() - 0.5},
{fCrate, constants::crateList.size() - 0.5},
{fFEDuTCASlot, constants::FED_uTCA_NUM *constants::SLOT_uTCA_NUM},
{fFEDVMESpigot, constants::FED_VME_NUM *constants::SPIGOT_NUM},
{fFiberuTCAFiberCh, constants::FIBER_uTCA_NUM *constants::FIBERCH_NUM},
{fFiberVMEFiberCh, constants::FIBER_VME_NUM *constants::FIBERCH_NUM},
{fSLBSLBCh, constants::SLB_NUM *constants::SLBCH_NUM},
{fFiberuTCATPFiberChuTCATP, constants::TPFIBER_NUM *constants::TPFIBERCH_NUM},
}
std::vector< unsigned int > const fedListVME
Definition: Constants.h:61
std::vector< unsigned int > const crateListuTCA
Definition: Constants.h:63
int const TPFIBER_NUM
Definition: Constants.h:133
int const FIBERCH_NUM
Definition: Constants.h:124
std::vector< unsigned int > const fedListuTCA
Definition: Constants.h:58
int const SLOT_VME_NUM
Definition: Constants.h:106
std::vector< unsigned int > const fedList
Definition: Constants.h:55
int const SLB_NUM
Definition: Constants.h:129
int const SLBCH_NUM
Definition: Constants.h:137
int const FIBER_VME_NUM
Definition: Constants.h:115
int const FIBER_uTCA_NUM
Definition: Constants.h:120
int const SPIGOT_NUM
Definition: Constants.h:110
std::vector< unsigned int > const crateList
Definition: Constants.h:62
int const FED_uTCA_NUM
Definition: Constants.h:78
int const FED_VME_NUM
Definition: Constants.h:73
std::vector< unsigned int > const crateListVME
Definition: Constants.h:64
int const SLOT_uTCA_NUM
Definition: Constants.h:98
int const TPFIBERCH_NUM
Definition: Constants.h:141

Definition at line 284 of file ElectronicsQuantity.h.

double const hcaldqm::quantity::max_tid[nTrigTowerQuantityType] = {72.5, 82, 0.5, 2, 4, 8}

Definition at line 67 of file TrigTowerQuantity.h.

const std::map<ValueQuantityType, double> hcaldqm::quantity::max_value

Definition at line 190 of file ValueQuantity.h.

Referenced by TEcnaHistos::HistoPlot(), and TEcnaHistos::TopAxisForHistos().

double const hcaldqm::quantity::min_did[nDetectorQuantityType] = {0.5, 0, 0.5, 0, 0}

Definition at line 55 of file DetectorQuantity.h.

const std::map<ElectronicsQuantityType, double> hcaldqm::quantity::min_eid
Initial value:
= {
{fFED, -0.5},
{fFEDuTCA, -0.5},
{fFEDVME, -0.5},
{fCrate, -0.5},
{fCrateuTCA, -0.5},
{fCrateVME, -0.5},
{fSlotuTCA, 0.},
{fSlotVME, 0.},
{fSpigot, 0.},
{fFiberuTCA, 0.},
{fFiberVME, 0.},
{fFiberCh, 0.},
{fFEDuTCASlot, 0.},
{fSLB, 0.},
{fSLBCh, 0.},
{fSLBSLBCh, 0.},
{fFiberuTCATP, 0.},
}

Definition at line 260 of file ElectronicsQuantity.h.

double const hcaldqm::quantity::min_tid[nTrigTowerQuantityType] = {0.5, 0, -0.5, 0, 0, 0}

Definition at line 66 of file TrigTowerQuantity.h.

const std::map<ValueQuantityType, double> hcaldqm::quantity::min_value
std::string const hcaldqm::quantity::name_did[nDetectorQuantityType] = {"iphi", "ieta", "depth", "Subdet", "SubdetPM"}

Definition at line 54 of file DetectorQuantity.h.

const std::map<ElectronicsQuantityType, std::string> hcaldqm::quantity::name_eid
Initial value:
= {
{fFED, "FED"},
{fFEDuTCA, "FEDuTCA"},
{fFEDVME, "FEDVME"},
{fCrate, "Crate"},
{fCrateuTCA, "CrateuTCA"},
{fCrateVME, "CrateVME"},
{fSlotuTCA, "SlotuTCA"},
{fSlotVME, "SlotVME"},
{fSpigot, "Spigot"},
{fFiberuTCA, "FiberuTCA"},
{fFiberVME, "FiberVME"},
{fFiberCh, "FiberCh"},
{fFEDuTCASlot, "FEDuTCASlot"},
{fFEDVMESpigot, "FEDVMESpigot"},
{fFiberuTCAFiberCh, "FiberuTCAFiberCh"},
{fFiberVMEFiberCh, "FiberVMEFiberCh"},
{fSLB, "SLB"},
{fSLBCh, "SLBCh"},
{fSLBSLBCh, "SLB-SLBCh"},
{fFiberuTCATP, "TPFiber"},
{fFiberChuTCATP, "TPFiberCh"},
{fFiberuTCATPFiberChuTCATP, "TPF-TPFCh"},
}

Definition at line 236 of file ElectronicsQuantity.h.

std::string const hcaldqm::quantity::name_tid[nTrigTowerQuantityType]
Initial value:
= {
"TTiphi", "TTieta", "TTdepth", "TTSubdet", "TTSubdetPM", "TTieta"}

Definition at line 64 of file TrigTowerQuantity.h.

const std::map<ValueQuantityType, std::string> hcaldqm::quantity::name_value

Definition at line 70 of file ValueQuantity.h.

int const hcaldqm::quantity::nbins_did[nDetectorQuantityType] = {72, 84, 4, 4, 8}

Definition at line 57 of file DetectorQuantity.h.

const std::map<ElectronicsQuantityType, double> hcaldqm::quantity::nbins_eid
Initial value:
= {
{fFEDuTCASlot, constants::FED_uTCA_NUM *constants::SLOT_uTCA_NUM},
{fFEDVMESpigot, constants::FED_VME_NUM *constants::SPIGOT_NUM},
{fFiberuTCAFiberCh, constants::FIBER_uTCA_NUM *constants::FIBERCH_NUM},
{fFiberVMEFiberCh, constants::FIBER_VME_NUM *constants::FIBERCH_NUM},
{fSLBSLBCh, constants::SLB_NUM *constants::SLBCH_NUM},
{fFiberuTCATPFiberChuTCATP, constants::TPFIBER_NUM *constants::TPFIBERCH_NUM},
}
std::vector< unsigned int > const fedListVME
Definition: Constants.h:61
std::vector< unsigned int > const crateListuTCA
Definition: Constants.h:63
int const TPFIBER_NUM
Definition: Constants.h:133
int const FIBERCH_NUM
Definition: Constants.h:124
std::vector< unsigned int > const fedListuTCA
Definition: Constants.h:58
int const SLOT_VME_NUM
Definition: Constants.h:106
std::vector< unsigned int > const fedList
Definition: Constants.h:55
int const SLB_NUM
Definition: Constants.h:129
int const SLBCH_NUM
Definition: Constants.h:137
int const FIBER_VME_NUM
Definition: Constants.h:115
int const FIBER_uTCA_NUM
Definition: Constants.h:120
int const SPIGOT_NUM
Definition: Constants.h:110
std::vector< unsigned int > const crateList
Definition: Constants.h:62
int const FED_uTCA_NUM
Definition: Constants.h:78
int const FED_VME_NUM
Definition: Constants.h:73
std::vector< unsigned int > const crateListVME
Definition: Constants.h:64
int const SLOT_uTCA_NUM
Definition: Constants.h:98
int const TPFIBERCH_NUM
Definition: Constants.h:141

Definition at line 308 of file ElectronicsQuantity.h.

int const hcaldqm::quantity::nbins_tid[nTrigTowerQuantityType] = {72, 82, 1, 2, 4, 8}

Definition at line 68 of file TrigTowerQuantity.h.

const std::map<ValueQuantityType, int> hcaldqm::quantity::nbins_value

Definition at line 250 of file ValueQuantity.h.