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, fEtCorr_data, fEtCorr_emul, 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,
  fEtlog2, fDiffRatio, fCPUenergy, fGPUenergy
}
 

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

◆ getBinType_did

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

Definition at line 43 of file DetectorQuantity.h.

◆ getBinType_eid

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

Definition at line 137 of file ElectronicsQuantity.h.

◆ getBinType_tid

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

Definition at line 49 of file TrigTowerQuantity.h.

◆ getDid_did

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

Definition at line 44 of file DetectorQuantity.h.

◆ getEid_eid

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

Definition at line 138 of file ElectronicsQuantity.h.

◆ getLabels_did

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

Definition at line 45 of file DetectorQuantity.h.

◆ getLabels_eid

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

Definition at line 139 of file ElectronicsQuantity.h.

◆ getLabels_tid

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

Definition at line 51 of file TrigTowerQuantity.h.

◆ getTid_tid

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

Definition at line 50 of file TrigTowerQuantity.h.

◆ getValueType_did

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

Definition at line 42 of file DetectorQuantity.h.

◆ getValueType_eid

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

Definition at line 136 of file ElectronicsQuantity.h.

◆ getValueType_tid

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

Definition at line 48 of file TrigTowerQuantity.h.

Enumeration Type Documentation

◆ AxisType

Enumerator
fXAxis 
fYAxis 
fZAxis 
nAxisType 

Definition at line 25 of file Quantity.h.

◆ DetectorQuantityType

Enumerator
fiphi 
fieta 
fdepth 
fSubdet 
fSubdetPM 
nDetectorQuantityType 

Definition at line 13 of file DetectorQuantity.h.

◆ ElectronicsQuantityType

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  };

◆ QuantityType

Enumerator
fDetectorQuantity 
fElectronicsQuantity 
fTrigTowerQuantity 
fValueQuantity 
fFlagQuantity 
fNone 
nQuantityType 

Definition at line 15 of file Quantity.h.

◆ TrigTowerQuantityType

Enumerator
fTTiphi 
fTTieta 
fTTdepth 
fTTSubdet 
fTTSubdetPM 
fTTieta2x3 
nTrigTowerQuantityType 

Definition at line 13 of file TrigTowerQuantity.h.

◆ ValueQuantityType

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 
fEtCorr_data 
fEtCorr_emul 
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 
fEtlog2 
fDiffRatio 
fCPUenergy 
fGPUenergy 

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,
47  fBX,
49  fState,
51  fDataSize,
56  fADC_256,
63  fBadTDC,
64  fRBX,
69  fBX_36,
70  fADC_256_4, // ADC from 0-255, with 4 ADC granularity
71  fEtlog2, // scale log2(ET+1)
72  fDiffRatio, // (v2-v1)/v1
73  fCPUenergy,
74  fGPUenergy,
75  };

Function Documentation

◆ getBin_Crate()

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

Definition at line 121 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, and getValue_Crate().

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

◆ getBin_CrateuTCA()

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

Definition at line 123 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, and getValue_CrateuTCA().

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

◆ getBin_CrateVME()

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

Definition at line 125 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, and getValue_CrateVME().

125 { return (uint32_t)(getValue_CrateVME(eid) + 1); }
int getValue_CrateVME(HcalElectronicsId const &)

◆ getBin_depth()

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  }

◆ getBin_FED()

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

Definition at line 115 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, and getValue_FED().

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

◆ getBin_FEDuTCA()

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

Definition at line 117 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, and getValue_FEDuTCA().

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

◆ getBin_FEDuTCASlot()

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

Definition at line 139 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, and getValue_FEDuTCASlot().

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

◆ getBin_FEDVME()

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

Definition at line 119 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, and getValue_FEDVME().

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

◆ getBin_FEDVMESpigot()

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

Definition at line 141 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, and getValue_FEDVMESpigot().

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

◆ getBin_FiberCh()

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

Definition at line 137 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, and getValue_FiberCh().

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

◆ getBin_FiberChuTCATP()

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

Definition at line 159 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, and getValue_FiberChuTCATP().

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

◆ getBin_FiberuTCA()

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

Definition at line 133 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, and getValue_FiberuTCA().

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

◆ getBin_FiberuTCAFiberCh()

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

Definition at line 143 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, and getValue_FiberuTCAFiberCh().

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

◆ getBin_FiberuTCATP()

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

Definition at line 157 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, and getValue_FiberuTCATP().

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

◆ getBin_FiberuTCATPFiberChuTCATP()

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

Definition at line 161 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, and getValue_FiberuTCATPFiberChuTCATP().

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

◆ getBin_FiberVME()

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

Definition at line 135 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, and getValue_FiberVME().

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

◆ getBin_FiberVMEFiberCh()

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

Definition at line 147 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, and getValue_FiberVMEFiberCh().

147  {
148  return (uint32_t)(getValue_FiberVMEFiberCh(eid) + 1);
149  }
int getValue_FiberVMEFiberCh(HcalElectronicsId const &)

◆ getBin_ieta()

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 &)

◆ getBin_iphi()

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()); }

◆ getBin_SLB()

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

Definition at line 151 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, and getValue_SLB().

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

◆ getBin_SLBCh()

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

Definition at line 153 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, and getValue_SLBCh().

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

◆ getBin_SLBSLBCh()

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

Definition at line 155 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, and getValue_SLBSLBCh().

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

◆ getBin_SlotuTCA()

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

Definition at line 127 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, and getValue_SlotuTCA().

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

◆ getBin_SlotVME()

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

Definition at line 129 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, and getValue_SlotVME().

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

◆ getBin_Spigot()

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

Definition at line 131 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, and getValue_Spigot().

131 { return (uint32_t)(getValue_Spigot(eid) + 1); }
int getValue_Spigot(HcalElectronicsId const &)

◆ getBin_Subdet()

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()); }

◆ getBin_SubdetPM()

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 &)

◆ getBin_TTdepth()

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 &)

◆ getBin_TTieta()

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 &)

◆ getBin_TTieta2x3()

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 &)

◆ getBin_TTiphi()

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 &)

◆ getBin_TTSubdet()

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 &)

◆ getBin_TTSubdetPM()

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 &)

◆ getDid_depth()

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

Definition at line 43 of file DetectorQuantity.cc.

References HcalBarrel, and findQualityFiles::v.

◆ getDid_ieta()

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

Definition at line 39 of file DetectorQuantity.cc.

References HcalBarrel, and findQualityFiles::v.

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  }

◆ getDid_iphi()

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

Definition at line 37 of file DetectorQuantity.cc.

References HcalBarrel, and findQualityFiles::v.

◆ getDid_Subdet()

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

Definition at line 45 of file DetectorQuantity.cc.

References findQualityFiles::v.

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

◆ getDid_SubdetPM()

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

Definition at line 47 of file DetectorQuantity.cc.

References findQualityFiles::v.

47 { return HcalDetId((HcalSubdetector)(v / 2 + 1), v % 2 == 0 ? 1 : -1, 1, 1); }
HcalSubdetector
Definition: HcalAssistant.h:31

◆ getEid_Crate()

HcalElectronicsId hcaldqm::quantity::getEid_Crate ( int  v)

◆ getEid_CrateuTCA()

HcalElectronicsId hcaldqm::quantity::getEid_CrateuTCA ( int  v)

◆ getEid_CrateVME()

HcalElectronicsId hcaldqm::quantity::getEid_CrateVME ( int  v)

◆ getEid_FED()

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, first, edm::second(), hcaldqm::constants::SPIGOT_MIN, and findQualityFiles::v.

Referenced by getLabels_FED().

165  {
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:120
int const FIBER_VME_MIN
Definition: Constants.h:125
int const FIBERCH_MIN
Definition: Constants.h:134
U second(std::pair< T, U > const &p)
int const FIBER_uTCA_MIN1
Definition: Constants.h:128
int const FED_VME_NUM
Definition: Constants.h:85
Readout chain identification for Hcal.

◆ getEid_FEDuTCA()

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, first, edm::second(), and findQualityFiles::v.

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:134
U second(std::pair< T, U > const &p)
int const FIBER_uTCA_MIN1
Definition: Constants.h:128
int const FED_VME_NUM
Definition: Constants.h:85
Readout chain identification for Hcal.

◆ getEid_FEDuTCASlot()

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(), hcaldqm::constants::SLOT_uTCA_NUM, and findQualityFiles::v.

Referenced by getLabels_FEDuTCASlot().

226  {
229  return HcalElectronicsId(fedeid.crateId(), sloteid.slot(), FIBER_uTCA_MIN1, FIBERCH_MIN, false);
230  }
constexpr int slot() const
get the htr or uHTR slot
int const FIBERCH_MIN
Definition: Constants.h:134
HcalElectronicsId getEid_SlotuTCA(int)
HcalElectronicsId getEid_FEDuTCA(int)
int const FIBER_uTCA_MIN1
Definition: Constants.h:128
int const SLOT_uTCA_NUM
Definition: Constants.h:110
constexpr int crateId() const
get the readout VME crate number
Readout chain identification for Hcal.

◆ getEid_FEDVME()

HcalElectronicsId hcaldqm::quantity::getEid_FEDVME ( int  v)

◆ getEid_FEDVMESpigot()

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(), hcaldqm::constants::SPIGOT_NUM, and findQualityFiles::v.

Referenced by getLabels_FEDVMESpigot().

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

◆ getEid_FiberCh()

HcalElectronicsId hcaldqm::quantity::getEid_FiberCh ( int  v)

◆ getEid_FiberChuTCATP()

HcalElectronicsId hcaldqm::quantity::getEid_FiberChuTCATP ( int  v)

◆ getEid_FiberuTCA()

HcalElectronicsId hcaldqm::quantity::getEid_FiberuTCA ( int  v)

◆ getEid_FiberuTCAFiberCh()

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(), hcaldqm::constants::SLOT_uTCA_MIN, and findQualityFiles::v.

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:136
HcalElectronicsId getEid_FiberuTCA(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...
int const CRATE_uTCA_MIN
Definition: Constants.h:100
constexpr int fiberChanId() const
get the fiber channel id (which of channels on a fiber)
HcalElectronicsId getEid_FiberCh(int)
Readout chain identification for Hcal.
int const SLOT_uTCA_MIN
Definition: Constants.h:107

◆ getEid_FiberuTCATP()

HcalElectronicsId hcaldqm::quantity::getEid_FiberuTCATP ( int  v)

◆ getEid_FiberuTCATPFiberChuTCATP()

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, hcaldqm::constants::TPFIBERCH_NUM, and findQualityFiles::v.

Referenced by getLabels_FiberuTCATPFiberChuTCATP().

278  {
281  return HcalElectronicsId(CRATE_uTCA_MIN, SLOT_uTCA_MIN, fibeid.fiberIndex(), fibcheid.fiberChanId(), true);
282  }
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...
int const CRATE_uTCA_MIN
Definition: Constants.h:100
constexpr int fiberChanId() const
get the fiber channel id (which of channels on a fiber)
HcalElectronicsId getEid_FiberChuTCATP(int)
int const TPFIBERCH_NUM
Definition: Constants.h:153
HcalElectronicsId getEid_FiberuTCATP(int)
Readout chain identification for Hcal.
int const SLOT_uTCA_MIN
Definition: Constants.h:107

◆ getEid_FiberVME()

HcalElectronicsId hcaldqm::quantity::getEid_FiberVME ( int  v)

◆ getEid_FiberVMEFiberCh()

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(), hcaldqm::constants::SPIGOT_MIN, and findQualityFiles::v.

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:95
int const FIBERCH_NUM
Definition: Constants.h:136
int const SPIGOT_MIN
Definition: Constants.h:120
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...
constexpr int fiberChanId() const
get the fiber channel id (which of channels on a fiber)
HcalElectronicsId getEid_FiberCh(int)
Readout chain identification for Hcal.

◆ getEid_SLB()

HcalElectronicsId hcaldqm::quantity::getEid_SLB ( int  v)

◆ getEid_SLBCh()

HcalElectronicsId hcaldqm::quantity::getEid_SLBCh ( int  v)

◆ getEid_SLBSLBCh()

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, hcaldqm::constants::SPIGOT_MIN, and findQualityFiles::v.

Referenced by getLabels_SLBSLBCh().

258  {
261  return HcalElectronicsId(slbcheid.slbChannelIndex(),
262  slbeid.slbSiteNumber(),
263  SPIGOT_MIN,
267  0);
268  }
constexpr int slbSiteNumber() const
get the SLB site number (valid only for VME trigger-chain ids)
HcalElectronicsId getEid_SLB(int)
int const CRATE_VME_MIN
Definition: Constants.h:95
int const SPIGOT_MIN
Definition: Constants.h:120
int const SLOT_VME_MIN1
Definition: Constants.h:112
HcalElectronicsId getEid_SLBCh(int)
int const SLBCH_NUM
Definition: Constants.h:149
constexpr int slbChannelIndex() const
get the SLB channel index (valid only for VME trigger-chain ids)
Readout chain identification for Hcal.

◆ getEid_SlotuTCA()

HcalElectronicsId hcaldqm::quantity::getEid_SlotuTCA ( int  v)

◆ getEid_SlotVME()

HcalElectronicsId hcaldqm::quantity::getEid_SlotVME ( int  v)

◆ getEid_Spigot()

HcalElectronicsId hcaldqm::quantity::getEid_Spigot ( int  v)

◆ getLabels_Crate()

std::vector< std::string > hcaldqm::quantity::getLabels_Crate ( )

Definition at line 316 of file ElectronicsQuantity.cc.

References hcaldqm::constants::crateList, runTauDisplay::eid, getEid_Crate(), SummaryClient_cfi::labels, Skims_PA_cff::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  }
std::vector< unsigned int > const crateList
Definition: Constants.h:72
HcalElectronicsId getEid_Crate(int)
Readout chain identification for Hcal.

◆ getLabels_CrateuTCA()

std::vector< std::string > hcaldqm::quantity::getLabels_CrateuTCA ( )

Definition at line 337 of file ElectronicsQuantity.cc.

References hcaldqm::constants::crateListuTCA, SummaryClient_cfi::labels, Skims_PA_cff::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:74

◆ getLabels_CrateVME()

std::vector< std::string > hcaldqm::quantity::getLabels_CrateVME ( )

Definition at line 327 of file ElectronicsQuantity.cc.

References hcaldqm::constants::crateListVME, SummaryClient_cfi::labels, Skims_PA_cff::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:75

◆ getLabels_depth()

std::vector< std::string > hcaldqm::quantity::getLabels_depth ( )

Definition at line 61 of file DetectorQuantity.cc.

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

◆ getLabels_FED()

std::vector< std::string > hcaldqm::quantity::getLabels_FED ( )

Definition at line 284 of file ElectronicsQuantity.cc.

References hcaldqm::utilities::crate2fed(), runTauDisplay::eid, hcaldqm::constants::FED_TOTAL_NUM, getEid_FED(), mps_fire::i, SummaryClient_cfi::labels, Skims_PA_cff::name, 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:29
HcalElectronicsId getEid_FED(int)
int const FED_TOTAL_NUM
Definition: Constants.h:92
Readout chain identification for Hcal.

◆ getLabels_FEDuTCA()

std::vector< std::string > hcaldqm::quantity::getLabels_FEDuTCA ( )

Definition at line 295 of file ElectronicsQuantity.cc.

References hcaldqm::utilities::crate2fed(), runTauDisplay::eid, hcaldqm::constants::FED_uTCA_NUM, getEid_FEDuTCA(), mps_fire::i, SummaryClient_cfi::labels, Skims_PA_cff::name, 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:29
HcalElectronicsId getEid_FEDuTCA(int)
int const FED_uTCA_NUM
Definition: Constants.h:90
Readout chain identification for Hcal.

◆ getLabels_FEDuTCASlot()

std::vector< std::string > hcaldqm::quantity::getLabels_FEDuTCASlot ( )

Definition at line 408 of file ElectronicsQuantity.cc.

References hcaldqm::utilities::crate2fed(), runTauDisplay::eid, hcaldqm::constants::FED_uTCA_NUM, getEid_FEDuTCASlot(), mps_fire::i, dqmiolumiharvest::j, SummaryClient_cfi::labels, Skims_PA_cff::name, 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  }
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:29
int const FED_uTCA_NUM
Definition: Constants.h:90
int const SLOT_uTCA_NUM
Definition: Constants.h:110
Readout chain identification for Hcal.

◆ getLabels_FEDVME()

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, SummaryClient_cfi::labels, Skims_PA_cff::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:85
HcalElectronicsId getEid_FEDVME(int)

◆ getLabels_FEDVMESpigot()

std::vector< std::string > hcaldqm::quantity::getLabels_FEDVMESpigot ( )

Definition at line 424 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, hcaldqm::constants::FED_VME_MIN, hcaldqm::constants::FED_VME_NUM, getEid_FEDVMESpigot(), mps_fire::i, dqmiolumiharvest::j, SummaryClient_cfi::labels, Skims_PA_cff::name, 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 
435  sprintf(name, "%d-%d", eid.dccid() + FED_VME_MIN, eid.spigot());
436  labels.push_back(std::string(name));
437  }
438  return labels;
439  }
int const FED_VME_MIN
Definition: Constants.h:82
HcalElectronicsId getEid_FEDVMESpigot(int)
int const SPIGOT_NUM
Definition: Constants.h:122
int const FED_VME_NUM
Definition: Constants.h:85
Readout chain identification for Hcal.

◆ getLabels_FiberCh()

std::vector< std::string > hcaldqm::quantity::getLabels_FiberCh ( )

Definition at line 397 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, hcaldqm::constants::FIBERCH_NUM, getEid_FiberCh(), mps_fire::i, SummaryClient_cfi::labels, Skims_PA_cff::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:136
HcalElectronicsId getEid_FiberCh(int)
Readout chain identification for Hcal.

◆ getLabels_FiberChuTCATP()

std::vector< std::string > hcaldqm::quantity::getLabels_FiberChuTCATP ( )

Definition at line 523 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, getEid_FiberChuTCATP(), mps_fire::i, SummaryClient_cfi::labels, Skims_PA_cff::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)
int const TPFIBERCH_NUM
Definition: Constants.h:153
Readout chain identification for Hcal.

◆ getLabels_FiberuTCA()

std::vector< std::string > hcaldqm::quantity::getLabels_FiberuTCA ( )

Definition at line 375 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, hcaldqm::constants::FIBER_uTCA_NUM, getEid_FiberuTCA(), mps_fire::i, SummaryClient_cfi::labels, Skims_PA_cff::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:132
Readout chain identification for Hcal.

◆ getLabels_FiberuTCAFiberCh()

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, getEid_FiberuTCAFiberCh(), mps_fire::i, dqmiolumiharvest::j, SummaryClient_cfi::labels, Skims_PA_cff::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 
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:136
int const FIBER_uTCA_NUM
Definition: Constants.h:132
Readout chain identification for Hcal.

◆ getLabels_FiberuTCATP()

std::vector< std::string > hcaldqm::quantity::getLabels_FiberuTCATP ( )

Definition at line 511 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, getEid_FiberuTCATP(), mps_fire::i, SummaryClient_cfi::labels, Skims_PA_cff::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:145
HcalElectronicsId getEid_FiberuTCATP(int)
Readout chain identification for Hcal.

◆ getLabels_FiberuTCATPFiberChuTCATP()

std::vector< std::string > hcaldqm::quantity::getLabels_FiberuTCATPFiberChuTCATP ( )

Definition at line 535 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, getEid_FiberuTCATPFiberChuTCATP(), mps_fire::i, dqmiolumiharvest::j, SummaryClient_cfi::labels, Skims_PA_cff::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:145
HcalElectronicsId getEid_FiberuTCATPFiberChuTCATP(int)
int const TPFIBERCH_NUM
Definition: Constants.h:153
Readout chain identification for Hcal.

◆ getLabels_FiberVME()

std::vector< std::string > hcaldqm::quantity::getLabels_FiberVME ( )

Definition at line 386 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, hcaldqm::constants::FIBER_VME_NUM, getEid_FiberVME(), mps_fire::i, SummaryClient_cfi::labels, Skims_PA_cff::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:127
Readout chain identification for Hcal.

◆ getLabels_FiberVMEFiberCh()

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, getEid_FiberVMEFiberCh(), mps_fire::i, dqmiolumiharvest::j, SummaryClient_cfi::labels, Skims_PA_cff::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  }
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:136
HcalElectronicsId getEid_FiberVMEFiberCh(int)
int const FIBER_VME_NUM
Definition: Constants.h:127
Readout chain identification for Hcal.

◆ getLabels_ieta()

std::vector< std::string > hcaldqm::quantity::getLabels_ieta ( )

Definition at line 51 of file DetectorQuantity.cc.

References getDid_ieta(), mps_fire::i, LEDCalibrationChannels::ieta, SummaryClient_cfi::labels, Skims_PA_cff::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)

◆ getLabels_iphi()

std::vector< std::string > hcaldqm::quantity::getLabels_iphi ( )

Definition at line 49 of file DetectorQuantity.cc.

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

◆ getLabels_SLB()

std::vector< std::string > hcaldqm::quantity::getLabels_SLB ( )

Definition at line 474 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, getEid_SLB(), mps_fire::i, SummaryClient_cfi::labels, Skims_PA_cff::name, hcaldqm::constants::SLB_NUM, 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:141
Readout chain identification for Hcal.

◆ getLabels_SLBCh()

std::vector< std::string > hcaldqm::quantity::getLabels_SLBCh ( )

Definition at line 486 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, getEid_SLBCh(), mps_fire::i, SummaryClient_cfi::labels, Skims_PA_cff::name, hcaldqm::constants::SLBCH_NUM, 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  }
HcalElectronicsId getEid_SLBCh(int)
int const SLBCH_NUM
Definition: Constants.h:149
Readout chain identification for Hcal.

◆ getLabels_SLBSLBCh()

std::vector< std::string > hcaldqm::quantity::getLabels_SLBSLBCh ( )

Definition at line 498 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, getEid_SLBSLBCh(), mps_fire::i, dqmiolumiharvest::j, SummaryClient_cfi::labels, Skims_PA_cff::name, hcaldqm::constants::SLB_NUM, hcaldqm::constants::SLBCH_NUM, 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++) {
504  sprintf(name, "%d-%d", eid.slbSiteNumber(), eid.slbChannelIndex());
505  labels.push_back(std::string(name));
506  }
507 
508  return labels;
509  }
int const SLB_NUM
Definition: Constants.h:141
int const SLBCH_NUM
Definition: Constants.h:149
Readout chain identification for Hcal.
HcalElectronicsId getEid_SLBSLBCh(int)

◆ getLabels_SlotuTCA()

std::vector< std::string > hcaldqm::quantity::getLabels_SlotuTCA ( )

Definition at line 347 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, getEid_SlotuTCA(), mps_fire::i, SummaryClient_cfi::labels, Skims_PA_cff::name, 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)
int const SLOT_uTCA_NUM
Definition: Constants.h:110
Readout chain identification for Hcal.

◆ getLabels_SlotVME()

std::vector< std::string > hcaldqm::quantity::getLabels_SlotVME ( )

Definition at line 358 of file ElectronicsQuantity.cc.

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

◆ getLabels_Spigot()

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  }

◆ getLabels_Subdet()

std::vector< std::string > hcaldqm::quantity::getLabels_Subdet ( )

Definition at line 63 of file DetectorQuantity.cc.

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

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

◆ getLabels_SubdetPM()

std::vector< std::string > hcaldqm::quantity::getLabels_SubdetPM ( )

Definition at line 71 of file DetectorQuantity.cc.

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

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

◆ getLabels_TTdepth()

std::vector< std::string > hcaldqm::quantity::getLabels_TTdepth ( )

Definition at line 74 of file TrigTowerQuantity.cc.

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

◆ getLabels_TTieta()

std::vector< std::string > hcaldqm::quantity::getLabels_TTieta ( )

Definition at line 54 of file TrigTowerQuantity.cc.

References getTid_TTieta(), mps_fire::i, LEDCalibrationChannels::ieta, SummaryClient_cfi::labels, and Skims_PA_cff::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)

◆ getLabels_TTieta2x3()

std::vector< std::string > hcaldqm::quantity::getLabels_TTieta2x3 ( )

Definition at line 64 of file TrigTowerQuantity.cc.

References getTid_TTieta2x3(), mps_fire::i, LEDCalibrationChannels::ieta, SummaryClient_cfi::labels, and Skims_PA_cff::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)

◆ getLabels_TTiphi()

std::vector< std::string > hcaldqm::quantity::getLabels_TTiphi ( )

Definition at line 53 of file TrigTowerQuantity.cc.

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

◆ getLabels_TTSubdet()

std::vector< std::string > hcaldqm::quantity::getLabels_TTSubdet ( )

Definition at line 76 of file TrigTowerQuantity.cc.

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

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

◆ getLabels_TTSubdetPM()

std::vector< std::string > hcaldqm::quantity::getLabels_TTSubdetPM ( )

Definition at line 84 of file TrigTowerQuantity.cc.

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

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

◆ getTid_TTdepth()

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

Definition at line 38 of file TrigTowerQuantity.cc.

References findQualityFiles::v.

◆ getTid_TTieta()

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

Definition at line 36 of file TrigTowerQuantity.cc.

References findQualityFiles::v.

Referenced by getLabels_TTieta().

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

◆ getTid_TTieta2x3()

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

Definition at line 46 of file TrigTowerQuantity.cc.

References findQualityFiles::v.

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  }

◆ getTid_TTiphi()

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

◆ getTid_TTSubdet()

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

Definition at line 40 of file TrigTowerQuantity.cc.

References findQualityFiles::v.

Referenced by getLabels_TTSubdet().

◆ getTid_TTSubdetPM()

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

Definition at line 42 of file TrigTowerQuantity.cc.

References findQualityFiles::v.

Referenced by getLabels_TTSubdetPM().

42  {
43  return HcalTrigTowerDetId(v % 2 == 0 ? -(v >= 2 ? 29 : 1) : (v >= 2 ? 29 : 1), 1);
44  }

◆ getValue_Crate()

int hcaldqm::quantity::getValue_Crate ( HcalElectronicsId const &  eid)

Definition at line 24 of file ElectronicsQuantity.cc.

References hcaldqm::constants::crateList, HLT_2022v12_cff::distance, runTauDisplay::eid, mps_fire::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:19
std::vector< unsigned int > const crateList
Definition: Constants.h:72

◆ getValue_CrateuTCA()

int hcaldqm::quantity::getValue_CrateuTCA ( HcalElectronicsId const &  eid)

Definition at line 30 of file ElectronicsQuantity.cc.

References hcaldqm::constants::crateListuTCA, HLT_2022v12_cff::distance, runTauDisplay::eid, mps_fire::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:74
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19

◆ getValue_CrateVME()

int hcaldqm::quantity::getValue_CrateVME ( HcalElectronicsId const &  eid)

Definition at line 36 of file ElectronicsQuantity.cc.

References hcaldqm::constants::crateListVME, HLT_2022v12_cff::distance, runTauDisplay::eid, mps_fire::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:19
std::vector< unsigned int > const crateListVME
Definition: Constants.h:75

◆ getValue_depth()

int hcaldqm::quantity::getValue_depth ( HcalDetId const &  did)

Definition at line 17 of file DetectorQuantity.cc.

References HcalDetId::depth().

17 { return did.depth(); }

◆ getValue_FED()

int hcaldqm::quantity::getValue_FED ( HcalElectronicsId const &  eid)

Definition at line 6 of file ElectronicsQuantity.cc.

References hcaldqm::utilities::crate2fed(), HLT_2022v12_cff::distance, runTauDisplay::eid, mps_fire::end, hcaldqm::constants::fedList, and spr::find().

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:29
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
std::vector< unsigned int > const fedList
Definition: Constants.h:63

◆ getValue_FEDuTCA()

int hcaldqm::quantity::getValue_FEDuTCA ( HcalElectronicsId const &  eid)

Definition at line 12 of file ElectronicsQuantity.cc.

References hcaldqm::utilities::crate2fed(), HLT_2022v12_cff::distance, runTauDisplay::eid, mps_fire::end, hcaldqm::constants::fedListuTCA, and spr::find().

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:29
std::vector< unsigned int > const fedListuTCA
Definition: Constants.h:67
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19

◆ getValue_FEDuTCASlot()

int hcaldqm::quantity::getValue_FEDuTCASlot ( HcalElectronicsId const &  eid)

Definition at line 68 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, 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:110

◆ getValue_FEDVME()

int hcaldqm::quantity::getValue_FEDVME ( HcalElectronicsId const &  eid)

Definition at line 18 of file ElectronicsQuantity.cc.

References hcaldqm::utilities::crate2fed(), HLT_2022v12_cff::distance, runTauDisplay::eid, mps_fire::end, hcaldqm::constants::fedListVME, and spr::find().

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:71
uint16_t crate2fed(int crate, int slot)
Definition: Utilities.cc:29
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19

◆ getValue_FEDVMESpigot()

int hcaldqm::quantity::getValue_FEDVMESpigot ( HcalElectronicsId const &  eid)

Definition at line 74 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, 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:122

◆ getValue_FiberCh()

int hcaldqm::quantity::getValue_FiberCh ( HcalElectronicsId const &  eid)

Definition at line 66 of file ElectronicsQuantity.cc.

References runTauDisplay::eid.

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

66 { return eid.fiberChanId(); }

◆ getValue_FiberChuTCATP()

int hcaldqm::quantity::getValue_FiberChuTCATP ( HcalElectronicsId const &  eid)

Definition at line 107 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, and hcaldqm::constants::TPFIBERCH_MIN.

Referenced by getBin_FiberChuTCATP(), and getValue_FiberuTCATPFiberChuTCATP().

107 { return eid.fiberChanId() - TPFIBERCH_MIN; }
int const TPFIBERCH_MIN
Definition: Constants.h:151

◆ getValue_FiberuTCA()

int hcaldqm::quantity::getValue_FiberuTCA ( HcalElectronicsId const &  eid)

Definition at line 55 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, hcaldqm::constants::FIBER_uTCA_MAX1, hcaldqm::constants::FIBER_uTCA_MIN1, and hcaldqm::constants::FIBER_uTCA_MIN2.

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:130
int const FIBER_uTCA_MIN1
Definition: Constants.h:128
int const FIBER_uTCA_MAX1
Definition: Constants.h:129

◆ getValue_FiberuTCAFiberCh()

int hcaldqm::quantity::getValue_FiberuTCAFiberCh ( HcalElectronicsId const &  eid)

Definition at line 80 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, 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:136
int getValue_FiberCh(HcalElectronicsId const &)
int getValue_FiberuTCA(HcalElectronicsId const &)

◆ getValue_FiberuTCATP()

int hcaldqm::quantity::getValue_FiberuTCATP ( HcalElectronicsId const &  eid)

Definition at line 105 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, and hcaldqm::constants::TPFIBER_MIN.

Referenced by getBin_FiberuTCATP(), and getValue_FiberuTCATPFiberChuTCATP().

105 { return eid.fiberIndex() - TPFIBER_MIN; }
int const TPFIBER_MIN
Definition: Constants.h:143

◆ getValue_FiberuTCATPFiberChuTCATP()

int hcaldqm::quantity::getValue_FiberuTCATPFiberChuTCATP ( HcalElectronicsId const &  eid)

Definition at line 109 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, 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:153

◆ getValue_FiberVME()

int hcaldqm::quantity::getValue_FiberVME ( HcalElectronicsId const &  eid)

Definition at line 64 of file ElectronicsQuantity.cc.

References runTauDisplay::eid.

Referenced by getBin_FiberVME(), and getValue_FiberVMEFiberCh().

64 { return eid.fiberIndex() - 1; }

◆ getValue_FiberVMEFiberCh()

int hcaldqm::quantity::getValue_FiberVMEFiberCh ( HcalElectronicsId const &  eid)

Definition at line 86 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, 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:136
int getValue_FiberVME(HcalElectronicsId const &)
int getValue_FiberCh(HcalElectronicsId const &)

◆ getValue_ieta()

int hcaldqm::quantity::getValue_ieta ( HcalDetId const &  did)

Definition at line 8 of file DetectorQuantity.cc.

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

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  }
float x

◆ getValue_iphi()

int hcaldqm::quantity::getValue_iphi ( HcalDetId const &  did)

Definition at line 6 of file DetectorQuantity.cc.

References HcalDetId::iphi().

6 { return did.iphi(); }

◆ getValue_SLB()

int hcaldqm::quantity::getValue_SLB ( HcalElectronicsId const &  eid)

Definition at line 92 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, and hcaldqm::constants::SLB_MIN.

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:139

◆ getValue_SLBCh()

int hcaldqm::quantity::getValue_SLBCh ( HcalElectronicsId const &  eid)

Definition at line 97 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, and hcaldqm::constants::SLBCH_MIN.

Referenced by getBin_SLBCh(), and getValue_SLBSLBCh().

97 { return eid.slbChannelIndex() - SLBCH_MIN; }
int const SLBCH_MIN
Definition: Constants.h:147

◆ getValue_SLBSLBCh()

int hcaldqm::quantity::getValue_SLBSLBCh ( HcalElectronicsId const &  eid)

Definition at line 99 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, 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:149
int getValue_SLB(HcalElectronicsId const &)

◆ getValue_SlotuTCA()

int hcaldqm::quantity::getValue_SlotuTCA ( HcalElectronicsId const &  eid)

Definition at line 42 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, 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:107

◆ getValue_SlotVME()

int hcaldqm::quantity::getValue_SlotVME ( HcalElectronicsId const &  eid)

Definition at line 44 of file ElectronicsQuantity.cc.

References runTauDisplay::eid, 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:113
int const SLOT_VME_MIN1
Definition: Constants.h:112
int const SLOT_VME_MIN2
Definition: Constants.h:114
int const SLOT_VME_NUM1
Definition: Constants.h:116

◆ getValue_Spigot()

int hcaldqm::quantity::getValue_Spigot ( HcalElectronicsId const &  eid)

Definition at line 53 of file ElectronicsQuantity.cc.

References runTauDisplay::eid.

Referenced by getBin_Spigot(), and getValue_FEDVMESpigot().

53 { return eid.spigot(); }

◆ getValue_Subdet()

int hcaldqm::quantity::getValue_Subdet ( HcalDetId const &  did)

Definition at line 19 of file DetectorQuantity.cc.

References HcalDetId::subdet().

19 { return did.subdet() - 1; }

◆ getValue_SubdetPM()

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  }

◆ getValue_TTdepth()

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(); }

◆ getValue_TTieta()

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; }

◆ getValue_TTieta2x3()

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  }

◆ getValue_TTiphi()

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(); }

◆ getValue_TTSubdet()

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; }

◆ getValue_TTSubdetPM()

int hcaldqm::quantity::getValue_TTSubdetPM ( HcalTrigTowerDetId const &  tid)

Definition at line 13 of file TrigTowerQuantity.cc.

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

Referenced by getBin_TTSubdetPM().

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

Variable Documentation

◆ getBin_functions_did

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.

Referenced by hcaldqm::quantity::DetectorQuantity::getBin().

◆ getBin_functions_eid

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.

Referenced by hcaldqm::quantity::ElectronicsQuantity::getBin().

◆ getBin_functions_tid

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.

Referenced by hcaldqm::quantity::TrigTowerQuantity::getBin().

◆ getDid_functions_did

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

Definition at line 50 of file DetectorQuantity.h.

◆ getEid_functions_eid

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_functions_did

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.

Referenced by hcaldqm::quantity::DetectorQuantity::getLabels().

◆ getLabels_functions_eid

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.

Referenced by hcaldqm::quantity::ElectronicsQuantity::getLabels().

◆ getLabels_functions_tid

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.

Referenced by hcaldqm::quantity::TrigTowerQuantity::getLabels().

◆ getTid_functions_tid

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.

◆ getValue_functions_did

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.

Referenced by hcaldqm::quantity::DetectorQuantity::getValue().

◆ getValue_functions_eid

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.

Referenced by hcaldqm::quantity::ElectronicsQuantity::getValue().

◆ getValue_functions_tid

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.

Referenced by hcaldqm::quantity::TrigTowerQuantity::getValue().

◆ max_did

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

Definition at line 56 of file DetectorQuantity.h.

Referenced by hcaldqm::quantity::DetectorQuantity::max().

◆ max_eid

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},
}
std::vector< unsigned int > const fedListVME
Definition: Constants.h:71
std::vector< unsigned int > const crateListuTCA
Definition: Constants.h:74
int const TPFIBER_NUM
Definition: Constants.h:145
int const FIBERCH_NUM
Definition: Constants.h:136
std::vector< unsigned int > const fedListuTCA
Definition: Constants.h:67
int const SLOT_VME_NUM
Definition: Constants.h:118
std::vector< unsigned int > const fedList
Definition: Constants.h:63
int const SLB_NUM
Definition: Constants.h:141
int const SLBCH_NUM
Definition: Constants.h:149
int const FIBER_VME_NUM
Definition: Constants.h:127
int const FIBER_uTCA_NUM
Definition: Constants.h:132
int const SPIGOT_NUM
Definition: Constants.h:122
std::vector< unsigned int > const crateList
Definition: Constants.h:72
int const FED_uTCA_NUM
Definition: Constants.h:90
int const FED_VME_NUM
Definition: Constants.h:85
std::vector< unsigned int > const crateListVME
Definition: Constants.h:75
int const SLOT_uTCA_NUM
Definition: Constants.h:110
int const TPFIBERCH_NUM
Definition: Constants.h:153

Definition at line 284 of file ElectronicsQuantity.h.

Referenced by hcaldqm::quantity::ElectronicsQuantity::max().

◆ max_tid

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

Definition at line 67 of file TrigTowerQuantity.h.

Referenced by hcaldqm::quantity::TrigTowerQuantity::max().

◆ max_value

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

◆ min_did

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

Definition at line 55 of file DetectorQuantity.h.

Referenced by hcaldqm::quantity::DetectorQuantity::min().

◆ min_eid

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.

Referenced by hcaldqm::quantity::ElectronicsQuantity::min().

◆ min_tid

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

Definition at line 66 of file TrigTowerQuantity.h.

Referenced by hcaldqm::quantity::TrigTowerQuantity::min().

◆ min_value

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

◆ name_did

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

Definition at line 54 of file DetectorQuantity.h.

◆ name_eid

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.

◆ name_tid

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

Definition at line 64 of file TrigTowerQuantity.h.

◆ name_value

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

Definition at line 76 of file ValueQuantity.h.

◆ nbins_did

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

Definition at line 57 of file DetectorQuantity.h.

Referenced by hcaldqm::quantity::DetectorQuantity::nbins().

◆ nbins_eid

const std::map<ElectronicsQuantityType, double> hcaldqm::quantity::nbins_eid
Initial value:
= {
}
std::vector< unsigned int > const fedListVME
Definition: Constants.h:71
std::vector< unsigned int > const crateListuTCA
Definition: Constants.h:74
int const TPFIBER_NUM
Definition: Constants.h:145
int const FIBERCH_NUM
Definition: Constants.h:136
std::vector< unsigned int > const fedListuTCA
Definition: Constants.h:67
int const SLOT_VME_NUM
Definition: Constants.h:118
std::vector< unsigned int > const fedList
Definition: Constants.h:63
int const SLB_NUM
Definition: Constants.h:141
int const SLBCH_NUM
Definition: Constants.h:149
int const FIBER_VME_NUM
Definition: Constants.h:127
int const FIBER_uTCA_NUM
Definition: Constants.h:132
int const SPIGOT_NUM
Definition: Constants.h:122
std::vector< unsigned int > const crateList
Definition: Constants.h:72
int const FED_uTCA_NUM
Definition: Constants.h:90
int const FED_VME_NUM
Definition: Constants.h:85
std::vector< unsigned int > const crateListVME
Definition: Constants.h:75
int const SLOT_uTCA_NUM
Definition: Constants.h:110
int const TPFIBERCH_NUM
Definition: Constants.h:153

Definition at line 308 of file ElectronicsQuantity.h.

Referenced by hcaldqm::quantity::ElectronicsQuantity::nbins().

◆ nbins_tid

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

Definition at line 68 of file TrigTowerQuantity.h.

Referenced by hcaldqm::quantity::TrigTowerQuantity::nbins().

◆ nbins_value

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

Definition at line 274 of file ValueQuantity.h.

Referenced by hcaldqm::quantity::ValueQuantity::nbins().