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 = 0, fEvents = 1, fEnergy = 2, fTiming_ns = 3,
  fADC_128 = 4, fADC_5 = 5, fADC_15 = 6, ffC_10000 = 7,
  ffC_1000 = 8, ffC_3000 = 9, fTiming_TS = 10, fTiming_TS200 = 11,
  fLS = 12, fEt_256 = 13, fEt_128 = 14, fFG = 15,
  fRatio = 16, fDigiSize = 17, fAroundZero = 18, fRatio2 = 19,
  fdEtRatio = 20, fSumdEt = 21, fTiming_100TS = 22, fQIE10ADC_256 = 23,
  fQIE10TDC_64 = 24, fQIE10TDC_16 = 25, fDiffAbs = 26, fRatio_0to2 = 27,
  fN_to8000 = 28, fEnergyTotal = 29, fN_m0to10000 = 30, fEtCorr_256 = 31,
  fADCCorr_128 = 32, fBX = 33, fEnergy_1TeV = 34, fState = 35,
  fQIE10fC_400000 = 36, fDataSize = 37, fQIE10fC_2000 = 38, fQIE10fC_10000 = 39,
  fQIE8fC_1000_50 = 40, fTime_ns_250 = 41, fADC_256 = 42, ffC_generic_10000 = 43,
  ffC_generic_400000 = 44, fQIE10ADC_16 = 45, fDualAnodeAsymmetry = 46, fTimingRatio = 47,
  fQIE10fC_100000Coarse = 48, fBadTDC = 49, fRBX = 50, fTimingDiff_ns = 51,
  ffC_1000000 = 52, fTime_ns_250_coarse = 53, fCapidMinusBXmod4 = 54
}
 

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]
 
const std::map< ElectronicsQuantityType, double > max_eid
 
double const max_tid [nTrigTowerQuantityType]
 
const std::map< ValueQuantityType, double > max_value
 
double const min_did [nDetectorQuantityType]
 
const std::map< ElectronicsQuantityType, double > min_eid
 
double const min_tid [nTrigTowerQuantityType]
 
const std::map< ValueQuantityType, double > min_value
 
std::string const name_did [nDetectorQuantityType]
 
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]
 
const std::map< ElectronicsQuantityType, double > nbins_eid
 
int const nbins_tid [nTrigTowerQuantityType]
 
const std::map< ValueQuantityType, int > nbins_value
 

Typedef Documentation

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

Definition at line 46 of file DetectorQuantity.h.

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

Definition at line 141 of file ElectronicsQuantity.h.

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

Definition at line 52 of file TrigTowerQuantity.h.

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

Definition at line 47 of file DetectorQuantity.h.

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

Definition at line 142 of file ElectronicsQuantity.h.

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

Definition at line 48 of file DetectorQuantity.h.

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

Definition at line 143 of file ElectronicsQuantity.h.

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

Definition at line 54 of file TrigTowerQuantity.h.

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

Definition at line 53 of file TrigTowerQuantity.h.

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

Definition at line 45 of file DetectorQuantity.h.

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

Definition at line 140 of file ElectronicsQuantity.h.

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

Definition at line 51 of file TrigTowerQuantity.h.

Enumeration Type Documentation

Enumerator
fXAxis 
fYAxis 
fZAxis 
nAxisType 

Definition at line 28 of file Quantity.h.

Enumerator
fiphi 
fieta 
fdepth 
fSubdet 
fSubdetPM 
nDetectorQuantityType 

Definition at line 15 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 17 of file ElectronicsQuantity.h.

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

Definition at line 17 of file Quantity.h.

Enumerator
fTTiphi 
fTTieta 
fTTdepth 
fTTSubdet 
fTTSubdetPM 
fTTieta2x3 
nTrigTowerQuantityType 

Definition at line 15 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 
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 

Definition at line 13 of file ValueQuantity.h.

14  {
15  fN = 0,
16  fEvents = 1,
17  fEnergy = 2,
18  fTiming_ns = 3,
19  fADC_128 = 4,
20  fADC_5 = 5,
21  fADC_15 = 6,
22  ffC_10000 = 7,
23  ffC_1000 = 8,
24  ffC_3000 = 9,
25  fTiming_TS = 10,
26  fTiming_TS200 = 11,
27  fLS = 12,
28  fEt_256 = 13,
29  fEt_128 = 14,
30  fFG = 15,
31  fRatio = 16,
32  fDigiSize = 17,
33  fAroundZero = 18,
34  fRatio2 = 19,
35  fdEtRatio = 20,
36  fSumdEt = 21,
37  fTiming_100TS = 22,
38  fQIE10ADC_256 = 23,
39  fQIE10TDC_64 = 24,
40  fQIE10TDC_16 = 25,
41  fDiffAbs = 26,
42  fRatio_0to2 = 27,
43  fN_to8000 = 28,
44  fEnergyTotal = 29,
45  fN_m0to10000 = 30,
46  fEtCorr_256 = 31,
47  fADCCorr_128 = 32,
48  fBX = 33,
49  fEnergy_1TeV = 34,
50  fState = 35,
51  fQIE10fC_400000 = 36,
52  fDataSize = 37,
53  fQIE10fC_2000 = 38,
54  fQIE10fC_10000 = 39,
55  fQIE8fC_1000_50 = 40,
56  fTime_ns_250 = 41,
57  fADC_256 = 42,
58  ffC_generic_10000 = 43,
59  ffC_generic_400000 = 44,
60  fQIE10ADC_16 = 45,
62  fTimingRatio = 47,
64  fBadTDC = 49,
65  fRBX = 50,
66  fTimingDiff_ns = 51,
67  ffC_1000000 = 52,
69  fCapidMinusBXmod4 = 54,
70  };

Function Documentation

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

Definition at line 170 of file ElectronicsQuantity.cc.

References getValue_Crate().

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

Definition at line 175 of file ElectronicsQuantity.cc.

References getValue_CrateuTCA().

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

Definition at line 180 of file ElectronicsQuantity.cc.

References getValue_CrateVME().

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

Definition at line 49 of file DetectorQuantity.cc.

References HcalDetId::depth().

50  {
51  return (uint32_t)(did.depth());
52  }
uint32_t hcaldqm::quantity::getBin_FED ( HcalElectronicsId const &  eid)

Definition at line 155 of file ElectronicsQuantity.cc.

References getValue_FED().

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

Definition at line 160 of file ElectronicsQuantity.cc.

References getValue_FEDuTCA().

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

Definition at line 215 of file ElectronicsQuantity.cc.

References getValue_FEDuTCASlot().

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

Definition at line 165 of file ElectronicsQuantity.cc.

References getValue_FEDVME().

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

Definition at line 220 of file ElectronicsQuantity.cc.

References getValue_FEDVMESpigot().

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

Definition at line 210 of file ElectronicsQuantity.cc.

References getValue_FiberCh().

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

Definition at line 255 of file ElectronicsQuantity.cc.

References getValue_FiberChuTCATP().

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

Definition at line 200 of file ElectronicsQuantity.cc.

References getValue_FiberuTCA().

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

Definition at line 225 of file ElectronicsQuantity.cc.

References getValue_FiberuTCAFiberCh().

226  {
227  return (uint32_t)(getValue_FiberuTCAFiberCh(eid)+1);
228  }
int getValue_FiberuTCAFiberCh(HcalElectronicsId const &)
uint32_t hcaldqm::quantity::getBin_FiberuTCATP ( HcalElectronicsId const &  eid)

Definition at line 250 of file ElectronicsQuantity.cc.

References getValue_FiberuTCATP().

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

Definition at line 260 of file ElectronicsQuantity.cc.

References getValue_FiberuTCATPFiberChuTCATP().

261  {
262  return (uint32_t)(getValue_FiberuTCATPFiberChuTCATP(eid)+1);
263  }
int getValue_FiberuTCATPFiberChuTCATP(HcalElectronicsId const &)
uint32_t hcaldqm::quantity::getBin_FiberVME ( HcalElectronicsId const &  eid)

Definition at line 205 of file ElectronicsQuantity.cc.

References getValue_FiberVME().

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

Definition at line 230 of file ElectronicsQuantity.cc.

References getValue_FiberVMEFiberCh().

231  {
232  return (uint32_t)(getValue_FiberVMEFiberCh(eid)+1);
233  }
int getValue_FiberVMEFiberCh(HcalElectronicsId const &)
uint32_t hcaldqm::quantity::getBin_ieta ( HcalDetId const &  did)

Definition at line 44 of file DetectorQuantity.cc.

References getValue_ieta().

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

Definition at line 39 of file DetectorQuantity.cc.

References HcalDetId::iphi().

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

Definition at line 235 of file ElectronicsQuantity.cc.

References getValue_SLB().

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

Definition at line 240 of file ElectronicsQuantity.cc.

References getValue_SLBCh().

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

Definition at line 245 of file ElectronicsQuantity.cc.

References getValue_SLBSLBCh().

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

Definition at line 185 of file ElectronicsQuantity.cc.

References getValue_SlotuTCA().

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

Definition at line 190 of file ElectronicsQuantity.cc.

References getValue_SlotVME().

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

Definition at line 195 of file ElectronicsQuantity.cc.

References getValue_Spigot().

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

Definition at line 54 of file DetectorQuantity.cc.

References HcalDetId::subdet().

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

Definition at line 59 of file DetectorQuantity.cc.

References getValue_SubdetPM().

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

Definition at line 48 of file TrigTowerQuantity.cc.

References getValue_TTdepth().

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

Definition at line 43 of file TrigTowerQuantity.cc.

References getValue_TTieta().

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

Definition at line 63 of file TrigTowerQuantity.cc.

References getValue_TTieta2x3().

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

Definition at line 38 of file TrigTowerQuantity.cc.

References getValue_TTiphi().

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

Definition at line 53 of file TrigTowerQuantity.cc.

References getValue_TTSubdet().

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

Definition at line 58 of file TrigTowerQuantity.cc.

References getValue_TTSubdetPM().

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

Definition at line 75 of file DetectorQuantity.cc.

References HcalBarrel.

76  {
77  return HcalDetId(HcalBarrel, 1, 1, v);
78  }
HcalDetId hcaldqm::quantity::getDid_ieta ( int  v)

Definition at line 69 of file DetectorQuantity.cc.

References HcalBarrel.

Referenced by getLabels_ieta().

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

Definition at line 64 of file DetectorQuantity.cc.

References HcalBarrel.

65  {
66  return HcalDetId(HcalBarrel, v, 1, 1);
67  }
HcalDetId hcaldqm::quantity::getDid_Subdet ( int  v)

Definition at line 80 of file DetectorQuantity.cc.

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

Definition at line 85 of file DetectorQuantity.cc.

86  {
87  return HcalDetId((HcalSubdetector)(v/2+1), v%2==0?1:-1, 1, 1);
88  }
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)

Definition at line 295 of file ElectronicsQuantity.cc.

References hcaldqm::constants::FIBER_VME_MIN, hcaldqm::constants::FIBERCH_MIN, and hcaldqm::constants::SPIGOT_MIN.

296  {
298  SPIGOT_MIN, v);
299  }
int const SPIGOT_MIN
Definition: Constants.h:136
int const FIBER_VME_MIN
Definition: Constants.h:141
int const FIBERCH_MIN
Definition: Constants.h:151
Readout chain identification for Hcal.
HcalElectronicsId hcaldqm::quantity::getEid_FED ( int  v)

Definition at line 265 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().

266  {
269  HcalElectronicsId(utilities::fed2crate(v-FED_VME_NUM+1100).first,
270  utilities::fed2crate(v-FED_VME_NUM+1100).second, FIBER_uTCA_MIN1,
271  FIBERCH_MIN, false);
272  }
std::pair< uint16_t, uint16_t > fed2crate(int fed)
Definition: Utilities.cc:12
int const SPIGOT_MIN
Definition: Constants.h:136
int const FIBER_VME_MIN
Definition: Constants.h:141
int const FIBERCH_MIN
Definition: Constants.h:151
U second(std::pair< T, U > const &p)
int const FIBER_uTCA_MIN1
Definition: Constants.h:144
int const FED_VME_NUM
Definition: Constants.h:101
Readout chain identification for Hcal.
HcalElectronicsId hcaldqm::quantity::getEid_FEDuTCA ( int  v)

Definition at line 280 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().

281  {
284  FIBER_uTCA_MIN1, FIBERCH_MIN, false);
285  }
std::pair< uint16_t, uint16_t > fed2crate(int fed)
Definition: Utilities.cc:12
int const FIBERCH_MIN
Definition: Constants.h:151
U second(std::pair< T, U > const &p)
int const FIBER_uTCA_MIN1
Definition: Constants.h:144
int const FED_VME_NUM
Definition: Constants.h:101
Readout chain identification for Hcal.
HcalElectronicsId hcaldqm::quantity::getEid_FEDuTCASlot ( int  v)

Definition at line 348 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().

349  {
352  return HcalElectronicsId(
353  fedeid.crateId(), sloteid.slot(), FIBER_uTCA_MIN1,
354  FIBERCH_MIN, false);
355  }
int const FIBERCH_MIN
Definition: Constants.h:151
HcalElectronicsId getEid_SlotuTCA(int)
HcalElectronicsId getEid_FEDuTCA(int)
int const FIBER_uTCA_MIN1
Definition: Constants.h:144
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:126
Readout chain identification for Hcal.
HcalElectronicsId hcaldqm::quantity::getEid_FEDVME ( int  v)

Definition at line 274 of file ElectronicsQuantity.cc.

References hcaldqm::constants::FIBER_VME_MIN, hcaldqm::constants::FIBERCH_MIN, and hcaldqm::constants::SPIGOT_MIN.

Referenced by getEid_FEDVMESpigot(), and getLabels_FEDVME().

275  {
278  }
int const SPIGOT_MIN
Definition: Constants.h:136
int const FIBER_VME_MIN
Definition: Constants.h:141
int const FIBERCH_MIN
Definition: Constants.h:151
Readout chain identification for Hcal.
HcalElectronicsId hcaldqm::quantity::getEid_FEDVMESpigot ( int  v)

Definition at line 357 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().

358  {
362  spid.spigot(), fedeid.dccid());
363  }
constexpr int dccid() const
get the (Hcal local) DCC id for VME, crate number for uTCA
int const FIBER_VME_MIN
Definition: Constants.h:141
int const FIBERCH_MIN
Definition: Constants.h:151
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:138
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 365 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().

366  {
370  fibereid.fiberIndex(), fcheid.fiberChanId(), false);
371  }
int const FIBERCH_NUM
Definition: Constants.h:153
HcalElectronicsId getEid_FiberuTCA(int)
int const CRATE_uTCA_MIN
Definition: Constants.h:116
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:123
HcalElectronicsId hcaldqm::quantity::getEid_FiberuTCATP ( int  v)
HcalElectronicsId hcaldqm::quantity::getEid_FiberuTCATPFiberChuTCATP ( int  v)

Definition at line 416 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().

417  {
421  fibeid.fiberIndex(), fibcheid.fiberChanId(), true);
422  }
int const CRATE_uTCA_MIN
Definition: Constants.h:116
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:170
HcalElectronicsId getEid_FiberuTCATP(int)
Readout chain identification for Hcal.
int const SLOT_uTCA_MIN
Definition: Constants.h:123
HcalElectronicsId hcaldqm::quantity::getEid_FiberVME ( int  v)
HcalElectronicsId hcaldqm::quantity::getEid_FiberVMEFiberCh ( int  v)

Definition at line 373 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().

374  {
377  return HcalElectronicsId(fcheid.fiberChanId(),
378  fibereid.fiberIndex(), SPIGOT_MIN, CRATE_VME_MIN);
379  }
int const CRATE_VME_MIN
Definition: Constants.h:111
int const FIBERCH_NUM
Definition: Constants.h:153
int const SPIGOT_MIN
Definition: Constants.h:136
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 395 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().

396  {
399  return HcalElectronicsId(slbcheid.slbChannelIndex(),
402  }
HcalElectronicsId getEid_SLB(int)
int const CRATE_VME_MIN
Definition: Constants.h:111
int const SPIGOT_MIN
Definition: Constants.h:136
constexpr int slbChannelIndex() const
get the SLB channel index (valid only for VME trigger-chain ids)
int const SLOT_VME_MIN1
Definition: Constants.h:128
HcalElectronicsId getEid_SLBCh(int)
int const SLBCH_NUM
Definition: Constants.h:166
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)

Definition at line 314 of file ElectronicsQuantity.cc.

References hcaldqm::constants::CRATE_VME_MIN, hcaldqm::constants::FIBER_VME_MIN, hcaldqm::constants::FIBERCH_MIN, and hcaldqm::constants::SPIGOT_MIN.

315  {
316  return
319  }
int const CRATE_VME_MIN
Definition: Constants.h:111
int const SPIGOT_MIN
Definition: Constants.h:136
int const FIBER_VME_MIN
Definition: Constants.h:141
int const FIBERCH_MIN
Definition: Constants.h:151
Readout chain identification for Hcal.
HcalElectronicsId hcaldqm::quantity::getEid_Spigot ( int  v)

Definition at line 321 of file ElectronicsQuantity.cc.

References hcaldqm::constants::CRATE_VME_MIN, hcaldqm::constants::FIBER_VME_MIN, and hcaldqm::constants::FIBERCH_MIN.

Referenced by getEid_FEDVMESpigot().

322  {
324  v, CRATE_VME_MIN);
325  }
int const CRATE_VME_MIN
Definition: Constants.h:111
int const FIBER_VME_MIN
Definition: Constants.h:141
int const FIBERCH_MIN
Definition: Constants.h:151
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_Crate ( )

Definition at line 465 of file ElectronicsQuantity.cc.

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

466  {
467  std::vector<std::string> labels;
468  char name[10];
469  for (auto& it_crate : hcaldqm::constants::crateList) {
470  HcalElectronicsId eid = getEid_Crate(it_crate);
471  sprintf(name, "%d%c",
472  it_crate, eid.isVMEid()?'v':'u');
473  labels.push_back(std::string(name));
474  }
475  return labels;
476  }
constexpr bool isVMEid() const
std::vector< unsigned int > const crateList
Definition: Constants.h:90
HcalElectronicsId getEid_Crate(int)
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_CrateuTCA ( )

Definition at line 489 of file ElectronicsQuantity.cc.

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

490  {
491  std::vector<std::string> labels;
492  char name[10];
493  for (auto& it_crate : hcaldqm::constants::crateListuTCA) {
494  sprintf(name, "%du", it_crate);
495  labels.push_back(std::string(name));
496  }
497  return labels;
498  }
std::vector< unsigned int > const crateListuTCA
Definition: Constants.h:91
std::vector< std::string > hcaldqm::quantity::getLabels_CrateVME ( )

Definition at line 478 of file ElectronicsQuantity.cc.

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

479  {
480  std::vector<std::string> labels;
481  char name[10];
482  for (auto& it_crate : hcaldqm::constants::crateListVME) {
483  sprintf(name, "%dv", it_crate);
484  labels.push_back(std::string(name));
485  }
486  return labels;
487  }
std::vector< unsigned int > const crateListVME
Definition: Constants.h:92
std::vector< std::string > hcaldqm::quantity::getLabels_depth ( )

Definition at line 107 of file DetectorQuantity.cc.

108  {
109  return std::vector<std::string>();
110  }
std::vector< std::string > hcaldqm::quantity::getLabels_FED ( )

Definition at line 424 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.

425  {
426  std::vector<std::string> labels;
427  char name[10];
428  for (int i=0; i<FED_TOTAL_NUM; i++)
429  {
431  sprintf(name, "%d",
432  eid.isVMEid()?eid.dccid()+700:utilities::crate2fed(eid.crateId(),eid.slot()));
433  labels.push_back(std::string(name));
434  }
435  return labels;
436  }
uint16_t crate2fed(int crate, int slot)
Definition: Utilities.cc:30
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:108
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_FEDuTCA ( )

Definition at line 438 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.

439  {
440  std::vector<std::string> labels;
441  char name[10];
442  for (int i=0; i<FED_uTCA_NUM; i++)
443  {
445  sprintf(name, "%d",
446  utilities::crate2fed(eid.crateId(),eid.slot()));
447  labels.push_back(std::string(name));
448  }
449  return labels;
450  }
uint16_t crate2fed(int crate, int slot)
Definition: Utilities.cc:30
HcalElectronicsId getEid_FEDuTCA(int)
constexpr int crateId() const
get the readout VME crate number
int const FED_uTCA_NUM
Definition: Constants.h:106
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 577 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.

578  {
579  std::vector<std::string> labels;
580  char name[10];
581  for (int i=0; i<FED_uTCA_NUM; i++)
582  for (int j=0; j<SLOT_uTCA_NUM; j++)
583  {
584  if (j>0)
585  {
586  labels.push_back(std::string(""));
587  continue;
588  }
590  i*SLOT_uTCA_NUM+j);
591  sprintf(name, "%d-%d",
592  utilities::crate2fed(eid.crateId(),eid.slot()),
593  eid.slot());
594  labels.push_back(std::string(name));
595  }
596  return labels;
597  }
HcalElectronicsId getEid_FEDuTCASlot(int)
uint16_t crate2fed(int crate, int slot)
Definition: Utilities.cc:30
constexpr int crateId() const
get the readout VME crate number
int const FED_uTCA_NUM
Definition: Constants.h:106
constexpr int slot() const
get the htr or uHTR slot
int const SLOT_uTCA_NUM
Definition: Constants.h:126
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_FEDVME ( )

Definition at line 452 of file ElectronicsQuantity.cc.

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

453  {
454  std::vector<std::string> labels;
455  char name[10];
456  for (int i=0; i<FED_VME_NUM; i++)
457  {
458  sprintf(name, "%d",
459  getEid_FEDVME(i).dccid()+700);
460  labels.push_back(std::string(name));
461  }
462  return labels;
463  }
int const FED_VME_NUM
Definition: Constants.h:101
HcalElectronicsId getEid_FEDVME(int)
std::vector< std::string > hcaldqm::quantity::getLabels_FEDVMESpigot ( )

Definition at line 599 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.

600  {
601  std::vector<std::string> labels;
602  char name[10];
603  for (int i=0; i<FED_VME_NUM; i++)
604  for (int j=0; j<SPIGOT_NUM; j++)
605  {
606  if (j>0)
607  {
608  labels.push_back(std::string(""));
609  continue;
610  }
611 
613  i*SPIGOT_NUM+j);
614  sprintf(name, "%d-%d",
615  eid.dccid()+FED_VME_MIN, eid.spigot());
616  labels.push_back(std::string(name));
617  }
618  return labels;
619  }
constexpr int dccid() const
get the (Hcal local) DCC id for VME, crate number for uTCA
int const FED_VME_MIN
Definition: Constants.h:98
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:138
int const FED_VME_NUM
Definition: Constants.h:101
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_FiberCh ( )

Definition at line 563 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.

564  {
565  std::vector<std::string> labels;
566  char name[10];
567  for (int i=0; i<FIBERCH_NUM; i++)
568  {
570  sprintf(name, "%d",
571  eid.fiberChanId());
572  labels.push_back(std::string(name));
573  }
574  return labels;
575  }
int const FIBERCH_NUM
Definition: Constants.h:153
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 722 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.

723  {
724  std::vector<std::string> labels;
725  char name[10];
726  for (int i=0; i<TPFIBERCH_NUM; i++)
727  {
729  sprintf(name, "%d", eid.fiberChanId());
730  labels.push_back(std::string(name));
731  }
732 
733  return labels;
734  }
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:170
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_FiberuTCA ( )

Definition at line 535 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.

536  {
537  std::vector<std::string> labels;
538  char name[10];
539  for (int i=0; i<FIBER_uTCA_NUM; i++)
540  {
542  sprintf(name, "%d",
543  eid.fiberIndex());
544  labels.push_back(std::string(name));
545  }
546  return labels;
547  }
HcalElectronicsId getEid_FiberuTCA(int)
int const FIBER_uTCA_NUM
Definition: Constants.h:148
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 621 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.

622  {
623  std::vector<std::string> labels;
624  char name[10];
625  for (int i=0; i<FIBER_uTCA_NUM; i++)
626  for (int j=0; j<FIBERCH_NUM; j++)
627  {
628  if (j>0)
629  {
630  labels.push_back(std::string(""));
631  continue;
632  }
633 
635  i*FIBERCH_NUM+j);
636  sprintf(name, "%d-%d", eid.fiberIndex(),
637  eid.fiberChanId());
638  labels.push_back(std::string(name));
639  }
640  return labels;
641  }
HcalElectronicsId getEid_FiberuTCAFiberCh(int)
int const FIBERCH_NUM
Definition: Constants.h:153
int const FIBER_uTCA_NUM
Definition: Constants.h:148
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 708 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.

709  {
710  std::vector<std::string> labels;
711  char name[10];
712  for (int i=0; i<TPFIBER_NUM; i++)
713  {
715  sprintf(name, "%d", eid.fiberIndex());
716  labels.push_back(std::string(name));
717  }
718 
719  return labels;
720  }
int const TPFIBER_NUM
Definition: Constants.h:162
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 736 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.

737  {
738  std::vector<std::string> labels;
739  char name[10];
740  for (int i=0; i<TPFIBER_NUM; i++)
741  for (int j=0; j<TPFIBERCH_NUM; j++)
742  {
744  i*TPFIBERCH_NUM+j);
745  sprintf(name, "%d-%d", eid.fiberIndex(),
746  eid.fiberChanId());
747  labels.push_back(std::string(name));
748  }
749 
750  return labels;
751  }
int const TPFIBER_NUM
Definition: Constants.h:162
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:170
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_FiberVME ( )

Definition at line 549 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.

550  {
551  std::vector<std::string> labels;
552  char name[10];
553  for (int i=0; i<FIBER_VME_NUM; i++)
554  {
556  sprintf(name, "%d",
557  eid.fiberIndex());
558  labels.push_back(std::string(name));
559  }
560  return labels;
561  }
HcalElectronicsId getEid_FiberVME(int)
int const FIBER_VME_NUM
Definition: Constants.h:143
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 643 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.

644  {
645  std::vector<std::string> labels;
646  char name[10];
647  for (int i=0; i<FIBER_VME_NUM; i++)
648  for (int j=0; j<FIBERCH_NUM; j++)
649  {
650  if (j>0)
651  {
652  labels.push_back(std::string(""));
653  continue;
654  }
656  i*FIBERCH_NUM+j);
657  sprintf(name, "%d-%d", eid.fiberIndex(),
658  eid.fiberChanId());
659  labels.push_back(std::string(name));
660  }
661  return labels;
662  }
int const FIBERCH_NUM
Definition: Constants.h:153
HcalElectronicsId getEid_FiberVMEFiberCh(int)
int const FIBER_VME_NUM
Definition: Constants.h:143
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 95 of file DetectorQuantity.cc.

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

96  {
97  std::vector<std::string> labels;
98  char name[10];
99  for (int i=0; i<84; i++)
100  {
101  sprintf(name, "%d", getDid_ieta(i).ieta());
102  labels.push_back(std::string(name));
103  }
104  return labels;
105  }
HcalDetId getDid_ieta(int)
std::vector< std::string > hcaldqm::quantity::getLabels_iphi ( )

Definition at line 90 of file DetectorQuantity.cc.

91  {
92  return std::vector<std::string>();
93  }
std::vector< std::string > hcaldqm::quantity::getLabels_SLB ( )

Definition at line 664 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.

665  {
666  std::vector<std::string> labels;
667  char name[10];
668  for (int i=0; i<SLB_NUM; i++)
669  {
671  sprintf(name, "%d", eid.slbSiteNumber());
672  labels.push_back(std::string(name));
673  }
674 
675  return labels;
676  }
HcalElectronicsId getEid_SLB(int)
int const SLB_NUM
Definition: Constants.h:158
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 678 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.

679  {
680  std::vector<std::string> labels;
681  char name[10];
682  for (int i=0; i<SLBCH_NUM; i++)
683  {
685  sprintf(name, "%d", eid.slbChannelIndex());
686  labels.push_back(std::string(name));
687  }
688 
689  return labels;
690  }
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:166
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_SLBSLBCh ( )

Definition at line 692 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.

693  {
694  std::vector<std::string> labels;
695  char name[10];
696  for (int i=0; i<SLB_NUM; i++)
697  for (int j=0; j<SLBCH_NUM; j++)
698  {
699  HcalElectronicsId eid=getEid_SLBSLBCh(i*SLBCH_NUM+j);
700  sprintf(name, "%d-%d", eid.slbSiteNumber(),
701  eid.slbChannelIndex());
702  labels.push_back(std::string(name));
703  }
704 
705  return labels;
706  }
constexpr int slbChannelIndex() const
get the SLB channel index (valid only for VME trigger-chain ids)
int const SLB_NUM
Definition: Constants.h:158
int const SLBCH_NUM
Definition: Constants.h:166
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 500 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.

501  {
502  std::vector<std::string> labels;
503  char name[10];
504  for (int i=0; i<SLOT_uTCA_NUM; i++)
505  {
507  sprintf(name, "%d",
508  eid.slot());
509  labels.push_back(std::string(name));
510  }
511  return labels;
512  }
HcalElectronicsId getEid_SlotuTCA(int)
constexpr int slot() const
get the htr or uHTR slot
int const SLOT_uTCA_NUM
Definition: Constants.h:126
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_SlotVME ( )

Definition at line 514 of file ElectronicsQuantity.cc.

515  {
516  return std::vector<std::string>();
517  }
std::vector< std::string > hcaldqm::quantity::getLabels_Spigot ( )

Definition at line 519 of file ElectronicsQuantity.cc.

520  {
521  return std::vector<std::string>();
522 /* std::vector<std::string> labels;
523  char name[10];
524  for (int i=0; i<SPIGOT_NUM; i++)
525  {
526  HcalElectronicsId eid = getEid_Spigot(i);
527  sprintf(name, "%d",
528  eid.spigot());
529  labels.push_back(std::string(name));
530  }
531  return labels;
532  */
533  }
std::vector< std::string > hcaldqm::quantity::getLabels_Subdet ( )

Definition at line 112 of file DetectorQuantity.cc.

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

113  {
114  std::vector<std::string> labels;
115  for (int i=0; i<4; i++)
116  labels.push_back(constants::SUBDET_NAME[i]);
117  return labels;
118  }
std::string const SUBDET_NAME[SUBDET_NUM]
Definition: Constants.h:183
std::vector< std::string > hcaldqm::quantity::getLabels_SubdetPM ( )

Definition at line 120 of file DetectorQuantity.cc.

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

121  {
122  std::vector<std::string> labels;
123  for (int i=0; i<8; i++)
124  labels.push_back(constants::SUBDETPM_NAME[i]);
125  return labels;
126  }
std::string const SUBDETPM_NAME[2 *SUBDET_NUM]
Definition: Constants.h:184
std::vector< std::string > hcaldqm::quantity::getLabels_TTdepth ( )

Definition at line 127 of file TrigTowerQuantity.cc.

128  {
129  return std::vector<std::string>();
130  }
std::vector< std::string > hcaldqm::quantity::getLabels_TTieta ( )

Definition at line 103 of file TrigTowerQuantity.cc.

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

104  {
105  char name[10];
106  std::vector<std::string> labels;
107  for (int i=0; i<82; i++)
108  {
109  sprintf(name, "%d", getTid_TTieta(i).ieta());
110  labels.push_back(name);
111  }
112  return labels;
113  }
HcalTrigTowerDetId getTid_TTieta(int)
std::vector< std::string > hcaldqm::quantity::getLabels_TTieta2x3 ( )

Definition at line 115 of file TrigTowerQuantity.cc.

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

116  {
117  char name[10];
118  std::vector<std::string> labels;
119  for (int i=0; i<8; i++)
120  {
121  sprintf(name, "%d", getTid_TTieta2x3(i).ieta());
122  labels.push_back(name);
123  }
124  return labels;
125  }
HcalTrigTowerDetId getTid_TTieta2x3(int)
std::vector< std::string > hcaldqm::quantity::getLabels_TTiphi ( )

Definition at line 99 of file TrigTowerQuantity.cc.

100  {
101  return std::vector<std::string>();
102  }
std::vector< std::string > hcaldqm::quantity::getLabels_TTSubdet ( )

Definition at line 132 of file TrigTowerQuantity.cc.

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

133  {
134  std::vector<std::string> labels;
135  for (int i=0; i<2; i++)
136  labels.push_back(constants::TPSUBDET_NAME[
137  getTid_TTSubdet(i).ietaAbs()<29?0:1]);
138  return labels;
139  }
HcalTrigTowerDetId getTid_TTSubdet(int)
std::string const TPSUBDET_NAME[TPSUBDET_NUM]
Definition: Constants.h:187
std::vector< std::string > hcaldqm::quantity::getLabels_TTSubdetPM ( )

Definition at line 141 of file TrigTowerQuantity.cc.

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

142  {
143  std::vector<std::string> labels;
144  for (int i=0; i<4; i++)
145  {
147  int x = tid.ietaAbs()<29?0:2;
148  labels.push_back(constants::TPSUBDETPM_NAME[
149  tid.ieta()>0?x+1:x]);
150  return labels;
151  }
152  return labels;
153  }
std::string const TPSUBDETPM_NAME[2 *TPSUBDET_NUM]
Definition: Constants.h:188
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 76 of file TrigTowerQuantity.cc.

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

Definition at line 71 of file TrigTowerQuantity.cc.

Referenced by getLabels_TTieta().

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

Definition at line 91 of file TrigTowerQuantity.cc.

Referenced by getLabels_TTieta2x3().

92  {
93  // since numbering goes as
94  // -32 -29 29 32
95  // 0 3 4 7
96  return HcalTrigTowerDetId(v<4?-(3-v+29):(v-4)+29, 1);
97  }
HcalTrigTowerDetId hcaldqm::quantity::getTid_TTiphi ( int  v)

Definition at line 66 of file TrigTowerQuantity.cc.

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

Definition at line 81 of file TrigTowerQuantity.cc.

Referenced by getLabels_TTSubdet().

82  {
83  return HcalTrigTowerDetId(v==0?1:29, 1);
84  }
HcalTrigTowerDetId hcaldqm::quantity::getTid_TTSubdetPM ( int  v)

Definition at line 86 of file TrigTowerQuantity.cc.

Referenced by getLabels_TTSubdetPM().

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

Definition at line 30 of file ElectronicsQuantity.cc.

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

Referenced by getBin_Crate().

31  {
32  unsigned int crate = eid.crateId();
33  auto it_crate = std::find(std::begin(crateList), std::end(crateList), crate);
34  return ((it_crate == std::end(crateList)) ? -1 : std::distance(crateList.begin(), it_crate));
35  }
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:90
#define begin
Definition: vmac.h:32
int hcaldqm::quantity::getValue_CrateuTCA ( HcalElectronicsId const &  eid)

Definition at line 37 of file ElectronicsQuantity.cc.

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

Referenced by getBin_CrateuTCA().

38  {
39  unsigned int crate = eid.crateId();
40  auto it_crate = std::find(std::begin(crateListuTCA), std::end(crateListuTCA), crate);
41  return ((it_crate == std::end(crateListuTCA)) ? -1 : std::distance(crateListuTCA.begin(), it_crate));
42  }
std::vector< unsigned int > const crateListuTCA
Definition: Constants.h:91
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 44 of file ElectronicsQuantity.cc.

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

Referenced by getBin_CrateVME().

45  {
46  unsigned int crate = eid.crateId();
47  auto it_crate = std::find(std::begin(crateListVME), std::end(crateListVME), crate);
48  return ((it_crate == std::end(crateListVME)) ? -1 : std::distance(crateListVME.begin(), it_crate));
49  }
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:92
#define begin
Definition: vmac.h:32
int hcaldqm::quantity::getValue_depth ( HcalDetId const &  did)

Definition at line 23 of file DetectorQuantity.cc.

References HcalDetId::depth().

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

Definition at line 8 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().

9  {
10  unsigned int fed = utilities::crate2fed(eid.crateId(), eid.slot());
11  auto it_fed = std::find(std::begin(fedList), std::end(fedList), fed);
12  return ((it_fed == std::end(fedList)) ? -1 : std::distance(fedList.begin(), it_fed));
13  }
uint16_t crate2fed(int crate, int slot)
Definition: Utilities.cc:30
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:87
#define end
Definition: vmac.h:39
#define begin
Definition: vmac.h:32
int hcaldqm::quantity::getValue_FEDuTCA ( HcalElectronicsId const &  eid)

Definition at line 15 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().

16  {
17  unsigned int fed = utilities::crate2fed(eid.crateId(), eid.slot());
18  auto it_fed = std::find(std::begin(fedListuTCA), std::end(fedListuTCA), fed);
19  return ((it_fed == std::end(fedListuTCA)) ? -1 : std::distance(fedListuTCA.begin(), it_fed));
20  }
uint16_t crate2fed(int crate, int slot)
Definition: Utilities.cc:30
std::vector< unsigned int > const fedListuTCA
Definition: Constants.h:88
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 92 of file ElectronicsQuantity.cc.

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

Referenced by getBin_FEDuTCASlot().

93  {
94  int ifed = getValue_FEDuTCA(eid);
95  int islot = getValue_SlotuTCA(eid);
96  return ifed*SLOT_uTCA_NUM+islot;
97  }
int getValue_SlotuTCA(HcalElectronicsId const &)
int getValue_FEDuTCA(HcalElectronicsId const &)
int const SLOT_uTCA_NUM
Definition: Constants.h:126
int hcaldqm::quantity::getValue_FEDVME ( HcalElectronicsId const &  eid)

Definition at line 22 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().

23  {
24  unsigned int fed = utilities::crate2fed(eid.crateId(), eid.slot());
25  auto it_fed = std::find(std::begin(fedListVME), std::end(fedListVME), fed);
26  return ((it_fed == std::end(fedListVME)) ? -1 : std::distance(fedListVME.begin(), it_fed));
27 
28  }
std::vector< unsigned int > const fedListVME
Definition: Constants.h:89
uint16_t crate2fed(int crate, int slot)
Definition: Utilities.cc:30
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 99 of file ElectronicsQuantity.cc.

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

Referenced by getBin_FEDVMESpigot().

100  {
101  int ifed = getValue_FEDVME(eid);
102  int ispigot = getValue_Spigot(eid);
103  return ifed*SPIGOT_NUM+ispigot;
104  }
int getValue_Spigot(HcalElectronicsId const &)
int getValue_FEDVME(HcalElectronicsId const &)
int const SPIGOT_NUM
Definition: Constants.h:138
int hcaldqm::quantity::getValue_FiberCh ( HcalElectronicsId const &  eid)

Definition at line 87 of file ElectronicsQuantity.cc.

References HcalElectronicsId::fiberChanId().

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

88  {
89  return eid.fiberChanId();
90  }
int hcaldqm::quantity::getValue_FiberChuTCATP ( HcalElectronicsId const &  eid)

Definition at line 143 of file ElectronicsQuantity.cc.

References HcalElectronicsId::fiberChanId(), and hcaldqm::constants::TPFIBERCH_MIN.

Referenced by getBin_FiberChuTCATP(), and getValue_FiberuTCATPFiberChuTCATP().

144  {
145  return eid.fiberChanId()-TPFIBERCH_MIN;
146  }
int const TPFIBERCH_MIN
Definition: Constants.h:168
int hcaldqm::quantity::getValue_FiberuTCA ( HcalElectronicsId const &  eid)

Definition at line 71 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().

72  {
73  int fiber = eid.fiberIndex();
74  if (fiber<=FIBER_uTCA_MAX1)
75  fiber-=FIBER_uTCA_MIN1;
76  else
77  fiber = (FIBER_uTCA_MAX1-FIBER_uTCA_MIN1+1) +
78  fiber-FIBER_uTCA_MIN2;
79  return fiber;
80  }
int const FIBER_uTCA_MIN2
Definition: Constants.h:146
int const FIBER_uTCA_MIN1
Definition: Constants.h:144
int const FIBER_uTCA_MAX1
Definition: Constants.h:145
int hcaldqm::quantity::getValue_FiberuTCAFiberCh ( HcalElectronicsId const &  eid)

Definition at line 106 of file ElectronicsQuantity.cc.

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

Referenced by getBin_FiberuTCAFiberCh().

107  {
108  int ifiber = getValue_FiberuTCA(eid);
109  int ifch = getValue_FiberCh(eid);
110  return ifiber*FIBERCH_NUM+ifch;
111  }
int const FIBERCH_NUM
Definition: Constants.h:153
int getValue_FiberCh(HcalElectronicsId const &)
int getValue_FiberuTCA(HcalElectronicsId const &)
int hcaldqm::quantity::getValue_FiberuTCATP ( HcalElectronicsId const &  eid)

Definition at line 138 of file ElectronicsQuantity.cc.

References HcalElectronicsId::fiberIndex(), and hcaldqm::constants::TPFIBER_MIN.

Referenced by getBin_FiberuTCATP(), and getValue_FiberuTCATPFiberChuTCATP().

139  {
140  return eid.fiberIndex()-TPFIBER_MIN;
141  }
int const TPFIBER_MIN
Definition: Constants.h:160
int hcaldqm::quantity::getValue_FiberuTCATPFiberChuTCATP ( HcalElectronicsId const &  eid)

Definition at line 148 of file ElectronicsQuantity.cc.

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

Referenced by getBin_FiberuTCATPFiberChuTCATP().

149  {
150  int ifib = getValue_FiberuTCATP(eid);
151  int ifibch = getValue_FiberChuTCATP(eid);
152  return ifib*TPFIBERCH_NUM+ifibch;
153  }
int getValue_FiberChuTCATP(HcalElectronicsId const &)
int getValue_FiberuTCATP(HcalElectronicsId const &)
int const TPFIBERCH_NUM
Definition: Constants.h:170
int hcaldqm::quantity::getValue_FiberVME ( HcalElectronicsId const &  eid)

Definition at line 82 of file ElectronicsQuantity.cc.

References HcalElectronicsId::fiberIndex().

Referenced by getBin_FiberVME(), and getValue_FiberVMEFiberCh().

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

Definition at line 113 of file ElectronicsQuantity.cc.

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

Referenced by getBin_FiberVMEFiberCh().

114  {
115  int ifiber = getValue_FiberVME(eid);
116  int ifch = getValue_FiberCh(eid);
117  return ifiber*FIBERCH_NUM+ifch;
118  }
int const FIBERCH_NUM
Definition: Constants.h:153
int getValue_FiberVME(HcalElectronicsId const &)
int getValue_FiberCh(HcalElectronicsId const &)
int hcaldqm::quantity::getValue_ieta ( HcalDetId const &  did)

Definition at line 13 of file DetectorQuantity.cc.

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

Referenced by getBin_ieta().

14  {
15  int x = did.ieta();
16  if (x<0)
17  x = did.subdet()==HcalForward ? x+41 : x+42;
18  else
19  x = did.subdet()==HcalForward ? x+42 : x+41;
20  return x;
21  }
int hcaldqm::quantity::getValue_iphi ( HcalDetId const &  did)

Definition at line 8 of file DetectorQuantity.cc.

References HcalDetId::iphi().

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

Definition at line 120 of file ElectronicsQuantity.cc.

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

Referenced by getBin_SLB(), and getValue_SLBSLBCh().

121  {
122  int slbsite = eid.slbSiteNumber();
123  return slbsite-SLB_MIN;
124  }
int const SLB_MIN
Definition: Constants.h:156
int hcaldqm::quantity::getValue_SLBCh ( HcalElectronicsId const &  eid)

Definition at line 126 of file ElectronicsQuantity.cc.

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

Referenced by getBin_SLBCh(), and getValue_SLBSLBCh().

127  {
128  return eid.slbChannelIndex()-SLBCH_MIN;
129  }
int const SLBCH_MIN
Definition: Constants.h:164
int hcaldqm::quantity::getValue_SLBSLBCh ( HcalElectronicsId const &  eid)

Definition at line 131 of file ElectronicsQuantity.cc.

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

Referenced by getBin_SLBSLBCh().

132  {
133  int islb = getValue_SLB(eid);
134  int islbch = getValue_SLBCh(eid);
135  return islb*SLBCH_NUM+islbch;
136  }
int getValue_SLBCh(HcalElectronicsId const &)
int const SLBCH_NUM
Definition: Constants.h:166
int getValue_SLB(HcalElectronicsId const &)
int hcaldqm::quantity::getValue_SlotuTCA ( HcalElectronicsId const &  eid)

Definition at line 51 of file ElectronicsQuantity.cc.

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

Referenced by getBin_SlotuTCA(), and getValue_FEDuTCASlot().

52  {
53  return eid.slot()-SLOT_uTCA_MIN;
54  }
int const SLOT_uTCA_MIN
Definition: Constants.h:123
int hcaldqm::quantity::getValue_SlotVME ( HcalElectronicsId const &  eid)

Definition at line 56 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().

57  {
58  int slot = eid.slot();
59  if (slot<=SLOT_VME_MAX1)
60  slot-=SLOT_VME_MIN1;
61  else
62  slot = SLOT_VME_NUM1 + slot-SLOT_VME_MIN2;
63  return slot;
64  }
int const SLOT_VME_MAX1
Definition: Constants.h:129
int const SLOT_VME_MIN1
Definition: Constants.h:128
int const SLOT_VME_MIN2
Definition: Constants.h:130
int const SLOT_VME_NUM1
Definition: Constants.h:132
int hcaldqm::quantity::getValue_Spigot ( HcalElectronicsId const &  eid)

Definition at line 66 of file ElectronicsQuantity.cc.

References HcalElectronicsId::spigot().

Referenced by getBin_Spigot(), and getValue_FEDVMESpigot().

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

Definition at line 28 of file DetectorQuantity.cc.

References HcalDetId::subdet().

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

Definition at line 33 of file DetectorQuantity.cc.

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

Referenced by getBin_SubdetPM().

34  {
35  return did.ieta()<0 ? 2*(did.subdet()-1) :
36  2*(did.subdet()-1)+1;
37  }
int hcaldqm::quantity::getValue_TTdepth ( HcalTrigTowerDetId const &  tid)

Definition at line 17 of file TrigTowerQuantity.cc.

References HcalTrigTowerDetId::depth().

Referenced by getBin_TTdepth().

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

Definition at line 12 of file TrigTowerQuantity.cc.

References HcalTrigTowerDetId::ieta().

Referenced by getBin_TTieta().

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

Definition at line 33 of file TrigTowerQuantity.cc.

References HcalTrigTowerDetId::ieta().

Referenced by getBin_TTieta2x3().

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

Definition at line 7 of file TrigTowerQuantity.cc.

References HcalTrigTowerDetId::iphi().

Referenced by getBin_TTiphi().

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

Definition at line 22 of file TrigTowerQuantity.cc.

References HcalTrigTowerDetId::ietaAbs().

Referenced by getBin_TTSubdet().

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

Definition at line 27 of file TrigTowerQuantity.cc.

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

Referenced by getBin_TTSubdetPM().

28  {
29  int x = tid.ietaAbs()<29 ? 0 : 2;
30  return tid.ieta()>0 ? x+1 : x;
31  }

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 53 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 168 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 60 of file TrigTowerQuantity.h.

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

Definition at line 57 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 192 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 61 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 216 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 68 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 64 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 49 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 144 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 55 of file TrigTowerQuantity.h.

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

Definition at line 71 of file DetectorQuantity.h.

const std::map<ElectronicsQuantityType, double> hcaldqm::quantity::max_eid
Initial value:
= {
{fFED,constants::fedList.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:89
std::vector< unsigned int > const crateListuTCA
Definition: Constants.h:91
int const TPFIBER_NUM
Definition: Constants.h:162
int const FIBERCH_NUM
Definition: Constants.h:153
std::vector< unsigned int > const fedListuTCA
Definition: Constants.h:88
int const SLOT_VME_NUM
Definition: Constants.h:134
std::vector< unsigned int > const fedList
Definition: Constants.h:87
int const SLB_NUM
Definition: Constants.h:158
int const SLBCH_NUM
Definition: Constants.h:166
int const FIBER_VME_NUM
Definition: Constants.h:143
int const FIBER_uTCA_NUM
Definition: Constants.h:148
int const SPIGOT_NUM
Definition: Constants.h:138
std::vector< unsigned int > const crateList
Definition: Constants.h:90
int const FED_uTCA_NUM
Definition: Constants.h:106
int const FED_VME_NUM
Definition: Constants.h:101
std::vector< unsigned int > const crateListVME
Definition: Constants.h:92
int const SLOT_uTCA_NUM
Definition: Constants.h:126
int const TPFIBERCH_NUM
Definition: Constants.h:170

Definition at line 288 of file ElectronicsQuantity.h.

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

Definition at line 78 of file TrigTowerQuantity.h.

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

Definition at line 185 of file ValueQuantity.h.

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

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

Definition at line 68 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.},
{fSLB,0.},
{fSLBCh,0.},
{fSLBSLBCh,0.},
}

Definition at line 264 of file ElectronicsQuantity.h.

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

Definition at line 75 of file TrigTowerQuantity.h.

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

Definition at line 128 of file ValueQuantity.h.

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

std::string const hcaldqm::quantity::name_did[nDetectorQuantityType]
Initial value:
= {
"iphi", "ieta", "depth", "Subdet", "SubdetPM"
}

Definition at line 65 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"},
}

Definition at line 240 of file ElectronicsQuantity.h.

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

Definition at line 72 of file TrigTowerQuantity.h.

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

Definition at line 71 of file ValueQuantity.h.

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

Definition at line 74 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:89
std::vector< unsigned int > const crateListuTCA
Definition: Constants.h:91
int const TPFIBER_NUM
Definition: Constants.h:162
int const FIBERCH_NUM
Definition: Constants.h:153
std::vector< unsigned int > const fedListuTCA
Definition: Constants.h:88
int const SLOT_VME_NUM
Definition: Constants.h:134
std::vector< unsigned int > const fedList
Definition: Constants.h:87
int const SLB_NUM
Definition: Constants.h:158
int const SLBCH_NUM
Definition: Constants.h:166
int const FIBER_VME_NUM
Definition: Constants.h:143
int const FIBER_uTCA_NUM
Definition: Constants.h:148
int const SPIGOT_NUM
Definition: Constants.h:138
std::vector< unsigned int > const crateList
Definition: Constants.h:90
int const FED_uTCA_NUM
Definition: Constants.h:106
int const FED_VME_NUM
Definition: Constants.h:101
std::vector< unsigned int > const crateListVME
Definition: Constants.h:92
int const SLOT_uTCA_NUM
Definition: Constants.h:126
int const TPFIBERCH_NUM
Definition: Constants.h:170

Definition at line 312 of file ElectronicsQuantity.h.

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

Definition at line 81 of file TrigTowerQuantity.h.

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

Definition at line 242 of file ValueQuantity.h.