CMS 3D CMS Logo

Typedefs | Enumerations | Functions | Variables
hcaldqm::hashfunctions Namespace Reference

Typedefs

typedef uint32_t(* hash_function_did) (HcalDetId const &)
 
typedef uint32_t(* hash_function_eid) (HcalElectronicsId const &)
 
typedef uint32_t(* hash_function_tid) (HcalTrigTowerDetId const &)
 
typedef std::string(* name_function_did) (HcalDetId const &)
 
typedef std::string(* name_function_eid) (HcalElectronicsId const &)
 
typedef std::string(* name_function_tid) (HcalTrigTowerDetId const &)
 

Enumerations

enum  HashType {
  fSubdet = 0, fSubdetiphi = 1, fSubdetieta = 2, fSubdetdepth = 3,
  fSubdetPM = 4, fSubdetPMiphi = 5, fiphi = 6, fieta = 7,
  fdepth = 8, fHFPMiphi = 9, fHBHEPartition = 10, fDChannel = 11,
  nHashType_did = 12, fFED = 13, fFEDSpigot = 14, fFEDSlot = 15,
  fCrate = 16, fCrateSpigot = 17, fCrateSlot = 18, fFiber = 19,
  fFiberFiberCh = 20, fFiberCh = 21, fElectronics = 22, fEChannel = 23,
  nHashType_eid = 24, fTTSubdet = 25, fTTSubdetPM = 26, fTTSubdetPMiphi = 27,
  fTTSubdetieta = 28, fTTdepth = 29, fTChannel = 30, nHashType_tid = 31,
  nHashType = 32
}
 

Functions

uint32_t hash_Crate (HcalElectronicsId const &)
 
uint32_t hash_Crate (std::string const &)
 
uint32_t hash_CrateSlot (HcalElectronicsId const &)
 
uint32_t hash_CrateSlot (std::string const &)
 
uint32_t hash_CrateSpigot (HcalElectronicsId const &)
 
uint32_t hash_CrateSpigot (std::string const &)
 
uint32_t hash_DChannel (HcalDetId const &)
 
uint32_t hash_DChannel (std::string const &)
 
uint32_t hash_depth (HcalDetId const &)
 
uint32_t hash_depth (std::string const &)
 
uint32_t hash_EChannel (HcalElectronicsId const &)
 
uint32_t hash_EChannel (std::string const &)
 
uint32_t hash_Electronics (HcalElectronicsId const &)
 
uint32_t hash_Electronics (std::string const &)
 
uint32_t hash_FED (HcalElectronicsId const &)
 
uint32_t hash_FED (std::string const &)
 
uint32_t hash_FEDSlot (HcalElectronicsId const &)
 
uint32_t hash_FEDSlot (std::string const &)
 
uint32_t hash_FEDSpigot (HcalElectronicsId const &)
 
uint32_t hash_FEDSpigot (std::string const &)
 
uint32_t hash_Fiber (HcalElectronicsId const &)
 
uint32_t hash_Fiber (std::string const &)
 
uint32_t hash_FiberCh (HcalElectronicsId const &)
 
uint32_t hash_FiberCh (std::string const &)
 
uint32_t hash_FiberFiberCh (HcalElectronicsId const &)
 
uint32_t hash_FiberFiberCh (std::string const &)
 
uint32_t hash_HBHEPartition (HcalDetId const &)
 
uint32_t hash_HBHEPartition (std::string const &)
 
uint32_t hash_HFPMiphi (HcalDetId const &)
 
uint32_t hash_HFPMiphi (std::string const &)
 
uint32_t hash_ieta (HcalDetId const &)
 
uint32_t hash_ieta (std::string const &)
 
uint32_t hash_iphi (HcalDetId const &)
 
uint32_t hash_iphi (std::string const &)
 
uint32_t hash_Subdet (HcalDetId const &)
 
uint32_t hash_Subdet (std::string const &)
 
uint32_t hash_Subdetdepth (HcalDetId const &)
 
uint32_t hash_Subdetdepth (std::string const &)
 
uint32_t hash_Subdetieta (HcalDetId const &)
 
uint32_t hash_Subdetieta (std::string const &)
 
uint32_t hash_Subdetiphi (HcalDetId const &)
 
uint32_t hash_Subdetiphi (std::string const &)
 
uint32_t hash_SubdetPM (HcalDetId const &)
 
uint32_t hash_SubdetPM (std::string const &)
 
uint32_t hash_SubdetPMiphi (HcalDetId const &)
 
uint32_t hash_SubdetPMiphi (std::string const &)
 
uint32_t hash_TChannel (HcalTrigTowerDetId const &)
 
uint32_t hash_TChannel (std::string const &)
 
uint32_t hash_TTdepth (HcalTrigTowerDetId const &)
 
uint32_t hash_TTdepth (std::string const &)
 
uint32_t hash_TTSubdet (HcalTrigTowerDetId const &)
 
uint32_t hash_TTSubdet (std::string const &)
 
uint32_t hash_TTSubdetieta (HcalTrigTowerDetId const &)
 
uint32_t hash_TTSubdetieta (std::string const &)
 
uint32_t hash_TTSubdetPM (HcalTrigTowerDetId const &)
 
uint32_t hash_TTSubdetPM (std::string const &)
 
uint32_t hash_TTSubdetPMiphi (HcalTrigTowerDetId const &)
 
uint32_t hash_TTSubdetPMiphi (std::string const &)
 
std::string name_Crate (HcalElectronicsId const &)
 
std::string name_CrateSlot (HcalElectronicsId const &)
 
std::string name_CrateSpigot (HcalElectronicsId const &)
 
std::string name_DChannel (HcalDetId const &)
 
std::string name_depth (HcalDetId const &)
 
std::string name_EChannel (HcalElectronicsId const &)
 
std::string name_Electronics (HcalElectronicsId const &)
 
std::string name_FED (HcalElectronicsId const &)
 
std::string name_FEDSlot (HcalElectronicsId const &)
 
std::string name_FEDSpigot (HcalElectronicsId const &)
 
std::string name_Fiber (HcalElectronicsId const &)
 
std::string name_FiberCh (HcalElectronicsId const &)
 
std::string name_FiberFiberCh (HcalElectronicsId const &)
 
std::string name_HBHEPartition (HcalDetId const &)
 
std::string name_HFPMiphi (HcalDetId const &)
 
std::string name_ieta (HcalDetId const &)
 
std::string name_iphi (HcalDetId const &)
 
std::string name_Subdet (HcalDetId const &)
 
std::string name_Subdetdepth (HcalDetId const &)
 
std::string name_Subdetieta (HcalDetId const &)
 
std::string name_Subdetiphi (HcalDetId const &)
 
std::string name_SubdetPM (HcalDetId const &)
 
std::string name_SubdetPMiphi (HcalDetId const &)
 
std::string name_TChannel (HcalTrigTowerDetId const &)
 
std::string name_TTdepth (HcalTrigTowerDetId const &)
 
std::string name_TTSubdet (HcalTrigTowerDetId const &)
 
std::string name_TTSubdetieta (HcalTrigTowerDetId const &)
 
std::string name_TTSubdetPM (HcalTrigTowerDetId const &)
 
std::string name_TTSubdetPMiphi (HcalTrigTowerDetId const &)
 

Variables

const hash_function_did hash_did [nHashType_did]
 
const hash_function_eid hash_eid [nHashType_eid - nHashType_did - 1]
 
const std::string hash_names [nhashes]
 
const hash_function_tid hash_tid [nHashType_tid - nHashType_eid - 1]
 
const name_function_did name_did [nHashType_did]
 
const name_function_eid name_eid [nHashType_eid - nHashType_did - 1]
 
const name_function_tid name_tid [nHashType_tid - nHashType_eid - 1]
 
const int nhashes = nHashType_did + (nHashType_eid - nHashType_did - 1) + (nHashType_tid - nHashType_eid - 1)
 

Typedef Documentation

◆ hash_function_did

typedef uint32_t(* hcaldqm::hashfunctions::hash_function_did) (HcalDetId const &)

Definition at line 157 of file HashFunctions.h.

◆ hash_function_eid

typedef uint32_t(* hcaldqm::hashfunctions::hash_function_eid) (HcalElectronicsId const &)

Definition at line 158 of file HashFunctions.h.

◆ hash_function_tid

typedef uint32_t(* hcaldqm::hashfunctions::hash_function_tid) (HcalTrigTowerDetId const &)

Definition at line 159 of file HashFunctions.h.

◆ name_function_did

typedef std::string(* hcaldqm::hashfunctions::name_function_did) (HcalDetId const &)

Definition at line 160 of file HashFunctions.h.

◆ name_function_eid

typedef std::string(* hcaldqm::hashfunctions::name_function_eid) (HcalElectronicsId const &)

Definition at line 161 of file HashFunctions.h.

◆ name_function_tid

typedef std::string(* hcaldqm::hashfunctions::name_function_tid) (HcalTrigTowerDetId const &)

Definition at line 162 of file HashFunctions.h.

Enumeration Type Documentation

◆ HashType

Enumerator
fSubdet 
fSubdetiphi 
fSubdetieta 
fSubdetdepth 
fSubdetPM 
fSubdetPMiphi 
fiphi 
fieta 
fdepth 
fHFPMiphi 
fHBHEPartition 
fDChannel 
nHashType_did 
fFED 
fFEDSpigot 
fFEDSlot 
fCrate 
fCrateSpigot 
fCrateSlot 
fFiber 
fFiberFiberCh 
fFiberCh 
fElectronics 
fEChannel 
nHashType_eid 
fTTSubdet 
fTTSubdetPM 
fTTSubdetPMiphi 
fTTSubdetieta 
fTTdepth 
fTChannel 
nHashType_tid 
nHashType 

Definition at line 122 of file HashFunctions.h.

122  {
123  fSubdet = 0,
124  fSubdetiphi = 1,
125  fSubdetieta = 2,
126  fSubdetdepth = 3,
127  fSubdetPM = 4,
128  fSubdetPMiphi = 5,
129  fiphi = 6,
130  fieta = 7,
131  fdepth = 8,
132  fHFPMiphi = 9,
133  fHBHEPartition = 10,
134  fDChannel = 11,
135  nHashType_did = 12,
136  fFED = 13,
137  fFEDSpigot = 14,
138  fFEDSlot = 15,
139  fCrate = 16,
140  fCrateSpigot = 17,
141  fCrateSlot = 18,
142  fFiber = 19,
143  fFiberFiberCh = 20,
144  fFiberCh = 21,
145  fElectronics = 22,
146  fEChannel = 23,
147  nHashType_eid = 24,
148  fTTSubdet = 25,
149  fTTSubdetPM = 26,
150  fTTSubdetPMiphi = 27,
151  fTTSubdetieta = 28,
152  fTTdepth = 29,
153  fTChannel = 30,
154  nHashType_tid = 31,
155  nHashType = 32
156  };

Function Documentation

◆ hash_Crate() [1/2]

uint32_t hcaldqm::hashfunctions::hash_Crate ( HcalElectronicsId const &  eid)

Definition at line 268 of file HashFunctions.cc.

268  {
269  // note hashing of VME is done with dccId
270  // note 2: there are two dccids per crate, <even> and <even+1>. We don't
271  // care about this, so use the even one.
272  return eid.isVMEid()
274  FIBERCH_MIN, FIBER_VME_MIN, SPIGOT_MIN, (eid.dccid() % 2 == 0 ? eid.dccid() : eid.dccid() - 1)))
275  : utilities::hash(
277  }

References runTauDisplay::eid, hcaldqm::constants::FIBER_uTCA_MIN1, hcaldqm::constants::FIBER_VME_MIN, hcaldqm::constants::FIBERCH_MIN, hcaldqm::utilities::hash(), hcaldqm::constants::SLOT_uTCA_MIN, and hcaldqm::constants::SPIGOT_MIN.

◆ hash_Crate() [2/2]

uint32_t hcaldqm::hashfunctions::hash_Crate ( std::string const &  )

Definition at line 406 of file HashFunctions.cc.

406 { return HcalElectronicsId().rawId(); }

References HcalElectronicsId::rawId().

◆ hash_CrateSlot() [1/2]

uint32_t hcaldqm::hashfunctions::hash_CrateSlot ( HcalElectronicsId const &  eid)

Definition at line 288 of file HashFunctions.cc.

288  {
289  return eid.isVMEid()
291  FIBERCH_MIN, FIBER_VME_MIN, eid.spigot(), (eid.dccid() % 2 == 0 ? eid.dccid() : eid.dccid() - 1)))
292  : utilities::hash(HcalElectronicsId(eid.crateId(), eid.slot(), FIBER_uTCA_MIN1, FIBERCH_MIN, false));
293  }

References runTauDisplay::eid, hcaldqm::constants::FIBER_uTCA_MIN1, hcaldqm::constants::FIBER_VME_MIN, hcaldqm::constants::FIBERCH_MIN, and hcaldqm::utilities::hash().

◆ hash_CrateSlot() [2/2]

uint32_t hcaldqm::hashfunctions::hash_CrateSlot ( std::string const &  )

Definition at line 424 of file HashFunctions.cc.

424 { return HcalElectronicsId().rawId(); }

References HcalElectronicsId::rawId().

◆ hash_CrateSpigot() [1/2]

uint32_t hcaldqm::hashfunctions::hash_CrateSpigot ( HcalElectronicsId const &  eid)

Definition at line 279 of file HashFunctions.cc.

279  {
280  // note hashing of VME is done with dccid and
281  // uTCA with Slots
282  return eid.isVMEid()
284  FIBERCH_MIN, FIBER_VME_MIN, eid.spigot(), (eid.dccid() % 2 == 0 ? eid.dccid() : eid.dccid() - 1)))
285  : utilities::hash(HcalElectronicsId(eid.crateId(), eid.slot(), FIBER_uTCA_MIN1, FIBERCH_MIN, false));
286  }

References runTauDisplay::eid, hcaldqm::constants::FIBER_uTCA_MIN1, hcaldqm::constants::FIBER_VME_MIN, hcaldqm::constants::FIBERCH_MIN, and hcaldqm::utilities::hash().

◆ hash_CrateSpigot() [2/2]

uint32_t hcaldqm::hashfunctions::hash_CrateSpigot ( std::string const &  )

Definition at line 415 of file HashFunctions.cc.

415 { return HcalElectronicsId().rawId(); }

References HcalElectronicsId::rawId().

◆ hash_DChannel() [1/2]

uint32_t hcaldqm::hashfunctions::hash_DChannel ( HcalDetId const &  did)

Definition at line 60 of file HashFunctions.cc.

60 { return utilities::hash(did); }

References hcaldqm::utilities::hash().

◆ hash_DChannel() [2/2]

uint32_t hcaldqm::hashfunctions::hash_DChannel ( std::string const &  name)

Definition at line 237 of file HashFunctions.cc.

237 { return HcalDetId(HcalBarrel, 1, 1, 1).rawId(); }

References HcalBarrel, and DetId::rawId().

◆ hash_depth() [1/2]

uint32_t hcaldqm::hashfunctions::hash_depth ( HcalDetId const &  did)

Definition at line 36 of file HashFunctions.cc.

36  {
37  if (did.subdet() == HcalOuter)
38  return 9; // key of map, can be any uint32_t valure that is not a raw hcal detid
39  else
40  return utilities::hash(HcalDetId(HcalBarrel, 1, 1, did.depth()));
41  }

References HcalDetId::depth(), hcaldqm::utilities::hash(), HcalBarrel, HcalOuter, and HcalDetId::subdet().

◆ hash_depth() [2/2]

uint32_t hcaldqm::hashfunctions::hash_depth ( std::string const &  name)

Definition at line 184 of file HashFunctions.cc.

184  {
185  int depth = std::stoi(name.substr(5, name.length() - 5), nullptr);
186  if (name.find("HO") != std::string::npos)
187  return 9; // must match the value in method hash_depth(& digi)
188  else
189  return HcalDetId(HcalBarrel, 1, 1, depth).rawId();
190  }

References LEDCalibrationChannels::depth, HcalBarrel, Skims_PA_cff::name, and DetId::rawId().

◆ hash_EChannel() [1/2]

uint32_t hcaldqm::hashfunctions::hash_EChannel ( HcalElectronicsId const &  eid)

Definition at line 323 of file HashFunctions.cc.

323  {
324  return eid.isVMEid()
325  ? utilities::hash(HcalElectronicsId(eid.fiberChanId(), eid.fiberIndex(), eid.spigot(), eid.dccid()))
326  : utilities::hash(
327  HcalElectronicsId(eid.crateId(), eid.slot(), eid.fiberIndex(), eid.fiberChanId(), false));
328  }

References runTauDisplay::eid, and hcaldqm::utilities::hash().

Referenced by hcaldqm::electronicsmap::ElectronicsMap::initialize().

◆ hash_EChannel() [2/2]

uint32_t hcaldqm::hashfunctions::hash_EChannel ( std::string const &  )

Definition at line 464 of file HashFunctions.cc.

464 { return HcalElectronicsId().rawId(); }

References HcalElectronicsId::rawId().

◆ hash_Electronics() [1/2]

uint32_t hcaldqm::hashfunctions::hash_Electronics ( HcalElectronicsId const &  eid)

Definition at line 301 of file HashFunctions.cc.

301  {
303  : utilities::hash(
305  /* NOTE: as an update - should separate Trigger Eid and Det
306  Eid * return eid.isVMEid() ? eid.isTriggerChainId()?
307  utilities::hash(HcalElectronicsId(SLBCH_MIN,
308  SLB_MIN, SPIGOT_MIN,
309  CRATE_VME_MIN, CRATE_VME_MIN, SLOT_VME_MIN1, 0)):
310  utilities::hash(HcalElectronicsId(FIBERCH_MIN,
311  FIBER_VME_MIN, SPIGOT_MIN,
312  CRATE_VME_MIN))
313  :
314  eid.isTriggerChainId()?
315  utilities::hash(HcalElectronicsId(CRATE_uTCA_MIN,
316  SLOT_uTCA_MIN, TPFIBER_MIN,
317  TPFIBERCH_MIN, true)): utilities::hash(HcalElectronicsId(CRATE_uTCA_MIN,
318  SLOT_uTCA_MIN, FIBER_uTCA_MIN1,
319  FIBERCH_MIN, false));
320  */
321  }

References hcaldqm::constants::CRATE_uTCA_MIN, hcaldqm::constants::CRATE_VME_MIN, runTauDisplay::eid, hcaldqm::constants::FIBER_uTCA_MIN1, hcaldqm::constants::FIBER_VME_MIN, hcaldqm::constants::FIBERCH_MIN, hcaldqm::utilities::hash(), hcaldqm::constants::SLOT_uTCA_MIN, and hcaldqm::constants::SPIGOT_MIN.

◆ hash_Electronics() [2/2]

uint32_t hcaldqm::hashfunctions::hash_Electronics ( std::string const &  name)

◆ hash_FED() [1/2]

uint32_t hcaldqm::hashfunctions::hash_FED ( HcalElectronicsId const &  eid)

by ElectronicsId

Definition at line 242 of file HashFunctions.cc.

242  {
243  if (eid.isVMEid())
245  else {
246  // tmp - we need to hash HF's FEDs with slot in mind
247  // bool isHF = eid.crateId()==22 || eid.crateId()==29 || eid.crateId()==32;
248  // for HF, slot number is either
249  int slotToUse = eid.slot() > 6 ? SLOT_uTCA_MIN + 6 : SLOT_uTCA_MIN;
250  return utilities::hash(HcalElectronicsId(eid.crateId(), slotToUse, FIBER_uTCA_MIN1, FIBERCH_MIN, false));
251  }
252  }

References runTauDisplay::eid, hcaldqm::constants::FIBER_uTCA_MIN1, hcaldqm::constants::FIBER_VME_MIN, hcaldqm::constants::FIBERCH_MIN, hcaldqm::utilities::hash(), hcaldqm::constants::SLOT_uTCA_MIN, and hcaldqm::constants::SPIGOT_MIN.

◆ hash_FED() [2/2]

uint32_t hcaldqm::hashfunctions::hash_FED ( std::string const &  name)

Definition at line 336 of file HashFunctions.cc.

336  {
337  int fed = std::stoi(name.substr(3, name.length() - 3), nullptr);
338  if (fed >= constants::FED_uTCA_MIN) {
339  std::pair<uint16_t, uint16_t> cspair = utilities::fed2crate(fed);
340  return HcalElectronicsId(cspair.first, cspair.second, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId();
341  } else
343 
344  return HcalElectronicsId().rawId();
345  }

References hcaldqm::utilities::fed2crate(), hcaldqm::constants::FED_uTCA_MIN, hcaldqm::constants::FED_VME_MIN, hcaldqm::constants::FIBER_uTCA_MIN1, hcaldqm::constants::FIBER_VME_MIN, hcaldqm::constants::FIBERCH_MIN, Skims_PA_cff::name, HcalElectronicsId::rawId(), and hcaldqm::constants::SPIGOT_MIN.

◆ hash_FEDSlot() [1/2]

uint32_t hcaldqm::hashfunctions::hash_FEDSlot ( HcalElectronicsId const &  eid)

Definition at line 261 of file HashFunctions.cc.

261  {
262  // note that hashing of VME is done with
263  return eid.isVMEid()
266  }

References runTauDisplay::eid, hcaldqm::constants::FIBER_uTCA_MIN1, hcaldqm::constants::FIBER_VME_MIN, hcaldqm::constants::FIBERCH_MIN, and hcaldqm::utilities::hash().

◆ hash_FEDSlot() [2/2]

uint32_t hcaldqm::hashfunctions::hash_FEDSlot ( std::string const &  name)

Definition at line 378 of file HashFunctions.cc.

378  {
379  int pos = name.find('S');
380  int fed = std::stoi(name.substr(3, pos - 3), nullptr);
381  int s = std::stoi(name.substr(pos + 1, name.length() - pos - 1), nullptr);
382  if (fed >= FED_uTCA_MIN) {
383  std::pair<uint16_t, uint16_t> cspair = utilities::fed2crate(fed);
384  return HcalElectronicsId(cspair.first, cspair.second, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId();
385  } else
387 
388  return HcalElectronicsId().rawId();
389  }

References hcaldqm::utilities::fed2crate(), hcaldqm::constants::FED_uTCA_MIN, hcaldqm::constants::FED_VME_MIN, hcaldqm::constants::FIBER_uTCA_MIN1, hcaldqm::constants::FIBER_VME_MIN, hcaldqm::constants::FIBERCH_MIN, Skims_PA_cff::name, HcalElectronicsId::rawId(), and alignCSCRings::s.

◆ hash_FEDSpigot() [1/2]

uint32_t hcaldqm::hashfunctions::hash_FEDSpigot ( HcalElectronicsId const &  eid)

Definition at line 254 of file HashFunctions.cc.

254  {
255  // note that hashing of uTCA is done by FED-Slot...
256  return eid.isVMEid()
259  }

References runTauDisplay::eid, hcaldqm::constants::FIBER_uTCA_MIN1, hcaldqm::constants::FIBER_VME_MIN, hcaldqm::constants::FIBERCH_MIN, and hcaldqm::utilities::hash().

◆ hash_FEDSpigot() [2/2]

uint32_t hcaldqm::hashfunctions::hash_FEDSpigot ( std::string const &  name)

Definition at line 356 of file HashFunctions.cc.

356  {
357  int pos = name.find('S');
358  int fed = std::stoi(name.substr(3, pos - 3), nullptr);
359  int s = std::stoi(name.substr(pos + 1, name.length() - pos - 1), nullptr);
360  if (fed >= FED_uTCA_MIN) {
361  std::pair<uint16_t, uint16_t> cspair = utilities::fed2crate(fed);
362  return HcalElectronicsId(cspair.first, cspair.second, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId();
363  } else
365 
366  return HcalElectronicsId().rawId();
367  }

References hcaldqm::utilities::fed2crate(), hcaldqm::constants::FED_uTCA_MIN, hcaldqm::constants::FED_VME_MIN, hcaldqm::constants::FIBER_uTCA_MIN1, hcaldqm::constants::FIBER_VME_MIN, hcaldqm::constants::FIBERCH_MIN, Skims_PA_cff::name, HcalElectronicsId::rawId(), and alignCSCRings::s.

◆ hash_Fiber() [1/2]

uint32_t hcaldqm::hashfunctions::hash_Fiber ( HcalElectronicsId const &  )

Definition at line 295 of file HashFunctions.cc.

295 { return 0; }

◆ hash_Fiber() [2/2]

uint32_t hcaldqm::hashfunctions::hash_Fiber ( std::string const &  )

Definition at line 429 of file HashFunctions.cc.

429 { return HcalElectronicsId().rawId(); }

References HcalElectronicsId::rawId().

◆ hash_FiberCh() [1/2]

uint32_t hcaldqm::hashfunctions::hash_FiberCh ( HcalElectronicsId const &  eid)

Definition at line 299 of file HashFunctions.cc.

299 { return 0; }

◆ hash_FiberCh() [2/2]

uint32_t hcaldqm::hashfunctions::hash_FiberCh ( std::string const &  )

Definition at line 439 of file HashFunctions.cc.

439 { return HcalElectronicsId().rawId(); }

References HcalElectronicsId::rawId().

◆ hash_FiberFiberCh() [1/2]

uint32_t hcaldqm::hashfunctions::hash_FiberFiberCh ( HcalElectronicsId const &  )

Definition at line 297 of file HashFunctions.cc.

297 { return 0; }

◆ hash_FiberFiberCh() [2/2]

uint32_t hcaldqm::hashfunctions::hash_FiberFiberCh ( std::string const &  )

Definition at line 434 of file HashFunctions.cc.

434 { return HcalElectronicsId().rawId(); }

References HcalElectronicsId::rawId().

◆ hash_HBHEPartition() [1/2]

uint32_t hcaldqm::hashfunctions::hash_HBHEPartition ( HcalDetId const &  did)

Definition at line 47 of file HashFunctions.cc.

47  {
48  int iphi = did.iphi();
49  uint32_t hash = 0;
50  if (iphi >= 3 && iphi <= 26)
52  else if (iphi >= 27 && iphi <= 50)
54  else
56 
57  return hash;
58  }

References cond::hash, hcaldqm::utilities::hash(), HcalBarrel, LEDCalibrationChannels::iphi, and HcalDetId::iphi().

◆ hash_HBHEPartition() [2/2]

uint32_t hcaldqm::hashfunctions::hash_HBHEPartition ( std::string const &  name)

Definition at line 217 of file HashFunctions.cc.

217  {
218  if (name[4] == 'a')
219  return HcalDetId(HcalBarrel, 1, 5, 1).rawId();
220  else if (name[4] == 'b')
221  return HcalDetId(HcalBarrel, 1, 29, 1).rawId();
222  else
223  return HcalDetId(HcalBarrel, 1, 55, 1).rawId();
224 
225  return HcalDetId().rawId();
226  }

References HcalBarrel, Skims_PA_cff::name, and DetId::rawId().

◆ hash_HFPMiphi() [1/2]

uint32_t hcaldqm::hashfunctions::hash_HFPMiphi ( HcalDetId const &  did)

Definition at line 43 of file HashFunctions.cc.

43  {
44  return utilities::hash(HcalDetId(HcalForward, did.ieta() > 0 ? 1 : -1, did.iphi(), 1));
45  }

References hcaldqm::utilities::hash(), HcalForward, HcalDetId::ieta(), and HcalDetId::iphi().

◆ hash_HFPMiphi() [2/2]

uint32_t hcaldqm::hashfunctions::hash_HFPMiphi ( std::string const &  name)

Definition at line 198 of file HashFunctions.cc.

198  {
199  int iphi = std::stoi(name.substr(7, name.length() - 7), nullptr);
200  int ieta = name[2] == 'P' ? 1 : -1;
201  return HcalDetId(HcalForward, ieta, iphi, 1).rawId();
202  }

References HcalForward, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, Skims_PA_cff::name, and DetId::rawId().

◆ hash_ieta() [1/2]

uint32_t hcaldqm::hashfunctions::hash_ieta ( HcalDetId const &  did)

Definition at line 34 of file HashFunctions.cc.

34 { return utilities::hash(HcalDetId(HcalBarrel, did.ieta(), 1, 1)); }

References hcaldqm::utilities::hash(), HcalBarrel, and HcalDetId::ieta().

◆ hash_ieta() [2/2]

uint32_t hcaldqm::hashfunctions::hash_ieta ( std::string const &  name)

Definition at line 170 of file HashFunctions.cc.

170  {
171  int ieta = std::stoi(name.substr(4, name.length() - 4), nullptr);
172  return HcalDetId(HcalBarrel, ieta, 1, 1).rawId();
173  }

References HcalBarrel, LEDCalibrationChannels::ieta, Skims_PA_cff::name, and DetId::rawId().

◆ hash_iphi() [1/2]

uint32_t hcaldqm::hashfunctions::hash_iphi ( HcalDetId const &  did)

Definition at line 32 of file HashFunctions.cc.

32 { return utilities::hash(HcalDetId(HcalBarrel, 1, did.iphi(), 1)); }

References hcaldqm::utilities::hash(), HcalBarrel, and HcalDetId::iphi().

◆ hash_iphi() [2/2]

uint32_t hcaldqm::hashfunctions::hash_iphi ( std::string const &  name)

Definition at line 159 of file HashFunctions.cc.

159  {
160  int iphi = std::stoi(name.substr(4, name.length() - 4), nullptr);
161  return HcalDetId(HcalBarrel, 1, iphi, 1).rawId();
162  }

References HcalBarrel, LEDCalibrationChannels::iphi, Skims_PA_cff::name, and DetId::rawId().

◆ hash_Subdet() [1/2]

uint32_t hcaldqm::hashfunctions::hash_Subdet ( HcalDetId const &  did)

by HcalDetId

HcalDetId

Definition at line 10 of file HashFunctions.cc.

10 { return utilities::hash(HcalDetId(did.subdet(), 1, 1, 1)); }

References hcaldqm::utilities::hash(), and HcalDetId::subdet().

Referenced by DigiTask::globalEndLuminosityBlock().

◆ hash_Subdet() [2/2]

uint32_t hcaldqm::hashfunctions::hash_Subdet ( std::string const &  name)

Definition at line 64 of file HashFunctions.cc.

64  {
65  for (int i = 0; i < constants::SUBDET_NUM; i++)
67  return (HcalDetId((HcalSubdetector)(i + 1), 1, 1, 1).rawId());
68 
69  return HcalDetId().rawId();
70  }

References mps_fire::i, Skims_PA_cff::name, DetId::rawId(), hcaldqm::constants::SUBDET_NAME, and hcaldqm::constants::SUBDET_NUM.

◆ hash_Subdetdepth() [1/2]

uint32_t hcaldqm::hashfunctions::hash_Subdetdepth ( HcalDetId const &  did)

Definition at line 20 of file HashFunctions.cc.

20  {
21  return utilities::hash(HcalDetId(did.subdet(), 1, 1, did.depth()));
22  }

References HcalDetId::depth(), hcaldqm::utilities::hash(), and HcalDetId::subdet().

◆ hash_Subdetdepth() [2/2]

uint32_t hcaldqm::hashfunctions::hash_Subdetdepth ( std::string const &  name)

Definition at line 126 of file HashFunctions.cc.

126  {
127  std::string sub = name.substr(0, 2);
128  int depth = std::stoi(name.substr(7, name.length() - 7), nullptr);
129  for (int i = 0; i < constants::SUBDET_NUM; i++)
130  if (constants::SUBDET_NAME[i] == sub)
131  return HcalDetId((HcalSubdetector)(i + 1), 1, 1, depth).rawId();
132 
133  return HcalDetId().rawId();
134  }

References LEDCalibrationChannels::depth, mps_fire::i, Skims_PA_cff::name, DetId::rawId(), AlCaHLTBitMon_QueryRunRegistry::string, hcaldqm::constants::SUBDET_NAME, and hcaldqm::constants::SUBDET_NUM.

◆ hash_Subdetieta() [1/2]

uint32_t hcaldqm::hashfunctions::hash_Subdetieta ( HcalDetId const &  did)

Definition at line 16 of file HashFunctions.cc.

16  {
17  return utilities::hash(HcalDetId(did.subdet(), did.ieta(), 1, 1));
18  }

References hcaldqm::utilities::hash(), HcalDetId::ieta(), and HcalDetId::subdet().

◆ hash_Subdetieta() [2/2]

uint32_t hcaldqm::hashfunctions::hash_Subdetieta ( std::string const &  name)

Definition at line 109 of file HashFunctions.cc.

109  {
110  std::string sub = name.substr(0, 2);
111  int ieta = std::stoi(name.substr(6, name.length() - 6), nullptr);
112  for (int i = 0; i < constants::SUBDET_NUM; i++)
113  if (constants::SUBDET_NAME[i] == sub)
114  return HcalDetId((HcalSubdetector)(i + 1), ieta, 1, 1).rawId();
115 
116  // default
117  return HcalDetId().rawId();
118  }

References mps_fire::i, LEDCalibrationChannels::ieta, Skims_PA_cff::name, DetId::rawId(), AlCaHLTBitMon_QueryRunRegistry::string, hcaldqm::constants::SUBDET_NAME, and hcaldqm::constants::SUBDET_NUM.

◆ hash_Subdetiphi() [1/2]

uint32_t hcaldqm::hashfunctions::hash_Subdetiphi ( HcalDetId const &  did)

Definition at line 12 of file HashFunctions.cc.

12  {
13  return utilities::hash(HcalDetId(did.subdet(), 1, did.iphi(), 1));
14  }

References hcaldqm::utilities::hash(), HcalDetId::iphi(), and HcalDetId::subdet().

◆ hash_Subdetiphi() [2/2]

uint32_t hcaldqm::hashfunctions::hash_Subdetiphi ( std::string const &  name)

Definition at line 92 of file HashFunctions.cc.

92  {
93  std::string sub = name.substr(0, 2);
94  int iphi = std::stoi(name.substr(6, name.length() - 6), nullptr);
95  for (int i = 0; i < constants::SUBDET_NUM; i++)
96  if (constants::SUBDET_NAME[i] == sub)
97  return HcalDetId((HcalSubdetector)(i + 1), 1, iphi, 1).rawId();
98 
99  // default
100  return HcalDetId().rawId();
101  }

References mps_fire::i, LEDCalibrationChannels::iphi, Skims_PA_cff::name, DetId::rawId(), AlCaHLTBitMon_QueryRunRegistry::string, hcaldqm::constants::SUBDET_NAME, and hcaldqm::constants::SUBDET_NUM.

◆ hash_SubdetPM() [1/2]

uint32_t hcaldqm::hashfunctions::hash_SubdetPM ( HcalDetId const &  did)

Definition at line 24 of file HashFunctions.cc.

24  {
25  return utilities::hash(HcalDetId(did.subdet(), did.ieta() > 0 ? 1 : -1, 1, 1));
26  }

References hcaldqm::utilities::hash(), HcalDetId::ieta(), and HcalDetId::subdet().

◆ hash_SubdetPM() [2/2]

uint32_t hcaldqm::hashfunctions::hash_SubdetPM ( std::string const &  name)

Definition at line 78 of file HashFunctions.cc.

78  {
79  for (int i = 0; i < constants::SUBDET_NUM * 2; i++)
81  return HcalDetId((HcalSubdetector)(i / 2 + 1), i % 2 == 0 ? -1 : 1, 1, 1).rawId();
82 
83  return HcalDetId().rawId();
84  }

References mps_fire::i, Skims_PA_cff::name, DetId::rawId(), hcaldqm::constants::SUBDET_NUM, and hcaldqm::constants::SUBDETPM_NAME.

◆ hash_SubdetPMiphi() [1/2]

uint32_t hcaldqm::hashfunctions::hash_SubdetPMiphi ( HcalDetId const &  did)

Definition at line 28 of file HashFunctions.cc.

28  {
29  return utilities::hash(HcalDetId(did.subdet(), did.ieta() > 0 ? 1 : -1, did.iphi(), 1));
30  }

References hcaldqm::utilities::hash(), HcalDetId::ieta(), HcalDetId::iphi(), and HcalDetId::subdet().

◆ hash_SubdetPMiphi() [2/2]

uint32_t hcaldqm::hashfunctions::hash_SubdetPMiphi ( std::string const &  name)

Definition at line 143 of file HashFunctions.cc.

143  {
144  std::string sub = name.substr(0, 3);
145  int iphi = std::stoi(name.substr(7, name.length() - 7), nullptr);
146  for (int i = 0; i < constants::SUBDET_NUM * 2; i++)
147  if (constants::SUBDETPM_NAME[i] == sub)
148  return HcalDetId((HcalSubdetector)(i / 2 + 1), i % 2 == 0 ? -1 : 1, iphi, 1).rawId();
149 
150  return HcalDetId().rawId();
151  }

References mps_fire::i, LEDCalibrationChannels::iphi, Skims_PA_cff::name, DetId::rawId(), AlCaHLTBitMon_QueryRunRegistry::string, hcaldqm::constants::SUBDET_NUM, and hcaldqm::constants::SUBDETPM_NAME.

◆ hash_TChannel() [1/2]

uint32_t hcaldqm::hashfunctions::hash_TChannel ( HcalTrigTowerDetId const &  tid)

Definition at line 489 of file HashFunctions.cc.

489  {
490  return utilities::hash(HcalTrigTowerDetId(tid.ieta(), tid.iphi(), tid.depth()));
491  }

References HcalTrigTowerDetId::depth(), hcaldqm::utilities::hash(), HcalTrigTowerDetId::ieta(), and HcalTrigTowerDetId::iphi().

◆ hash_TChannel() [2/2]

uint32_t hcaldqm::hashfunctions::hash_TChannel ( std::string const &  )

Definition at line 568 of file HashFunctions.cc.

568 { return HcalTrigTowerDetId().rawId(); }

References DetId::rawId().

◆ hash_TTdepth() [1/2]

uint32_t hcaldqm::hashfunctions::hash_TTdepth ( HcalTrigTowerDetId const &  tid)

Definition at line 485 of file HashFunctions.cc.

485  {
486  return utilities::hash(HcalTrigTowerDetId(1, 1, tid.depth()));
487  }

References HcalTrigTowerDetId::depth(), and hcaldqm::utilities::hash().

◆ hash_TTdepth() [2/2]

uint32_t hcaldqm::hashfunctions::hash_TTdepth ( std::string const &  name)

Definition at line 556 of file HashFunctions.cc.

556  {
557  int depth = std::stoi(name.substr(5, name.length() - 5), nullptr);
558  return HcalTrigTowerDetId(1, 1, depth);
559  }

References LEDCalibrationChannels::depth, and Skims_PA_cff::name.

◆ hash_TTSubdet() [1/2]

uint32_t hcaldqm::hashfunctions::hash_TTSubdet ( HcalTrigTowerDetId const &  tid)

by TrigTowerDetId

Definition at line 469 of file HashFunctions.cc.

469  {
470  return utilities::hash(HcalTrigTowerDetId(tid.ietaAbs() >= 29 ? 29 : 1, 1));
471  }

References hcaldqm::utilities::hash(), and HcalTrigTowerDetId::ietaAbs().

◆ hash_TTSubdet() [2/2]

uint32_t hcaldqm::hashfunctions::hash_TTSubdet ( std::string const &  name)

Definition at line 497 of file HashFunctions.cc.

497  {
498  if (name == "HBHE")
499  return HcalTrigTowerDetId(1, 1).rawId();
500  else
501  return HcalTrigTowerDetId(29, 1).rawId();
502 
503  return HcalTrigTowerDetId().rawId();
504  }

References Skims_PA_cff::name, and DetId::rawId().

◆ hash_TTSubdetieta() [1/2]

uint32_t hcaldqm::hashfunctions::hash_TTSubdetieta ( HcalTrigTowerDetId const &  tid)

Definition at line 483 of file HashFunctions.cc.

483 { return 0; }

◆ hash_TTSubdetieta() [2/2]

uint32_t hcaldqm::hashfunctions::hash_TTSubdetieta ( std::string const &  )

Definition at line 548 of file HashFunctions.cc.

548 { return HcalTrigTowerDetId().rawId(); }

References DetId::rawId().

◆ hash_TTSubdetPM() [1/2]

uint32_t hcaldqm::hashfunctions::hash_TTSubdetPM ( HcalTrigTowerDetId const &  tid)

Definition at line 473 of file HashFunctions.cc.

473  {
474  return utilities::hash(
475  HcalTrigTowerDetId(tid.ietaAbs() < 29 ? (tid.ieta() < 0 ? -1 : 1) : (tid.ieta() < 0 ? -29 : 29), 1));
476  }

References hcaldqm::utilities::hash(), HcalTrigTowerDetId::ieta(), and HcalTrigTowerDetId::ietaAbs().

◆ hash_TTSubdetPM() [2/2]

uint32_t hcaldqm::hashfunctions::hash_TTSubdetPM ( std::string const &  name)

Definition at line 510 of file HashFunctions.cc.

510  {
511  if (name == "HBHEM")
512  return HcalTrigTowerDetId(-1, 1).rawId();
513  else if (name == "HBHEP")
514  return HcalTrigTowerDetId(1, 1).rawId();
515  else if (name == "HFM")
516  return HcalTrigTowerDetId(-29, 1).rawId();
517  else
518  return HcalTrigTowerDetId(29, 1).rawId();
519 
520  return HcalTrigTowerDetId().rawId();
521  }

References Skims_PA_cff::name, and DetId::rawId().

◆ hash_TTSubdetPMiphi() [1/2]

uint32_t hcaldqm::hashfunctions::hash_TTSubdetPMiphi ( HcalTrigTowerDetId const &  tid)

Definition at line 478 of file HashFunctions.cc.

478  {
479  return utilities::hash(
480  HcalTrigTowerDetId(tid.ietaAbs() < 29 ? (tid.ieta() < 0 ? 0 : 1) : (tid.ieta() < 0 ? 2 : 3), tid.iphi()));
481  }

References hcaldqm::utilities::hash(), HcalTrigTowerDetId::ieta(), HcalTrigTowerDetId::ietaAbs(), and HcalTrigTowerDetId::iphi().

◆ hash_TTSubdetPMiphi() [2/2]

uint32_t hcaldqm::hashfunctions::hash_TTSubdetPMiphi ( std::string const &  name)

Definition at line 529 of file HashFunctions.cc.

529  {
530  int pos = name.find("iphi");
531  std::string sub = name.substr(0, pos);
532  int iphi = std::stoi(name.substr(pos + 4, name.length() - pos - 4), nullptr);
533  if (name == "HBHEM")
534  return HcalTrigTowerDetId(-1, iphi).rawId();
535  else if (name == "HBHEP")
536  return HcalTrigTowerDetId(1, iphi).rawId();
537  else if (name == "HFM")
538  return HcalTrigTowerDetId(-29, iphi).rawId();
539  else
540  return HcalTrigTowerDetId(29, iphi).rawId();
541 
542  return HcalTrigTowerDetId().rawId();
543  }

References LEDCalibrationChannels::iphi, Skims_PA_cff::name, DetId::rawId(), and AlCaHLTBitMon_QueryRunRegistry::string.

◆ name_Crate()

std::string hcaldqm::hashfunctions::name_Crate ( HcalElectronicsId const &  eid)

Definition at line 391 of file HashFunctions.cc.

391  {
392  char name[16];
393  sprintf(name, "Crate%d", eid.crateId());
394 
395  // Note: previous, different hashes were returned for the two dccids in a VME
396  // crate. These now count as one crate.
397  // if (eid.isVMEid()) {
398  // sprintf(name, "Crate%d_VME_DCC%d", eid.crateId(), eid.dccid());
399  //} else {
400  // sprintf(name, "Crate%d", eid.crateId());
401  //}
402  return std::string(name);
403  }

References runTauDisplay::eid, Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ name_CrateSlot()

std::string hcaldqm::hashfunctions::name_CrateSlot ( HcalElectronicsId const &  eid)

Definition at line 417 of file HashFunctions.cc.

417  {
418  char name[20];
419  sprintf(name, "Crate%dS%d", eid.crateId(), eid.isVMEid() ? eid.spigot() : eid.slot());
420  return std::string(name);
421  }

References runTauDisplay::eid, Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ name_CrateSpigot()

std::string hcaldqm::hashfunctions::name_CrateSpigot ( HcalElectronicsId const &  eid)

Definition at line 408 of file HashFunctions.cc.

408  {
409  char name[20];
410  sprintf(name, "Crate%dS%d", eid.crateId(), eid.isVMEid() ? eid.spigot() : eid.slot());
411  return std::string(name);
412  }

References runTauDisplay::eid, Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ name_DChannel()

std::string hcaldqm::hashfunctions::name_DChannel ( HcalDetId const &  did)

Definition at line 228 of file HashFunctions.cc.

228  {
229  char name[40];
230  sprintf(
231  name, "%s-%d-%d-%d", constants::SUBDET_NAME[did.subdet() - 1].c_str(), did.ieta(), did.iphi(), did.depth());
232  return std::string(name);
233  }

References HcalDetId::depth(), HcalDetId::ieta(), HcalDetId::iphi(), Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, HcalDetId::subdet(), and hcaldqm::constants::SUBDET_NAME.

◆ name_depth()

std::string hcaldqm::hashfunctions::name_depth ( HcalDetId const &  did)

Definition at line 175 of file HashFunctions.cc.

175  {
176  char name[10];
177  if (did.subdet() == HcalOuter)
178  sprintf(name, "depthHO");
179  else
180  sprintf(name, "depth%d", did.depth());
181  return std::string(name);
182  }

References HcalDetId::depth(), HcalOuter, Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, and HcalDetId::subdet().

◆ name_EChannel()

std::string hcaldqm::hashfunctions::name_EChannel ( HcalElectronicsId const &  eid)

Definition at line 454 of file HashFunctions.cc.

454  {
455  char name[20];
456  if (eid.isVMEid())
457  sprintf(name, "%d-%d-%d-%d", eid.dccid(), eid.spigot(), eid.fiberIndex(), eid.fiberChanId());
458  else
459  sprintf(name, "%d-%d-%d-%d", eid.crateId(), eid.slot(), eid.fiberIndex(), eid.fiberChanId());
460  return std::string(name);
461  }

References runTauDisplay::eid, Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ name_Electronics()

std::string hcaldqm::hashfunctions::name_Electronics ( HcalElectronicsId const &  eid)

Definition at line 441 of file HashFunctions.cc.

441  {
442  return eid.isVMEid() ? std::string("VME") : std::string("uTCA");
443  }

References runTauDisplay::eid, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ name_FED()

std::string hcaldqm::hashfunctions::name_FED ( HcalElectronicsId const &  eid)

Definition at line 330 of file HashFunctions.cc.

330  {
331  char name[10];
332  sprintf(name, "FED%d", eid.isVMEid() ? eid.dccid() + 700 : utilities::crate2fed(eid.crateId(), eid.slot()));
333  return std::string(name);
334  }

References hcaldqm::utilities::crate2fed(), runTauDisplay::eid, Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ name_FEDSlot()

std::string hcaldqm::hashfunctions::name_FEDSlot ( HcalElectronicsId const &  eid)

Definition at line 369 of file HashFunctions.cc.

369  {
370  char name[20];
371  sprintf(name,
372  "FED%dS%d",
373  eid.isVMEid() ? eid.dccid() + 700 : utilities::crate2fed(eid.crateId(), eid.slot()),
374  eid.isVMEid() ? eid.spigot() : eid.slot());
375  return std::string(name);
376  }

References hcaldqm::utilities::crate2fed(), runTauDisplay::eid, Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ name_FEDSpigot()

std::string hcaldqm::hashfunctions::name_FEDSpigot ( HcalElectronicsId const &  eid)

Definition at line 347 of file HashFunctions.cc.

347  {
348  char name[20];
349  sprintf(name,
350  "FED%dS%d",
351  eid.isVMEid() ? eid.dccid() + 700 : utilities::crate2fed(eid.crateId(), eid.slot()),
352  eid.isVMEid() ? eid.spigot() : eid.slot());
353  return std::string(name);
354  }

References hcaldqm::utilities::crate2fed(), runTauDisplay::eid, Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ name_Fiber()

std::string hcaldqm::hashfunctions::name_Fiber ( HcalElectronicsId const &  )

Definition at line 426 of file HashFunctions.cc.

426 { return "None"; }

◆ name_FiberCh()

std::string hcaldqm::hashfunctions::name_FiberCh ( HcalElectronicsId const &  )

Definition at line 436 of file HashFunctions.cc.

436 { return "None"; }

◆ name_FiberFiberCh()

std::string hcaldqm::hashfunctions::name_FiberFiberCh ( HcalElectronicsId const &  )

Definition at line 431 of file HashFunctions.cc.

431 { return "None"; }

◆ name_HBHEPartition()

std::string hcaldqm::hashfunctions::name_HBHEPartition ( HcalDetId const &  did)

Definition at line 204 of file HashFunctions.cc.

204  {
205  char c;
206  if (did.iphi() >= 3 && did.iphi() <= 26)
207  c = 'a';
208  else if (did.iphi() >= 27 && did.iphi() <= 50)
209  c = 'b';
210  else
211  c = 'c';
212  char name[10];
213  sprintf(name, "HBHE%c", c);
214  return std::string(name);
215  }

References HltBtagPostValidation_cff::c, HcalDetId::iphi(), Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ name_HFPMiphi()

std::string hcaldqm::hashfunctions::name_HFPMiphi ( HcalDetId const &  did)

Definition at line 192 of file HashFunctions.cc.

192  {
193  char name[12];
194  snprintf(name, sizeof(name), "HF%ciphi%d", did.ieta() > 0 ? 'P' : 'M', did.iphi());
195  return std::string(name);
196  }

References HcalDetId::ieta(), HcalDetId::iphi(), Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ name_ieta()

std::string hcaldqm::hashfunctions::name_ieta ( HcalDetId const &  did)

Definition at line 164 of file HashFunctions.cc.

164  {
165  char name[10];
166  sprintf(name, "ieta%d", did.ieta());
167  return std::string(name);
168  }

References HcalDetId::ieta(), Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ name_iphi()

std::string hcaldqm::hashfunctions::name_iphi ( HcalDetId const &  did)

Definition at line 153 of file HashFunctions.cc.

153  {
154  char name[10];
155  sprintf(name, "iphi%d", did.iphi());
156  return std::string(name);
157  }

References HcalDetId::iphi(), Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ name_Subdet()

std::string hcaldqm::hashfunctions::name_Subdet ( HcalDetId const &  did)

Definition at line 62 of file HashFunctions.cc.

62 { return constants::SUBDET_NAME[did.subdet() - 1]; }

References HcalDetId::subdet(), and hcaldqm::constants::SUBDET_NAME.

◆ name_Subdetdepth()

std::string hcaldqm::hashfunctions::name_Subdetdepth ( HcalDetId const &  did)

Definition at line 120 of file HashFunctions.cc.

120  {
121  char name[20];
122  sprintf(name, "%sdepth%d", constants::SUBDET_NAME[did.subdet() - 1].c_str(), did.depth());
123  return std::string(name);
124  }

References HcalDetId::depth(), Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, HcalDetId::subdet(), and hcaldqm::constants::SUBDET_NAME.

◆ name_Subdetieta()

std::string hcaldqm::hashfunctions::name_Subdetieta ( HcalDetId const &  did)

Definition at line 103 of file HashFunctions.cc.

103  {
104  char name[20];
105  sprintf(name, "%sieta%d", constants::SUBDET_NAME[did.subdet() - 1].c_str(), did.ieta());
106  return std::string(name);
107  }

References HcalDetId::ieta(), Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, HcalDetId::subdet(), and hcaldqm::constants::SUBDET_NAME.

◆ name_Subdetiphi()

std::string hcaldqm::hashfunctions::name_Subdetiphi ( HcalDetId const &  did)

Definition at line 86 of file HashFunctions.cc.

86  {
87  char name[10];
88  sprintf(name, "%siphi%d", constants::SUBDET_NAME[did.subdet() - 1].c_str(), did.iphi());
89  return std::string(name);
90  }

References HcalDetId::iphi(), Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, HcalDetId::subdet(), and hcaldqm::constants::SUBDET_NAME.

◆ name_SubdetPM()

std::string hcaldqm::hashfunctions::name_SubdetPM ( HcalDetId const &  did)

Definition at line 72 of file HashFunctions.cc.

72  {
73  char name[10];
74  sprintf(name, "%s%s", constants::SUBDET_NAME[did.subdet() - 1].c_str(), did.ieta() > 0 ? "P" : "M");
75  return std::string(name);
76  }

References HcalDetId::ieta(), Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, HcalDetId::subdet(), and hcaldqm::constants::SUBDET_NAME.

◆ name_SubdetPMiphi()

std::string hcaldqm::hashfunctions::name_SubdetPMiphi ( HcalDetId const &  did)

Definition at line 136 of file HashFunctions.cc.

136  {
137  char name[20];
138  sprintf(
139  name, "%s%siphi%d", constants::SUBDET_NAME[did.subdet() - 1].c_str(), did.ieta() > 0 ? "P" : "M", did.iphi());
140  return std::string(name);
141  }

References HcalDetId::ieta(), HcalDetId::iphi(), Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, HcalDetId::subdet(), and hcaldqm::constants::SUBDET_NAME.

◆ name_TChannel()

std::string hcaldqm::hashfunctions::name_TChannel ( HcalTrigTowerDetId const &  tid)

Definition at line 561 of file HashFunctions.cc.

561  {
562  std::ostringstream stream;
563  stream << tid;
564  return std::string(stream.str());
565  }

References cms::cuda::stream, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ name_TTdepth()

std::string hcaldqm::hashfunctions::name_TTdepth ( HcalTrigTowerDetId const &  tid)

Definition at line 550 of file HashFunctions.cc.

550  {
551  char name[10];
552  sprintf(name, "depth%d", tid.depth());
553  return std::string(name);
554  }

References HcalTrigTowerDetId::depth(), Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ name_TTSubdet()

std::string hcaldqm::hashfunctions::name_TTSubdet ( HcalTrigTowerDetId const &  tid)

Definition at line 493 of file HashFunctions.cc.

493  {
494  return constants::TPSUBDET_NAME[tid.ietaAbs() < 29 ? 0 : 1];
495  }

References HcalTrigTowerDetId::ietaAbs(), and hcaldqm::constants::TPSUBDET_NAME.

◆ name_TTSubdetieta()

std::string hcaldqm::hashfunctions::name_TTSubdetieta ( HcalTrigTowerDetId const &  tid)

Definition at line 545 of file HashFunctions.cc.

545 { return "None"; }

◆ name_TTSubdetPM()

std::string hcaldqm::hashfunctions::name_TTSubdetPM ( HcalTrigTowerDetId const &  tid)

Definition at line 506 of file HashFunctions.cc.

506  {
507  return constants::TPSUBDETPM_NAME[tid.ietaAbs() < 29 ? (tid.ieta() < 0 ? 0 : 1) : (tid.ieta() < 0 ? 2 : 3)];
508  }

References HcalTrigTowerDetId::ieta(), HcalTrigTowerDetId::ietaAbs(), and hcaldqm::constants::TPSUBDETPM_NAME.

Referenced by name_TTSubdetPMiphi().

◆ name_TTSubdetPMiphi()

std::string hcaldqm::hashfunctions::name_TTSubdetPMiphi ( HcalTrigTowerDetId const &  tid)

Definition at line 523 of file HashFunctions.cc.

523  {
524  char name[10];
525  sprintf(name, "%siphi%d", name_TTSubdetPM(tid).c_str(), tid.iphi());
526  return std::string(name);
527  }

References HcalTrigTowerDetId::iphi(), Skims_PA_cff::name, name_TTSubdetPM(), and AlCaHLTBitMon_QueryRunRegistry::string.

Variable Documentation

◆ hash_did

const hash_function_did hcaldqm::hashfunctions::hash_did[nHashType_did]

◆ hash_eid

const hash_function_eid hcaldqm::hashfunctions::hash_eid[nHashType_eid - nHashType_did - 1]

◆ hash_names

const std::string hcaldqm::hashfunctions::hash_names[nhashes]
Initial value:
= {
"Subdet", "Subdetiphi", "Subdetieta", "Subdetdepth", "SubdetPM", "SubdetPMiphi",
"iphi", "ieta", "depth", "HFPMiphi", "HBHEPartition", "DChannel",
"FED", "FEDSpigot", "FEDSlot", "Crate", "CrateSpigot", "CrateSlot",
"Fiber", "FiberFiberCh", "FiberCh", "Electronics", "EChannel",
"TTSubdet", "TTSubdetPM", "TTSubdetPMiphi", "TTSubdetieta", "TTdepth", "TChannel"}

Definition at line 214 of file HashFunctions.h.

Referenced by hcaldqm::mapper::HashMapper::getHashTypeName().

◆ hash_tid

const hash_function_tid hcaldqm::hashfunctions::hash_tid[nHashType_tid - nHashType_eid - 1]

◆ name_did

const name_function_did hcaldqm::hashfunctions::name_did[nHashType_did]

◆ name_eid

const name_function_eid hcaldqm::hashfunctions::name_eid[nHashType_eid - nHashType_did - 1]

◆ name_tid

const name_function_tid hcaldqm::hashfunctions::name_tid[nHashType_tid - nHashType_eid - 1]

◆ nhashes

const int hcaldqm::hashfunctions::nhashes = nHashType_did + (nHashType_eid - nHashType_did - 1) + (nHashType_tid - nHashType_eid - 1)

Definition at line 213 of file HashFunctions.h.

hcaldqm::hashfunctions::fHFPMiphi
Definition: HashFunctions.h:132
hcaldqm::constants::FED_VME_MIN
const int FED_VME_MIN
Definition: Constants.h:80
mps_fire.i
i
Definition: mps_fire.py:428
hcaldqm::hashfunctions::fSubdetdepth
Definition: HashFunctions.h:126
hcaldqm::hashfunctions::name_TTdepth
std::string name_TTdepth(HcalTrigTowerDetId const &)
Definition: HashFunctions.cc:550
hcaldqm::hashfunctions::fieta
Definition: HashFunctions.h:130
hcaldqm::hashfunctions::fSubdetieta
Definition: HashFunctions.h:125
funct::false
false
Definition: Factorize.h:29
hcaldqm::hashfunctions::hash_Subdetiphi
uint32_t hash_Subdetiphi(std::string const &)
Definition: HashFunctions.cc:92
hcaldqm::hashfunctions::nHashType_did
Definition: HashFunctions.h:135
hcaldqm::hashfunctions::fEChannel
Definition: HashFunctions.h:146
hcaldqm::constants::SUBDETPM_NAME
const std::string SUBDETPM_NAME[2 *SUBDET_NUM]
Definition: Constants.h:165
hcaldqm::hashfunctions::name_Electronics
std::string name_Electronics(HcalElectronicsId const &)
Definition: HashFunctions.cc:441
hcaldqm::hashfunctions::fTTdepth
Definition: HashFunctions.h:152
utilities
Definition: utilities.py:1
cond::hash
Definition: Time.h:19
hcaldqm::hashfunctions::hash_FEDSpigot
uint32_t hash_FEDSpigot(std::string const &)
Definition: HashFunctions.cc:356
hcaldqm::hashfunctions::fElectronics
Definition: HashFunctions.h:145
hcaldqm::hashfunctions::hash_depth
uint32_t hash_depth(std::string const &)
Definition: HashFunctions.cc:184
hcaldqm::hashfunctions::name_Subdet
std::string name_Subdet(HcalDetId const &)
Definition: HashFunctions.cc:62
hcaldqm::hashfunctions::hash_TTSubdetPM
uint32_t hash_TTSubdetPM(std::string const &)
Definition: HashFunctions.cc:510
hcaldqm::hashfunctions::nHashType
Definition: HashFunctions.h:155
hcaldqm::hashfunctions::hash_TTSubdetieta
uint32_t hash_TTSubdetieta(std::string const &)
Definition: HashFunctions.cc:548
cms::cuda::stream
cudaStream_t stream
Definition: HistoContainer.h:57
pos
Definition: PixelAliasList.h:18
hcaldqm::hashfunctions::hash_TTSubdet
uint32_t hash_TTSubdet(std::string const &)
Definition: HashFunctions.cc:497
hcaldqm::hashfunctions::name_TTSubdet
std::string name_TTSubdet(HcalTrigTowerDetId const &)
Definition: HashFunctions.cc:493
hcaldqm::hashfunctions::fSubdetPM
Definition: HashFunctions.h:127
hcaldqm::constants::SPIGOT_MIN
const int SPIGOT_MIN
Definition: Constants.h:118
hcaldqm::constants::SLOT_uTCA_MIN
const int SLOT_uTCA_MIN
Definition: Constants.h:105
hcaldqm::constants::FIBER_uTCA_MIN1
const int FIBER_uTCA_MIN1
Definition: Constants.h:126
hcaldqm::hashfunctions::name_TChannel
std::string name_TChannel(HcalTrigTowerDetId const &)
Definition: HashFunctions.cc:561
hcaldqm::hashfunctions::name_Crate
std::string name_Crate(HcalElectronicsId const &)
Definition: HashFunctions.cc:391
hcaldqm::hashfunctions::fSubdetiphi
Definition: HashFunctions.h:124
hcaldqm::hashfunctions::fiphi
Definition: HashFunctions.h:129
hcaldqm::hashfunctions::fFED
Definition: HashFunctions.h:136
hcaldqm::hashfunctions::fCrateSpigot
Definition: HashFunctions.h:140
HcalBarrel
Definition: HcalAssistant.h:33
hcaldqm::hashfunctions::name_FiberFiberCh
std::string name_FiberFiberCh(HcalElectronicsId const &)
Definition: HashFunctions.cc:431
hcaldqm::hashfunctions::hash_EChannel
uint32_t hash_EChannel(std::string const &)
Definition: HashFunctions.cc:464
hcaldqm::hashfunctions::fdepth
Definition: HashFunctions.h:131
hcaldqm::hashfunctions::hash_Subdetieta
uint32_t hash_Subdetieta(std::string const &)
Definition: HashFunctions.cc:109
hcaldqm::hashfunctions::hash_Fiber
uint32_t hash_Fiber(std::string const &)
Definition: HashFunctions.cc:429
hcaldqm::hashfunctions::fFEDSlot
Definition: HashFunctions.h:138
hcaldqm::hashfunctions::name_Subdetiphi
std::string name_Subdetiphi(HcalDetId const &)
Definition: HashFunctions.cc:86
hcaldqm::hashfunctions::fCrateSlot
Definition: HashFunctions.h:141
LEDCalibrationChannels.iphi
iphi
Definition: LEDCalibrationChannels.py:64
hcaldqm::hashfunctions::fSubdetPMiphi
Definition: HashFunctions.h:128
hcaldqm::hashfunctions::hash_Subdetdepth
uint32_t hash_Subdetdepth(std::string const &)
Definition: HashFunctions.cc:126
hcaldqm::hashfunctions::hash_CrateSpigot
uint32_t hash_CrateSpigot(std::string const &)
Definition: HashFunctions.cc:415
hcaldqm::hashfunctions::hash_FiberFiberCh
uint32_t hash_FiberFiberCh(std::string const &)
Definition: HashFunctions.cc:434
hcaldqm::hashfunctions::name_TTSubdetieta
std::string name_TTSubdetieta(HcalTrigTowerDetId const &)
Definition: HashFunctions.cc:545
alignCSCRings.s
s
Definition: alignCSCRings.py:92
hcaldqm::hashfunctions::hash_HFPMiphi
uint32_t hash_HFPMiphi(std::string const &)
Definition: HashFunctions.cc:198
hcaldqm::hashfunctions::fCrate
Definition: HashFunctions.h:139
hcaldqm::hashfunctions::fFiber
Definition: HashFunctions.h:142
hcaldqm::constants::CRATE_uTCA_MIN
const int CRATE_uTCA_MIN
Definition: Constants.h:98
hcaldqm::hashfunctions::fTTSubdetieta
Definition: HashFunctions.h:151
hcaldqm::constants::FIBER_VME_MIN
const int FIBER_VME_MIN
Definition: Constants.h:123
HcalElectronicsId
Readout chain identification for Hcal.
Definition: HcalElectronicsId.h:32
hcaldqm::hashfunctions::name_EChannel
std::string name_EChannel(HcalElectronicsId const &)
Definition: HashFunctions.cc:454
hcaldqm::hashfunctions::hash_DChannel
uint32_t hash_DChannel(std::string const &)
Definition: HashFunctions.cc:237
HcalOuter
Definition: HcalAssistant.h:35
hcaldqm::hashfunctions::hash_Crate
uint32_t hash_Crate(std::string const &)
Definition: HashFunctions.cc:406
hcaldqm::hashfunctions::name_HFPMiphi
std::string name_HFPMiphi(HcalDetId const &)
Definition: HashFunctions.cc:192
hcaldqm::constants::FIBERCH_MIN
const int FIBERCH_MIN
Definition: Constants.h:132
hcaldqm::hashfunctions::fSubdet
Definition: HashFunctions.h:123
hcaldqm::hashfunctions::nHashType_tid
Definition: HashFunctions.h:154
hcaldqm::hashfunctions::name_FEDSpigot
std::string name_FEDSpigot(HcalElectronicsId const &)
Definition: HashFunctions.cc:347
LEDCalibrationChannels.depth
depth
Definition: LEDCalibrationChannels.py:65
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
hcaldqm::hashfunctions::name_SubdetPM
std::string name_SubdetPM(HcalDetId const &)
Definition: HashFunctions.cc:72
hcaldqm::constants::TPSUBDETPM_NAME
const std::string TPSUBDETPM_NAME[2 *TPSUBDET_NUM]
Definition: Constants.h:168
hcaldqm::hashfunctions::hash_HBHEPartition
uint32_t hash_HBHEPartition(std::string const &)
Definition: HashFunctions.cc:217
LEDCalibrationChannels.ieta
ieta
Definition: LEDCalibrationChannels.py:63
hcaldqm::hashfunctions::fTTSubdet
Definition: HashFunctions.h:148
hcaldqm::hashfunctions::name_DChannel
std::string name_DChannel(HcalDetId const &)
Definition: HashFunctions.cc:228
hcaldqm::hashfunctions::fTTSubdetPMiphi
Definition: HashFunctions.h:150
hcaldqm::hashfunctions::fDChannel
Definition: HashFunctions.h:134
hcaldqm::constants::FED_uTCA_MIN
const int FED_uTCA_MIN
Definition: Constants.h:85
HcalDetId
Definition: HcalDetId.h:12
hcaldqm::hashfunctions::hash_FED
uint32_t hash_FED(std::string const &)
Definition: HashFunctions.cc:336
runTauDisplay.eid
eid
Definition: runTauDisplay.py:298
hcaldqm::hashfunctions::hash_FEDSlot
uint32_t hash_FEDSlot(std::string const &)
Definition: HashFunctions.cc:378
hcaldqm::hashfunctions::name_HBHEPartition
std::string name_HBHEPartition(HcalDetId const &)
Definition: HashFunctions.cc:204
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
hcaldqm::hashfunctions::fTTSubdetPM
Definition: HashFunctions.h:149
hcaldqm::hashfunctions::name_depth
std::string name_depth(HcalDetId const &)
Definition: HashFunctions.cc:175
HcalSubdetector
HcalSubdetector
Definition: HcalAssistant.h:31
HcalForward
Definition: HcalAssistant.h:36
hcaldqm::hashfunctions::name_SubdetPMiphi
std::string name_SubdetPMiphi(HcalDetId const &)
Definition: HashFunctions.cc:136
hcaldqm::hashfunctions::fFiberCh
Definition: HashFunctions.h:144
std
Definition: JetResolutionObject.h:76
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
hcaldqm::hashfunctions::hash_FiberCh
uint32_t hash_FiberCh(std::string const &)
Definition: HashFunctions.cc:439
hcaldqm::constants::SUBDET_NUM
const int SUBDET_NUM
Definition: Constants.h:162
hcaldqm::hashfunctions::nHashType_eid
Definition: HashFunctions.h:147
hcaldqm::hashfunctions::fHBHEPartition
Definition: HashFunctions.h:133
hcaldqm::hashfunctions::name_FED
std::string name_FED(HcalElectronicsId const &)
Definition: HashFunctions.cc:330
hcaldqm::hashfunctions::name_TTSubdetPM
std::string name_TTSubdetPM(HcalTrigTowerDetId const &)
Definition: HashFunctions.cc:506
HcalElectronicsId::rawId
constexpr uint32_t rawId() const
Definition: HcalElectronicsId.h:59
hcaldqm::hashfunctions::name_iphi
std::string name_iphi(HcalDetId const &)
Definition: HashFunctions.cc:153
hcaldqm::hashfunctions::name_TTSubdetPMiphi
std::string name_TTSubdetPMiphi(HcalTrigTowerDetId const &)
Definition: HashFunctions.cc:523
hcaldqm::hashfunctions::name_Subdetdepth
std::string name_Subdetdepth(HcalDetId const &)
Definition: HashFunctions.cc:120
hcaldqm::utilities::fed2crate
std::pair< uint16_t, uint16_t > fed2crate(int fed)
Definition: Utilities.cc:10
hcaldqm::hashfunctions::hash_iphi
uint32_t hash_iphi(std::string const &)
Definition: HashFunctions.cc:159
hcaldqm::hashfunctions::hash_TTSubdetPMiphi
uint32_t hash_TTSubdetPMiphi(std::string const &)
Definition: HashFunctions.cc:529
hcaldqm::hashfunctions::hash_ieta
uint32_t hash_ieta(std::string const &)
Definition: HashFunctions.cc:170
hcaldqm::hashfunctions::fTChannel
Definition: HashFunctions.h:153
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
hcaldqm::utilities::crate2fed
uint16_t crate2fed(int crate, int slot)
Definition: Utilities.cc:27
hcaldqm::hashfunctions::hash_TTdepth
uint32_t hash_TTdepth(std::string const &)
Definition: HashFunctions.cc:556
hcaldqm::hashfunctions::hash_TChannel
uint32_t hash_TChannel(std::string const &)
Definition: HashFunctions.cc:568
hcaldqm::hashfunctions::fFiberFiberCh
Definition: HashFunctions.h:143
hcaldqm::constants::SUBDET_NAME
const std::string SUBDET_NAME[SUBDET_NUM]
Definition: Constants.h:164
hcaldqm::hashfunctions::hash_Subdet
uint32_t hash_Subdet(std::string const &)
Definition: HashFunctions.cc:64
hcaldqm::hashfunctions::name_Fiber
std::string name_Fiber(HcalElectronicsId const &)
Definition: HashFunctions.cc:426
hcaldqm::hashfunctions::name_FEDSlot
std::string name_FEDSlot(HcalElectronicsId const &)
Definition: HashFunctions.cc:369
hcaldqm::hashfunctions::hash_Electronics
uint32_t hash_Electronics(std::string const &)
Definition: HashFunctions.cc:445
hcaldqm::hashfunctions::name_CrateSpigot
std::string name_CrateSpigot(HcalElectronicsId const &)
Definition: HashFunctions.cc:408
hcaldqm::constants::CRATE_VME_MIN
const int CRATE_VME_MIN
Definition: Constants.h:93
hcaldqm::hashfunctions::hash_SubdetPMiphi
uint32_t hash_SubdetPMiphi(std::string const &)
Definition: HashFunctions.cc:143
hcaldqm::hashfunctions::name_FiberCh
std::string name_FiberCh(HcalElectronicsId const &)
Definition: HashFunctions.cc:436
hcaldqm::hashfunctions::name_CrateSlot
std::string name_CrateSlot(HcalElectronicsId const &)
Definition: HashFunctions.cc:417
hcaldqm::hashfunctions::hash_CrateSlot
uint32_t hash_CrateSlot(std::string const &)
Definition: HashFunctions.cc:424
hcaldqm::hashfunctions::name_ieta
std::string name_ieta(HcalDetId const &)
Definition: HashFunctions.cc:164
hcaldqm::hashfunctions::fFEDSpigot
Definition: HashFunctions.h:137
HcalTrigTowerDetId
Definition: HcalTrigTowerDetId.h:14
hcaldqm::hashfunctions::hash_SubdetPM
uint32_t hash_SubdetPM(std::string const &)
Definition: HashFunctions.cc:78
hcaldqm::constants::TPSUBDET_NAME
const std::string TPSUBDET_NAME[TPSUBDET_NUM]
Definition: Constants.h:167
hcaldqm::hashfunctions::name_Subdetieta
std::string name_Subdetieta(HcalDetId const &)
Definition: HashFunctions.cc:103