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_to3000 = 28, fEnergyTotal = 29, fN_m0to10000 = 30, fEtCorr_256 = 31,
  fADCCorr_128 = 32, fBX = 33, fEnergy_1TeV = 34, fState = 35,
  fQIE10fC_300000 = 36, fDataSize = 37, fQIE10fC_2000 = 38, fQIE8fC_1000_50 = 39,
  fQIE11ADC_256 = 40, fQIE11TDC_64 = 41, fQIE11TDC_16 = 42, fQIE11fC_300000 = 43,
  fQIE11fC_2000 = 44, fTime_ns_250 = 45, fADC_256 = 46, nValueQuantityType = 47
}
 

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_to3000 
fEnergyTotal 
fN_m0to10000 
fEtCorr_256 
fADCCorr_128 
fBX 
fEnergy_1TeV 
fState 
fQIE10fC_300000 
fDataSize 
fQIE10fC_2000 
fQIE8fC_1000_50 
fQIE11ADC_256 
fQIE11TDC_64 
fQIE11TDC_16 
fQIE11fC_300000 
fQIE11fC_2000 
fTime_ns_250 
fADC_256 
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_to3000 = 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_300000 = 36,
52  fDataSize = 37,
53  fQIE10fC_2000 = 38,
54  fQIE8fC_1000_50 = 39,
55  fQIE11ADC_256 = 40,
56  fQIE11TDC_64 = 41,
57  fQIE11TDC_16 = 42,
58  fQIE11fC_300000 = 43,
59  fQIE11fC_2000 = 44,
60  fTime_ns_250 = 45,
61  fADC_256 = 46,
63  };

Function Documentation

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

Definition at line 165 of file ElectronicsQuantity.cc.

References getValue_Crate().

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

Definition at line 170 of file ElectronicsQuantity.cc.

References getValue_CrateuTCA().

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

Definition at line 175 of file ElectronicsQuantity.cc.

References getValue_CrateVME().

176  {
177  return (uint32_t)(getValue_CrateVME(eid)+1);
178  }
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 150 of file ElectronicsQuantity.cc.

References getValue_FED().

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

Definition at line 155 of file ElectronicsQuantity.cc.

References getValue_FEDuTCA().

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

Definition at line 210 of file ElectronicsQuantity.cc.

References getValue_FEDuTCASlot().

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

Definition at line 160 of file ElectronicsQuantity.cc.

References getValue_FEDVME().

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

Definition at line 215 of file ElectronicsQuantity.cc.

References getValue_FEDVMESpigot().

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

Definition at line 205 of file ElectronicsQuantity.cc.

References getValue_FiberCh().

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

Definition at line 250 of file ElectronicsQuantity.cc.

References getValue_FiberChuTCATP().

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

Definition at line 195 of file ElectronicsQuantity.cc.

References getValue_FiberuTCA().

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

Definition at line 220 of file ElectronicsQuantity.cc.

References getValue_FiberuTCAFiberCh().

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

Definition at line 245 of file ElectronicsQuantity.cc.

References getValue_FiberuTCATP().

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

Definition at line 255 of file ElectronicsQuantity.cc.

References getValue_FiberuTCATPFiberChuTCATP().

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

Definition at line 200 of file ElectronicsQuantity.cc.

References getValue_FiberVME().

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

Definition at line 225 of file ElectronicsQuantity.cc.

References getValue_FiberVMEFiberCh().

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

References getValue_SLB().

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

Definition at line 235 of file ElectronicsQuantity.cc.

References getValue_SLBCh().

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

Definition at line 240 of file ElectronicsQuantity.cc.

References getValue_SLBSLBCh().

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

Definition at line 180 of file ElectronicsQuantity.cc.

References getValue_SlotuTCA().

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

Definition at line 185 of file ElectronicsQuantity.cc.

References getValue_SlotVME().

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

Definition at line 190 of file ElectronicsQuantity.cc.

References getValue_Spigot().

191  {
192  return (uint32_t)(getValue_Spigot(eid)+1);
193  }
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 290 of file ElectronicsQuantity.cc.

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

Referenced by getLabels_CrateVME().

291  {
293  SPIGOT_MIN, v);
294  }
int const SPIGOT_MIN
Definition: Constants.h:93
int const FIBER_VME_MIN
Definition: Constants.h:98
int const FIBERCH_MIN
Definition: Constants.h:108
Readout chain identification for Hcal.
HcalElectronicsId hcaldqm::quantity::getEid_FED ( int  v)

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

261  {
264  HcalElectronicsId(utilities::fed2crate(v-FED_VME_NUM+1100).first,
265  utilities::fed2crate(v-FED_VME_NUM+1100).second, FIBER_uTCA_MIN1,
266  FIBERCH_MIN, false);
267  }
std::pair< uint16_t, uint16_t > fed2crate(int fed)
Definition: Utilities.cc:13
int const SPIGOT_MIN
Definition: Constants.h:93
int const FIBER_VME_MIN
Definition: Constants.h:98
int const FIBERCH_MIN
Definition: Constants.h:108
U second(std::pair< T, U > const &p)
int const FIBER_uTCA_MIN1
Definition: Constants.h:101
int const FED_VME_NUM
Definition: Constants.h:58
Readout chain identification for Hcal.
HcalElectronicsId hcaldqm::quantity::getEid_FEDuTCA ( int  v)

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

276  {
279  FIBER_uTCA_MIN1, FIBERCH_MIN, false);
280  }
std::pair< uint16_t, uint16_t > fed2crate(int fed)
Definition: Utilities.cc:13
int const FIBERCH_MIN
Definition: Constants.h:108
U second(std::pair< T, U > const &p)
int const FIBER_uTCA_MIN1
Definition: Constants.h:101
int const FED_VME_NUM
Definition: Constants.h:58
Readout chain identification for Hcal.
HcalElectronicsId hcaldqm::quantity::getEid_FEDuTCASlot ( int  v)

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

344  {
347  return HcalElectronicsId(
348  fedeid.crateId(), sloteid.slot(), FIBER_uTCA_MIN1,
349  FIBERCH_MIN, false);
350  }
int crateId() const
get the readout VME crate number
int const FIBERCH_MIN
Definition: Constants.h:108
HcalElectronicsId getEid_SlotuTCA(int)
HcalElectronicsId getEid_FEDuTCA(int)
int const FIBER_uTCA_MIN1
Definition: Constants.h:101
int slot() const
get the htr or uHTR slot
int const SLOT_uTCA_NUM
Definition: Constants.h:83
Readout chain identification for Hcal.
HcalElectronicsId hcaldqm::quantity::getEid_FEDVME ( int  v)

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

270  {
273  }
int const SPIGOT_MIN
Definition: Constants.h:93
int const FIBER_VME_MIN
Definition: Constants.h:98
int const FIBERCH_MIN
Definition: Constants.h:108
Readout chain identification for Hcal.
HcalElectronicsId hcaldqm::quantity::getEid_FEDVMESpigot ( int  v)

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

353  {
357  spid.spigot(), fedeid.dccid());
358  }
int const FIBER_VME_MIN
Definition: Constants.h:98
int const FIBERCH_MIN
Definition: Constants.h:108
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:95
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 360 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().

361  {
365  fibereid.fiberIndex(), fcheid.fiberChanId(), false);
366  }
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:110
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:73
HcalElectronicsId getEid_FiberCh(int)
Readout chain identification for Hcal.
int const SLOT_uTCA_MIN
Definition: Constants.h:80
HcalElectronicsId hcaldqm::quantity::getEid_FiberuTCATP ( int  v)
HcalElectronicsId hcaldqm::quantity::getEid_FiberuTCATPFiberChuTCATP ( int  v)

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

412  {
416  fibeid.fiberIndex(), fibcheid.fiberChanId(), true);
417  }
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:73
HcalElectronicsId getEid_FiberChuTCATP(int)
int const TPFIBERCH_NUM
Definition: Constants.h:127
HcalElectronicsId getEid_FiberuTCATP(int)
Readout chain identification for Hcal.
int const SLOT_uTCA_MIN
Definition: Constants.h:80
HcalElectronicsId hcaldqm::quantity::getEid_FiberVME ( int  v)

Definition at line 331 of file ElectronicsQuantity.cc.

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

Referenced by getEid_FiberVMEFiberCh(), and getLabels_FiberVME().

332  {
333  return HcalElectronicsId(FIBERCH_MIN, v+1,
335  }
int const CRATE_VME_MIN
Definition: Constants.h:68
int const SPIGOT_MIN
Definition: Constants.h:93
int const FIBERCH_MIN
Definition: Constants.h:108
Readout chain identification for Hcal.
HcalElectronicsId hcaldqm::quantity::getEid_FiberVMEFiberCh ( int  v)

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

369  {
372  return HcalElectronicsId(fcheid.fiberChanId(),
373  fibereid.fiberIndex(), SPIGOT_MIN, CRATE_VME_MIN);
374  }
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:68
int const FIBERCH_NUM
Definition: Constants.h:110
int const SPIGOT_MIN
Definition: Constants.h:93
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 390 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().

391  {
394  return HcalElectronicsId(slbcheid.slbChannelIndex(),
397  }
HcalElectronicsId getEid_SLB(int)
int const CRATE_VME_MIN
Definition: Constants.h:68
int const SPIGOT_MIN
Definition: Constants.h:93
int const SLOT_VME_MIN1
Definition: Constants.h:85
HcalElectronicsId getEid_SLBCh(int)
int const SLBCH_NUM
Definition: Constants.h:123
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 309 of file ElectronicsQuantity.cc.

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

310  {
311  return
314  }
int const CRATE_VME_MIN
Definition: Constants.h:68
int const SPIGOT_MIN
Definition: Constants.h:93
int const FIBER_VME_MIN
Definition: Constants.h:98
int const FIBERCH_MIN
Definition: Constants.h:108
Readout chain identification for Hcal.
HcalElectronicsId hcaldqm::quantity::getEid_Spigot ( int  v)

Definition at line 316 of file ElectronicsQuantity.cc.

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

Referenced by getEid_FEDVMESpigot().

317  {
319  v, CRATE_VME_MIN);
320  }
int const CRATE_VME_MIN
Definition: Constants.h:68
int const FIBER_VME_MIN
Definition: Constants.h:98
int const FIBERCH_MIN
Definition: Constants.h:108
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_Crate ( )

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

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

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

489  {
490  std::vector<std::string> labels;
491  char name[10];
492  for (int i=0; i<CRATE_uTCA_NUM; i++)
493  {
495  sprintf(name, "%du",
496  eid.crateId());
497  labels.push_back(std::string(name));
498  }
499  return labels;
500  }
int const CRATE_uTCA_NUM
Definition: Constants.h:76
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 474 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.

475  {
476  std::vector<std::string> labels;
477  char name[10];
478  for (int i=0; i<CRATE_VME_NUM; i++)
479  {
481  sprintf(name, "%dv",
482  eid.crateId());
483  labels.push_back(std::string(name));
484  }
485  return labels;
486  }
HcalElectronicsId getEid_CrateVME(int)
int crateId() const
get the readout VME crate number
int const CRATE_VME_NUM
Definition: Constants.h:71
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 419 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.

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

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

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

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

Definition at line 447 of file ElectronicsQuantity.cc.

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

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

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

602  {
603  std::vector<std::string> labels;
604  char name[10];
605  for (int i=0; i<FED_VME_NUM; i++)
606  for (int j=0; j<SPIGOT_NUM; j++)
607  {
608  if (j>0)
609  {
610  labels.push_back(std::string(""));
611  continue;
612  }
613 
615  i*SPIGOT_NUM+j);
616  sprintf(name, "%d-%d",
617  eid.dccid()+FED_VME_MIN, eid.spigot());
618  labels.push_back(std::string(name));
619  }
620  return labels;
621  }
int const FED_VME_MIN
Definition: Constants.h:55
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:95
int const FED_VME_NUM
Definition: Constants.h:58
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_FiberCh ( )

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

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

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

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

538  {
539  std::vector<std::string> labels;
540  char name[10];
541  for (int i=0; i<FIBER_uTCA_NUM; i++)
542  {
544  sprintf(name, "%d",
545  eid.fiberIndex());
546  labels.push_back(std::string(name));
547  }
548  return labels;
549  }
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:105
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_FiberuTCAFiberCh ( )

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

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

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

711  {
712  std::vector<std::string> labels;
713  char name[10];
714  for (int i=0; i<TPFIBER_NUM; i++)
715  {
717  sprintf(name, "%d", eid.fiberIndex());
718  labels.push_back(std::string(name));
719  }
720 
721  return labels;
722  }
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:119
HcalElectronicsId getEid_FiberuTCATP(int)
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_FiberuTCATPFiberChuTCATP ( )

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

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

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

552  {
553  std::vector<std::string> labels;
554  char name[10];
555  for (int i=0; i<FIBER_VME_NUM; i++)
556  {
558  sprintf(name, "%d",
559  eid.fiberIndex());
560  labels.push_back(std::string(name));
561  }
562  return labels;
563  }
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:100
Readout chain identification for Hcal.
std::vector< std::string > hcaldqm::quantity::getLabels_FiberVMEFiberCh ( )

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

646  {
647  std::vector<std::string> labels;
648  char name[10];
649  for (int i=0; i<FIBER_VME_NUM; i++)
650  for (int j=0; j<FIBERCH_NUM; j++)
651  {
652  if (j>0)
653  {
654  labels.push_back(std::string(""));
655  continue;
656  }
658  i*FIBERCH_NUM+j);
659  sprintf(name, "%d-%d", eid.fiberIndex(),
660  eid.fiberChanId());
661  labels.push_back(std::string(name));
662  }
663  return labels;
664  }
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:110
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:100
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 666 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.

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

681  {
682  std::vector<std::string> labels;
683  char name[10];
684  for (int i=0; i<SLBCH_NUM; i++)
685  {
687  sprintf(name, "%d", eid.slbChannelIndex());
688  labels.push_back(std::string(name));
689  }
690 
691  return labels;
692  }
HcalElectronicsId getEid_SLBCh(int)
int const SLBCH_NUM
Definition: Constants.h:123
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 694 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.

695  {
696  std::vector<std::string> labels;
697  char name[10];
698  for (int i=0; i<SLB_NUM; i++)
699  for (int j=0; j<SLBCH_NUM; j++)
700  {
701  HcalElectronicsId eid=getEid_SLBSLBCh(i*SLBCH_NUM+j);
702  sprintf(name, "%d-%d", eid.slbSiteNumber(),
703  eid.slbChannelIndex());
704  labels.push_back(std::string(name));
705  }
706 
707  return labels;
708  }
int const SLB_NUM
Definition: Constants.h:115
int const SLBCH_NUM
Definition: Constants.h:123
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 502 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.

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

Definition at line 516 of file ElectronicsQuantity.cc.

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

Definition at line 521 of file ElectronicsQuantity.cc.

522  {
523  return std::vector<std::string>();
524 /* std::vector<std::string> labels;
525  char name[10];
526  for (int i=0; i<SPIGOT_NUM; i++)
527  {
528  HcalElectronicsId eid = getEid_Spigot(i);
529  sprintf(name, "%d",
530  eid.spigot());
531  labels.push_back(std::string(name));
532  }
533  return labels;
534  */
535  }
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:141
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:142
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:145
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, hcaldqm::constants::TPSUBDETPM_NAME, and x().

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:146
int ieta() const
get the tower ieta
HcalTrigTowerDetId getTid_TTSubdetPM(int)
T x() const
Cartesian x coordinate.
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 28 of file ElectronicsQuantity.cc.

References EnergyCorrector::c, hcaldqm::constants::CRATE_uTCA_MIN, hcaldqm::constants::CRATE_VME_NUM, HcalElectronicsId::crateId(), and HcalElectronicsId::isUTCAid().

Referenced by getBin_Crate().

29  {
30  int c = eid.crateId();
31  if (eid.isUTCAid())
32  c = CRATE_VME_NUM + eid.crateId()-CRATE_uTCA_MIN;
33  return c;
34  }
int const CRATE_uTCA_MIN
Definition: Constants.h:73
int const CRATE_VME_NUM
Definition: Constants.h:71
int hcaldqm::quantity::getValue_CrateuTCA ( HcalElectronicsId const &  eid)

Definition at line 36 of file ElectronicsQuantity.cc.

References hcaldqm::constants::CRATE_uTCA_MIN, and HcalElectronicsId::crateId().

Referenced by getBin_CrateuTCA().

37  {
38  return eid.crateId()-CRATE_uTCA_MIN;
39  }
int const CRATE_uTCA_MIN
Definition: Constants.h:73
int hcaldqm::quantity::getValue_CrateVME ( HcalElectronicsId const &  eid)

Definition at line 41 of file ElectronicsQuantity.cc.

References HcalElectronicsId::crateId().

Referenced by getBin_CrateVME().

42  {
43  return eid.crateId();
44  }
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 hcaldqm::utilities::crate2fed(), HcalElectronicsId::crateId(), HcalElectronicsId::dccid(), hcaldqm::constants::FED_uTCA_MIN, hcaldqm::constants::FED_VME_NUM, HcalElectronicsId::isVMEid(), HcalElectronicsId::slot(), and findQualityFiles::v.

Referenced by getBin_FED().

8  {
9  int v = 0;
10  if (eid.isVMEid())
11  v = eid.dccid();
12  else
13  v = utilities::crate2fed(eid.crateId(),eid.slot())-FED_uTCA_MIN +
15  return v;
16  }
uint16_t crate2fed(int crate, int slot)
Definition: Utilities.cc:27
int const FED_uTCA_MIN
Definition: Constants.h:60
int const FED_VME_NUM
Definition: Constants.h:58
int hcaldqm::quantity::getValue_FEDuTCA ( HcalElectronicsId const &  eid)
int hcaldqm::quantity::getValue_FEDuTCASlot ( HcalElectronicsId const &  eid)

Definition at line 87 of file ElectronicsQuantity.cc.

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

Referenced by getBin_FEDuTCASlot().

88  {
89  int ifed = getValue_FEDuTCA(eid);
90  int islot = getValue_SlotuTCA(eid);
91  return ifed*SLOT_uTCA_NUM+islot;
92  }
int getValue_SlotuTCA(HcalElectronicsId const &)
int getValue_FEDuTCA(HcalElectronicsId const &)
int const SLOT_uTCA_NUM
Definition: Constants.h:83
int hcaldqm::quantity::getValue_FEDVME ( HcalElectronicsId const &  eid)

Definition at line 23 of file ElectronicsQuantity.cc.

References HcalElectronicsId::dccid().

Referenced by getBin_FEDVME(), and getValue_FEDVMESpigot().

24  {
25  return eid.dccid();
26  }
int hcaldqm::quantity::getValue_FEDVMESpigot ( HcalElectronicsId const &  eid)

Definition at line 94 of file ElectronicsQuantity.cc.

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

Referenced by getBin_FEDVMESpigot().

95  {
96  int ifed = getValue_FEDVME(eid);
97  int ispigot = getValue_Spigot(eid);
98  return ifed*SPIGOT_NUM+ispigot;
99  }
int getValue_Spigot(HcalElectronicsId const &)
int getValue_FEDVME(HcalElectronicsId const &)
int const SPIGOT_NUM
Definition: Constants.h:95
int hcaldqm::quantity::getValue_FiberCh ( HcalElectronicsId const &  eid)

Definition at line 82 of file ElectronicsQuantity.cc.

References HcalElectronicsId::fiberChanId().

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

83  {
84  return eid.fiberChanId();
85  }
int hcaldqm::quantity::getValue_FiberChuTCATP ( HcalElectronicsId const &  eid)

Definition at line 138 of file ElectronicsQuantity.cc.

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

Referenced by getBin_FiberChuTCATP(), and getValue_FiberuTCATPFiberChuTCATP().

139  {
140  return eid.fiberChanId()-TPFIBERCH_MIN;
141  }
int const TPFIBERCH_MIN
Definition: Constants.h:125
int hcaldqm::quantity::getValue_FiberuTCA ( HcalElectronicsId const &  eid)

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

67  {
68  int fiber = eid.fiberIndex();
69  if (fiber<=FIBER_uTCA_MAX1)
70  fiber-=FIBER_uTCA_MIN1;
71  else
72  fiber = (FIBER_uTCA_MAX1-FIBER_uTCA_MIN1+1) +
73  fiber-FIBER_uTCA_MIN2;
74  return fiber;
75  }
int const FIBER_uTCA_MIN2
Definition: Constants.h:103
int const FIBER_uTCA_MIN1
Definition: Constants.h:101
int const FIBER_uTCA_MAX1
Definition: Constants.h:102
int hcaldqm::quantity::getValue_FiberuTCAFiberCh ( HcalElectronicsId const &  eid)

Definition at line 101 of file ElectronicsQuantity.cc.

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

Referenced by getBin_FiberuTCAFiberCh().

102  {
103  int ifiber = getValue_FiberuTCA(eid);
104  int ifch = getValue_FiberCh(eid);
105  return ifiber*FIBERCH_NUM+ifch;
106  }
int const FIBERCH_NUM
Definition: Constants.h:110
int getValue_FiberCh(HcalElectronicsId const &)
int getValue_FiberuTCA(HcalElectronicsId const &)
int hcaldqm::quantity::getValue_FiberuTCATP ( HcalElectronicsId const &  eid)

Definition at line 133 of file ElectronicsQuantity.cc.

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

Referenced by getBin_FiberuTCATP(), and getValue_FiberuTCATPFiberChuTCATP().

134  {
135  return eid.fiberIndex()-TPFIBER_MIN;
136  }
int const TPFIBER_MIN
Definition: Constants.h:117
int hcaldqm::quantity::getValue_FiberuTCATPFiberChuTCATP ( HcalElectronicsId const &  eid)

Definition at line 143 of file ElectronicsQuantity.cc.

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

Referenced by getBin_FiberuTCATPFiberChuTCATP().

144  {
145  int ifib = getValue_FiberuTCATP(eid);
146  int ifibch = getValue_FiberChuTCATP(eid);
147  return ifib*TPFIBERCH_NUM+ifibch;
148  }
int getValue_FiberChuTCATP(HcalElectronicsId const &)
int getValue_FiberuTCATP(HcalElectronicsId const &)
int const TPFIBERCH_NUM
Definition: Constants.h:127
int hcaldqm::quantity::getValue_FiberVME ( HcalElectronicsId const &  eid)

Definition at line 77 of file ElectronicsQuantity.cc.

References HcalElectronicsId::fiberIndex().

Referenced by getBin_FiberVME(), and getValue_FiberVMEFiberCh().

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

Definition at line 108 of file ElectronicsQuantity.cc.

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

Referenced by getBin_FiberVMEFiberCh().

109  {
110  int ifiber = getValue_FiberVME(eid);
111  int ifch = getValue_FiberCh(eid);
112  return ifiber*FIBERCH_NUM+ifch;
113  }
int const FIBERCH_NUM
Definition: Constants.h:110
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(), HcalDetId::subdet(), and x().

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  }
T x() const
Cartesian x coordinate.
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 115 of file ElectronicsQuantity.cc.

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

Referenced by getBin_SLB(), and getValue_SLBSLBCh().

116  {
117  int slbsite = eid.slbSiteNumber();
118  return slbsite-SLB_MIN;
119  }
int const SLB_MIN
Definition: Constants.h:113
int hcaldqm::quantity::getValue_SLBCh ( HcalElectronicsId const &  eid)

Definition at line 121 of file ElectronicsQuantity.cc.

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

Referenced by getBin_SLBCh(), and getValue_SLBSLBCh().

122  {
123  return eid.slbChannelIndex()-SLBCH_MIN;
124  }
int const SLBCH_MIN
Definition: Constants.h:121
int hcaldqm::quantity::getValue_SLBSLBCh ( HcalElectronicsId const &  eid)

Definition at line 126 of file ElectronicsQuantity.cc.

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

Referenced by getBin_SLBSLBCh().

127  {
128  int islb = getValue_SLB(eid);
129  int islbch = getValue_SLBCh(eid);
130  return islb*SLBCH_NUM+islbch;
131  }
int getValue_SLBCh(HcalElectronicsId const &)
int const SLBCH_NUM
Definition: Constants.h:123
int getValue_SLB(HcalElectronicsId const &)
int hcaldqm::quantity::getValue_SlotuTCA ( HcalElectronicsId const &  eid)

Definition at line 46 of file ElectronicsQuantity.cc.

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

Referenced by getBin_SlotuTCA(), and getValue_FEDuTCASlot().

47  {
48  return eid.slot()-SLOT_uTCA_MIN;
49  }
int const SLOT_uTCA_MIN
Definition: Constants.h:80
int hcaldqm::quantity::getValue_SlotVME ( HcalElectronicsId const &  eid)

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

52  {
53  int slot = eid.slot();
54  if (slot<=SLOT_VME_MAX1)
55  slot-=SLOT_VME_MIN1;
56  else
57  slot = SLOT_VME_NUM1 + slot-SLOT_VME_MIN2;
58  return slot;
59  }
int const SLOT_VME_MAX1
Definition: Constants.h:86
int const SLOT_VME_MIN1
Definition: Constants.h:85
int const SLOT_VME_MIN2
Definition: Constants.h:87
int const SLOT_VME_NUM1
Definition: Constants.h:89
int hcaldqm::quantity::getValue_Spigot ( HcalElectronicsId const &  eid)

Definition at line 61 of file ElectronicsQuantity.cc.

References HcalElectronicsId::spigot().

Referenced by getBin_Spigot(), and getValue_FEDVMESpigot().

62  {
63  return eid.spigot();
64  }
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(), HcalTrigTowerDetId::ietaAbs(), and x().

Referenced by getBin_TTSubdetPM().

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

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:
= {
{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},
}
int const TPFIBER_NUM
Definition: Constants.h:119
int const FIBERCH_NUM
Definition: Constants.h:110
int const CRATE_uTCA_NUM
Definition: Constants.h:76
int const SLOT_VME_NUM
Definition: Constants.h:91
int const CRATE_TOTAL_NUM
Definition: Constants.h:77
int const SLB_NUM
Definition: Constants.h:115
int const SLBCH_NUM
Definition: Constants.h:123
int const FIBER_VME_NUM
Definition: Constants.h:100
int const FIBER_uTCA_NUM
Definition: Constants.h:105
int const SPIGOT_NUM
Definition: Constants.h:95
int const FED_uTCA_NUM
Definition: Constants.h:63
int const FED_VME_NUM
Definition: Constants.h:58
int const CRATE_VME_NUM
Definition: Constants.h:71
int const SLOT_uTCA_NUM
Definition: Constants.h:83
int const FED_TOTAL_NUM
Definition: Constants.h:65
int const TPFIBERCH_NUM
Definition: Constants.h:127

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.},
{fFEDuTCA,0.},
{fFEDVME,0.},
{fCrate,0.},
{fCrateuTCA,0.},
{fCrateVME,0.},
{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 113 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 64 of file ValueQuantity.h.

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

Definition at line 74 of file DetectorQuantity.h.

const std::map<ElectronicsQuantityType, double> hcaldqm::quantity::nbins_eid
Initial value:
= {
{fFEDuTCASlot,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},
}
int const TPFIBER_NUM
Definition: Constants.h:119
int const FIBERCH_NUM
Definition: Constants.h:110
int const CRATE_uTCA_NUM
Definition: Constants.h:76
int const SLOT_VME_NUM
Definition: Constants.h:91
int const CRATE_TOTAL_NUM
Definition: Constants.h:77
int const SLB_NUM
Definition: Constants.h:115
int const SLBCH_NUM
Definition: Constants.h:123
int const FIBER_VME_NUM
Definition: Constants.h:100
int const FIBER_uTCA_NUM
Definition: Constants.h:105
int const SPIGOT_NUM
Definition: Constants.h:95
int const FED_uTCA_NUM
Definition: Constants.h:63
int const FED_VME_NUM
Definition: Constants.h:58
int const CRATE_VME_NUM
Definition: Constants.h:71
int const SLOT_uTCA_NUM
Definition: Constants.h:83
int const FED_TOTAL_NUM
Definition: Constants.h:65
int const TPFIBERCH_NUM
Definition: Constants.h:127

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 211 of file ValueQuantity.h.