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  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_20TS = 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, nValueQuantityType = 49
}
 

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 142 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 143 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 144 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 141 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 18 of file ElectronicsQuantity.h.

19  {
20  fFED = 0,
21  fFEDuTCA = 1,
22  fFEDVME = 2,
23  fCrate = 3,
24  fCrateuTCA = 4,
25  fCrateVME = 5,
26  fSlotuTCA = 6,
27  fSlotVME = 7,
28  fSpigot = 8,
29  fFiberuTCA = 9,
30  fFiberVME = 10,
31  fFiberCh = 11,
32 
33  // Complex Quantities
34  fFEDuTCASlot = 12,
35  fFEDVMESpigot = 13,
36  fFiberuTCAFiberCh = 14,
37  fFiberVMEFiberCh = 15,
38 
39  // Adding Trigger Quantities for VME
40  fSLB = 16,
41  fSLBCh = 17,
42  fSLBSLBCh = 18,
43 
44  // Adding Trigger Quantities for uTCA
45  fFiberuTCATP = 19,
46  fFiberChuTCATP = 20,
48 
50  };
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_20TS 
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 
nValueQuantityType 

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_20TS = 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  nValueQuantityType = 49,
65  };

Function Documentation

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

Definition at line 169 of file ElectronicsQuantity.cc.

References getValue_Crate().

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

Definition at line 174 of file ElectronicsQuantity.cc.

References getValue_CrateuTCA().

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

Definition at line 179 of file ElectronicsQuantity.cc.

References getValue_CrateVME().

180  {
181  return (uint32_t)(getValue_CrateVME(eid)+1);
182  }
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 154 of file ElectronicsQuantity.cc.

References getValue_FED().

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

Definition at line 159 of file ElectronicsQuantity.cc.

References getValue_FEDuTCA().

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

Definition at line 214 of file ElectronicsQuantity.cc.

References getValue_FEDuTCASlot().

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

Definition at line 164 of file ElectronicsQuantity.cc.

References getValue_FEDVME().

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

Definition at line 219 of file ElectronicsQuantity.cc.

References getValue_FEDVMESpigot().

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

Definition at line 209 of file ElectronicsQuantity.cc.

References getValue_FiberCh().

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

Definition at line 254 of file ElectronicsQuantity.cc.

References getValue_FiberChuTCATP().

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

Definition at line 199 of file ElectronicsQuantity.cc.

References getValue_FiberuTCA().

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

Definition at line 224 of file ElectronicsQuantity.cc.

References getValue_FiberuTCAFiberCh().

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

Definition at line 249 of file ElectronicsQuantity.cc.

References getValue_FiberuTCATP().

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

Definition at line 259 of file ElectronicsQuantity.cc.

References getValue_FiberuTCATPFiberChuTCATP().

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

Definition at line 204 of file ElectronicsQuantity.cc.

References getValue_FiberVME().

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

Definition at line 229 of file ElectronicsQuantity.cc.

References getValue_FiberVMEFiberCh().

230  {
231  return (uint32_t)(getValue_FiberVMEFiberCh(eid)+1);
232  }
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 234 of file ElectronicsQuantity.cc.

References getValue_SLB().

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

Definition at line 239 of file ElectronicsQuantity.cc.

References getValue_SLBCh().

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

Definition at line 244 of file ElectronicsQuantity.cc.

References getValue_SLBSLBCh().

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

Definition at line 184 of file ElectronicsQuantity.cc.

References getValue_SlotuTCA().

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

Definition at line 189 of file ElectronicsQuantity.cc.

References getValue_SlotVME().

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

Definition at line 194 of file ElectronicsQuantity.cc.

References getValue_Spigot().

195  {
196  return (uint32_t)(getValue_Spigot(eid)+1);
197  }
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 294 of file ElectronicsQuantity.cc.

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

Referenced by getLabels_CrateVME().

295  {
297  SPIGOT_MIN, v);
298  }
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 264 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().

265  {
268  HcalElectronicsId(utilities::fed2crate(v-FED_VME_NUM+1100).first,
269  utilities::fed2crate(v-FED_VME_NUM+1100).second, FIBER_uTCA_MIN1,
270  FIBERCH_MIN, false);
271  }
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 279 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().

280  {
283  FIBER_uTCA_MIN1, FIBERCH_MIN, false);
284  }
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 347 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().

348  {
351  return HcalElectronicsId(
352  fedeid.crateId(), sloteid.slot(), FIBER_uTCA_MIN1,
353  FIBERCH_MIN, false);
354  }
int crateId() const
get the readout VME crate number
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
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 273 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().

274  {
277  }
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 356 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().

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

365  {
369  fibereid.fiberIndex(), fcheid.fiberChanId(), false);
370  }
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 FIBERCH_NUM
Definition: Constants.h:153
HcalElectronicsId getEid_FiberuTCA(int)
int fiberChanId() const
get the fiber channel id (which of channels on a fiber)
int const CRATE_uTCA_MIN
Definition: Constants.h:116
HcalElectronicsId getEid_FiberCh(int)
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 415 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().

416  {
420  fibeid.fiberIndex(), fibcheid.fiberChanId(), true);
421  }
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 fiberChanId() const
get the fiber channel id (which of channels on a fiber)
int const CRATE_uTCA_MIN
Definition: Constants.h:116
HcalElectronicsId getEid_FiberChuTCATP(int)
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 372 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().

373  {
376  return HcalElectronicsId(fcheid.fiberChanId(),
377  fibereid.fiberIndex(), SPIGOT_MIN, CRATE_VME_MIN);
378  }
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_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)
int fiberChanId() const
get the fiber channel id (which of channels on a fiber)
HcalElectronicsId getEid_FiberCh(int)
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 394 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().

395  {
398  return HcalElectronicsId(slbcheid.slbChannelIndex(),
401  }
HcalElectronicsId getEid_SLB(int)
int const CRATE_VME_MIN
Definition: Constants.h:111
int const SPIGOT_MIN
Definition: Constants.h:136
int const SLOT_VME_MIN1
Definition: Constants.h:128
HcalElectronicsId getEid_SLBCh(int)
int const SLBCH_NUM
Definition: Constants.h:166
int slbChannelIndex() const
get the SLB channel index (valid only for VME trigger-chain ids)
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 313 of file ElectronicsQuantity.cc.

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

314  {
315  return
318  }
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 320 of file ElectronicsQuantity.cc.

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

Referenced by getEid_FEDVMESpigot().

321  {
323  v, CRATE_VME_MIN);
324  }
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 464 of file ElectronicsQuantity.cc.

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

465  {
466  std::vector<std::string> labels;
467  char name[10];
468  for (int i=0; i<CRATE_TOTAL_NUM; i++)
469  {
471  sprintf(name, "%d%c",
472  eid.crateId(), eid.isVMEid()?'v':'u');
473  labels.push_back(std::string(name));
474  }
475  return labels;
476  }
int crateId() const
get the readout VME crate number
int const CRATE_TOTAL_NUM
Definition: Constants.h:120
bool isVMEid() const
HcalElectronicsId getEid_Crate(int)
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_CrateuTCA ( )

Definition at line 492 of file ElectronicsQuantity.cc.

References hcaldqm::constants::CRATE_uTCA_NUM, HcalElectronicsId::crateId(), runTauDisplay::eid, getEid_CrateuTCA(), mps_fire::i, tablePrinter::labels, dataset::name, and AlCaHLTBitMon_QueryRunRegistry::string.

493  {
494  std::vector<std::string> labels;
495  char name[10];
496  for (int i=0; i<CRATE_uTCA_NUM; i++)
497  {
499  sprintf(name, "%du",
500  eid.crateId());
501  labels.push_back(std::string(name));
502  }
503  return labels;
504  }
int const CRATE_uTCA_NUM
Definition: Constants.h:119
int crateId() const
get the readout VME crate number
HcalElectronicsId getEid_CrateuTCA(int)
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_CrateVME ( )

Definition at line 478 of file ElectronicsQuantity.cc.

References hcaldqm::constants::CRATE_VME_NUM, HcalElectronicsId::crateId(), runTauDisplay::eid, getEid_CrateVME(), mps_fire::i, tablePrinter::labels, dataset::name, and AlCaHLTBitMon_QueryRunRegistry::string.

479  {
480  std::vector<std::string> labels;
481  char name[10];
482  for (int i=0; i<CRATE_VME_NUM; i++)
483  {
485  sprintf(name, "%dv",
486  eid.crateId());
487  labels.push_back(std::string(name));
488  }
489  return labels;
490  }
HcalElectronicsId getEid_CrateVME(int)
int crateId() const
get the readout VME crate number
int const CRATE_VME_NUM
Definition: Constants.h:114
Readout chain identification for Hcal.
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 423 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.

424  {
425  std::vector<std::string> labels;
426  char name[10];
427  for (int i=0; i<FED_TOTAL_NUM; i++)
428  {
430  sprintf(name, "%d",
431  eid.isVMEid()?eid.dccid()+700:utilities::crate2fed(eid.crateId(),eid.slot()));
432  labels.push_back(std::string(name));
433  }
434  return labels;
435  }
uint16_t crate2fed(int crate, int slot)
Definition: Utilities.cc:30
int crateId() const
get the readout VME crate number
int dccid() const
get the (Hcal local) DCC id for VME, crate number for uTCA
bool isVMEid() const
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 437 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.

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

584  {
585  std::vector<std::string> labels;
586  char name[10];
587  for (int i=0; i<FED_uTCA_NUM; i++)
588  for (int j=0; j<SLOT_uTCA_NUM; j++)
589  {
590  if (j>0)
591  {
592  labels.push_back(std::string(""));
593  continue;
594  }
596  i*SLOT_uTCA_NUM+j);
597  sprintf(name, "%d-%d",
598  utilities::crate2fed(eid.crateId(),eid.slot()),
599  eid.slot());
600  labels.push_back(std::string(name));
601  }
602  return labels;
603  }
HcalElectronicsId getEid_FEDuTCASlot(int)
uint16_t crate2fed(int crate, int slot)
Definition: Utilities.cc:30
int crateId() const
get the readout VME crate number
int const FED_uTCA_NUM
Definition: Constants.h:106
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 451 of file ElectronicsQuantity.cc.

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

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

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

606  {
607  std::vector<std::string> labels;
608  char name[10];
609  for (int i=0; i<FED_VME_NUM; i++)
610  for (int j=0; j<SPIGOT_NUM; j++)
611  {
612  if (j>0)
613  {
614  labels.push_back(std::string(""));
615  continue;
616  }
617 
619  i*SPIGOT_NUM+j);
620  sprintf(name, "%d-%d",
621  eid.dccid()+FED_VME_MIN, eid.spigot());
622  labels.push_back(std::string(name));
623  }
624  return labels;
625  }
int const FED_VME_MIN
Definition: Constants.h:98
int dccid() const
get the (Hcal local) DCC id for VME, crate number for uTCA
HcalElectronicsId getEid_FEDVMESpigot(int)
int spigot() const
get the spigot (input number on DCC, AMC card number for uTCA)
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 569 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.

570  {
571  std::vector<std::string> labels;
572  char name[10];
573  for (int i=0; i<FIBERCH_NUM; i++)
574  {
576  sprintf(name, "%d",
577  eid.fiberChanId());
578  labels.push_back(std::string(name));
579  }
580  return labels;
581  }
int const FIBERCH_NUM
Definition: Constants.h:153
int fiberChanId() const
get the fiber channel id (which of channels on a fiber)
HcalElectronicsId getEid_FiberCh(int)
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_FiberChuTCATP ( )

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

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

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

542  {
543  std::vector<std::string> labels;
544  char name[10];
545  for (int i=0; i<FIBER_uTCA_NUM; i++)
546  {
548  sprintf(name, "%d",
549  eid.fiberIndex());
550  labels.push_back(std::string(name));
551  }
552  return labels;
553  }
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_FiberuTCA(int)
int const FIBER_uTCA_NUM
Definition: Constants.h:148
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_FiberuTCAFiberCh ( )

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

628  {
629  std::vector<std::string> labels;
630  char name[10];
631  for (int i=0; i<FIBER_uTCA_NUM; i++)
632  for (int j=0; j<FIBERCH_NUM; j++)
633  {
634  if (j>0)
635  {
636  labels.push_back(std::string(""));
637  continue;
638  }
639 
641  i*FIBERCH_NUM+j);
642  sprintf(name, "%d-%d", eid.fiberIndex(),
643  eid.fiberChanId());
644  labels.push_back(std::string(name));
645  }
646  return labels;
647  }
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_FiberuTCAFiberCh(int)
int const FIBERCH_NUM
Definition: Constants.h:153
int fiberChanId() const
get the fiber channel id (which of channels on a fiber)
int const FIBER_uTCA_NUM
Definition: Constants.h:148
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_FiberuTCATP ( )

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

715  {
716  std::vector<std::string> labels;
717  char name[10];
718  for (int i=0; i<TPFIBER_NUM; i++)
719  {
721  sprintf(name, "%d", eid.fiberIndex());
722  labels.push_back(std::string(name));
723  }
724 
725  return labels;
726  }
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 TPFIBER_NUM
Definition: Constants.h:162
HcalElectronicsId getEid_FiberuTCATP(int)
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_FiberuTCATPFiberChuTCATP ( )

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

743  {
744  std::vector<std::string> labels;
745  char name[10];
746  for (int i=0; i<TPFIBER_NUM; i++)
747  for (int j=0; j<TPFIBERCH_NUM; j++)
748  {
750  i*TPFIBERCH_NUM+j);
751  sprintf(name, "%d-%d", eid.fiberIndex(),
752  eid.fiberChanId());
753  labels.push_back(std::string(name));
754  }
755 
756  return labels;
757  }
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 TPFIBER_NUM
Definition: Constants.h:162
HcalElectronicsId getEid_FiberuTCATPFiberChuTCATP(int)
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 555 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.

556  {
557  std::vector<std::string> labels;
558  char name[10];
559  for (int i=0; i<FIBER_VME_NUM; i++)
560  {
562  sprintf(name, "%d",
563  eid.fiberIndex());
564  labels.push_back(std::string(name));
565  }
566  return labels;
567  }
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_FiberVME(int)
int const FIBER_VME_NUM
Definition: Constants.h:143
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_FiberVMEFiberCh ( )

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

650  {
651  std::vector<std::string> labels;
652  char name[10];
653  for (int i=0; i<FIBER_VME_NUM; i++)
654  for (int j=0; j<FIBERCH_NUM; j++)
655  {
656  if (j>0)
657  {
658  labels.push_back(std::string(""));
659  continue;
660  }
662  i*FIBERCH_NUM+j);
663  sprintf(name, "%d-%d", eid.fiberIndex(),
664  eid.fiberChanId());
665  labels.push_back(std::string(name));
666  }
667  return labels;
668  }
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 FIBERCH_NUM
Definition: Constants.h:153
int fiberChanId() const
get the fiber channel id (which of channels on a fiber)
HcalElectronicsId getEid_FiberVMEFiberCh(int)
int const FIBER_VME_NUM
Definition: Constants.h:143
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 670 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.

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

685  {
686  std::vector<std::string> labels;
687  char name[10];
688  for (int i=0; i<SLBCH_NUM; i++)
689  {
691  sprintf(name, "%d", eid.slbChannelIndex());
692  labels.push_back(std::string(name));
693  }
694 
695  return labels;
696  }
HcalElectronicsId getEid_SLBCh(int)
int const SLBCH_NUM
Definition: Constants.h:166
int slbChannelIndex() const
get the SLB channel index (valid only for VME trigger-chain ids)
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_SLBSLBCh ( )

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

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

507  {
508  std::vector<std::string> labels;
509  char name[10];
510  for (int i=0; i<SLOT_uTCA_NUM; i++)
511  {
513  sprintf(name, "%d",
514  eid.slot());
515  labels.push_back(std::string(name));
516  }
517  return labels;
518  }
HcalElectronicsId getEid_SlotuTCA(int)
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 520 of file ElectronicsQuantity.cc.

521  {
522  return std::vector<std::string>();
523  }
std::vector< std::string > hcaldqm::quantity::getLabels_Spigot ( )

Definition at line 525 of file ElectronicsQuantity.cc.

526  {
527  return std::vector<std::string>();
528 /* std::vector<std::string> labels;
529  char name[10];
530  for (int i=0; i<SPIGOT_NUM; i++)
531  {
532  HcalElectronicsId eid = getEid_Spigot(i);
533  sprintf(name, "%d",
534  eid.spigot());
535  labels.push_back(std::string(name));
536  }
537  return labels;
538  */
539  }
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:184
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:185
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:188
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:189
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 29 of file ElectronicsQuantity.cc.

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

Referenced by getBin_Crate().

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

Definition at line 36 of file ElectronicsQuantity.cc.

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

Referenced by getBin_CrateuTCA().

37  {
38  unsigned int crate = eid.crateId();
39  auto it_crate = std::find(std::begin(crateListuTCA), std::end(crateListuTCA), crate);
40  return ((it_crate == std::end(crateListuTCA)) ? -1 : std::distance(crateListuTCA.begin(), it_crate));
41  }
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:37
#define begin
Definition: vmac.h:30
int hcaldqm::quantity::getValue_CrateVME ( HcalElectronicsId const &  eid)

Definition at line 43 of file ElectronicsQuantity.cc.

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

Referenced by getBin_CrateVME().

44  {
45  unsigned int crate = eid.crateId();
46  auto it_crate = std::find(std::begin(crateListVME), std::end(crateListVME), crate);
47  return ((it_crate == std::end(crateListVME)) ? -1 : std::distance(crateListVME.begin(), it_crate));
48  }
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:37
std::vector< unsigned int > const crateListVME
Definition: Constants.h:92
#define begin
Definition: vmac.h:30
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 7 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().

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

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

15  {
16  unsigned int fed = utilities::crate2fed(eid.crateId(), eid.slot());
17  auto it_fed = std::find(std::begin(fedListuTCA), std::end(fedListuTCA), fed);
18  return ((it_fed == std::end(fedListuTCA)) ? -1 : std::distance(fedListuTCA.begin(), it_fed));
19  }
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:37
#define begin
Definition: vmac.h:30
int hcaldqm::quantity::getValue_FEDuTCASlot ( HcalElectronicsId const &  eid)

Definition at line 91 of file ElectronicsQuantity.cc.

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

Referenced by getBin_FEDuTCASlot().

92  {
93  int ifed = getValue_FEDuTCA(eid);
94  int islot = getValue_SlotuTCA(eid);
95  return ifed*SLOT_uTCA_NUM+islot;
96  }
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 21 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().

22  {
23  unsigned int fed = utilities::crate2fed(eid.crateId(), eid.slot());
24  auto it_fed = std::find(std::begin(fedListVME), std::end(fedListVME), fed);
25  return ((it_fed == std::end(fedListVME)) ? -1 : std::distance(fedListVME.begin(), it_fed));
26 
27  }
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:37
#define begin
Definition: vmac.h:30
int hcaldqm::quantity::getValue_FEDVMESpigot ( HcalElectronicsId const &  eid)

Definition at line 98 of file ElectronicsQuantity.cc.

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

Referenced by getBin_FEDVMESpigot().

99  {
100  int ifed = getValue_FEDVME(eid);
101  int ispigot = getValue_Spigot(eid);
102  return ifed*SPIGOT_NUM+ispigot;
103  }
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 86 of file ElectronicsQuantity.cc.

References HcalElectronicsId::fiberChanId().

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

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

Definition at line 142 of file ElectronicsQuantity.cc.

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

Referenced by getBin_FiberChuTCATP(), and getValue_FiberuTCATPFiberChuTCATP().

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

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

71  {
72  int fiber = eid.fiberIndex();
73  if (fiber<=FIBER_uTCA_MAX1)
74  fiber-=FIBER_uTCA_MIN1;
75  else
76  fiber = (FIBER_uTCA_MAX1-FIBER_uTCA_MIN1+1) +
77  fiber-FIBER_uTCA_MIN2;
78  return fiber;
79  }
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 105 of file ElectronicsQuantity.cc.

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

Referenced by getBin_FiberuTCAFiberCh().

106  {
107  int ifiber = getValue_FiberuTCA(eid);
108  int ifch = getValue_FiberCh(eid);
109  return ifiber*FIBERCH_NUM+ifch;
110  }
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 137 of file ElectronicsQuantity.cc.

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

Referenced by getBin_FiberuTCATP(), and getValue_FiberuTCATPFiberChuTCATP().

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

Definition at line 147 of file ElectronicsQuantity.cc.

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

Referenced by getBin_FiberuTCATPFiberChuTCATP().

148  {
149  int ifib = getValue_FiberuTCATP(eid);
150  int ifibch = getValue_FiberChuTCATP(eid);
151  return ifib*TPFIBERCH_NUM+ifibch;
152  }
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 81 of file ElectronicsQuantity.cc.

References HcalElectronicsId::fiberIndex().

Referenced by getBin_FiberVME(), and getValue_FiberVMEFiberCh().

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

Definition at line 112 of file ElectronicsQuantity.cc.

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

Referenced by getBin_FiberVMEFiberCh().

113  {
114  int ifiber = getValue_FiberVME(eid);
115  int ifch = getValue_FiberCh(eid);
116  return ifiber*FIBERCH_NUM+ifch;
117  }
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 119 of file ElectronicsQuantity.cc.

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

Referenced by getBin_SLB(), and getValue_SLBSLBCh().

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

Definition at line 125 of file ElectronicsQuantity.cc.

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

Referenced by getBin_SLBCh(), and getValue_SLBSLBCh().

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

Definition at line 130 of file ElectronicsQuantity.cc.

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

Referenced by getBin_SLBSLBCh().

131  {
132  int islb = getValue_SLB(eid);
133  int islbch = getValue_SLBCh(eid);
134  return islb*SLBCH_NUM+islbch;
135  }
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 50 of file ElectronicsQuantity.cc.

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

Referenced by getBin_SlotuTCA(), and getValue_FEDuTCASlot().

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

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

56  {
57  int slot = eid.slot();
58  if (slot<=SLOT_VME_MAX1)
59  slot-=SLOT_VME_MIN1;
60  else
61  slot = SLOT_VME_NUM1 + slot-SLOT_VME_MIN2;
62  return slot;
63  }
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 65 of file ElectronicsQuantity.cc.

References HcalElectronicsId::spigot().

Referenced by getBin_Spigot(), and getValue_FEDVMESpigot().

66  {
67  return eid.spigot();
68  }
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 169 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 193 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 217 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 145 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,fedList.size() - 0.5},
{fFEDuTCA,fedListuTCA.size() - 0.5},
{fFEDVME,fedListVME.size() - 0.5},
{fCrate,crateList.size() - 0.5},
{fCrateuTCA,crateListuTCA.size() - 0.5},
{fCrateVME,crateListVME.size() - 0.5},
{fFEDuTCASlot,FED_uTCA_NUM*SLOT_uTCA_NUM},
{fFEDVMESpigot,FED_VME_NUM*SPIGOT_NUM},
{fFiberuTCAFiberCh,FIBER_uTCA_NUM*FIBERCH_NUM},
{fFiberVMEFiberCh,FIBER_VME_NUM*FIBERCH_NUM},
{fSLBSLBCh,SLB_NUM*SLBCH_NUM},
{fFiberuTCATPFiberChuTCATP,TPFIBER_NUM*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 289 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
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 265 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 117 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 241 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 66 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:
= {
{fFED,fedList.size()},
{fFEDVME,fedListVME.size()},
{fCrate,crateList.size()},
{fFEDuTCASlot,FED_uTCA_NUM*SLOT_uTCA_NUM},
{fFEDVMESpigot,FED_VME_NUM*SPIGOT_NUM},
{fFiberuTCAFiberCh,FIBER_uTCA_NUM*FIBERCH_NUM},
{fFiberVMEFiberCh,FIBER_VME_NUM*FIBERCH_NUM},
{fSLBSLBCh,SLB_NUM*SLBCH_NUM},
{fFiberuTCATPFiberChuTCATP,TPFIBER_NUM*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 313 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 219 of file ValueQuantity.h.