test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ElectronicsQuantity.cc
Go to the documentation of this file.
2 
3 namespace hcaldqm
4 {
5  namespace quantity
6  {
8  {
9  int v = 0;
10  if (eid.isVMEid())
11  v = eid.dccid();
12  else
15  return v;
16  }
17 
19  {
21  }
22 
24  {
25  return eid.dccid();
26  }
27 
29  {
30  int c = eid.crateId();
31  if (eid.isUTCAid())
33  return c;
34  }
35 
37  {
38  return eid.crateId()-CRATE_uTCA_MIN;
39  }
40 
42  {
43  return eid.crateId();
44  }
45 
47  {
48  return eid.slot()-SLOT_uTCA_MIN;
49  }
50 
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  }
60 
62  {
63  return eid.spigot();
64  }
65 
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  }
76 
78  {
79  return eid.fiberIndex()-1;
80  }
81 
83  {
84  return eid.fiberChanId();
85  }
86 
88  {
89  int ifed = getValue_FEDuTCA(eid);
90  int islot = getValue_SlotuTCA(eid);
91  return ifed*SLOT_uTCA_NUM+islot;
92  }
93 
95  {
96  int ifed = getValue_FEDVME(eid);
97  int ispigot = getValue_Spigot(eid);
98  return ifed*SPIGOT_NUM+ispigot;
99  }
100 
102  {
103  int ifiber = getValue_FiberuTCA(eid);
104  int ifch = getValue_FiberCh(eid);
105  return ifiber*FIBERCH_NUM+ifch;
106  }
107 
109  {
110  int ifiber = getValue_FiberVME(eid);
111  int ifch = getValue_FiberCh(eid);
112  return ifiber*FIBERCH_NUM+ifch;
113  }
114 
116  {
117  int slbsite = eid.slbSiteNumber();
118  return slbsite-SLB_MIN;
119  }
120 
122  {
123  return eid.slbChannelIndex()-SLBCH_MIN;
124  }
125 
127  {
128  int islb = getValue_SLB(eid);
129  int islbch = getValue_SLBCh(eid);
130  return islb*SLBCH_NUM+islbch;
131  }
132 
134  {
135  return eid.fiberIndex()-TPFIBER_MIN;
136  }
137 
139  {
140  return eid.fiberChanId()-TPFIBERCH_MIN;
141  }
142 
144  {
145  int ifib = getValue_FiberuTCATP(eid);
146  int ifibch = getValue_FiberChuTCATP(eid);
147  return ifib*TPFIBERCH_NUM+ifibch;
148  }
149 
150  uint32_t getBin_FED(HcalElectronicsId const& eid)
151  {
152  return (uint32_t)(getValue_FED(eid)+1);
153  }
154 
155  uint32_t getBin_FEDuTCA(HcalElectronicsId const& eid)
156  {
157  return (uint32_t)(getValue_FEDuTCA(eid)+1);
158  }
159 
160  uint32_t getBin_FEDVME(HcalElectronicsId const& eid)
161  {
162  return (uint32_t)(getValue_FEDVME(eid)+1);
163  }
164 
165  uint32_t getBin_Crate(HcalElectronicsId const& eid)
166  {
167  return (uint32_t)(getValue_Crate(eid)+1);
168  }
169 
170  uint32_t getBin_CrateuTCA(HcalElectronicsId const& eid)
171  {
172  return (uint32_t)(getValue_CrateuTCA(eid)+1);
173  }
174 
175  uint32_t getBin_CrateVME(HcalElectronicsId const& eid)
176  {
177  return (uint32_t)(getValue_CrateVME(eid)+1);
178  }
179 
180  uint32_t getBin_SlotuTCA(HcalElectronicsId const& eid)
181  {
182  return (uint32_t)(getValue_SlotuTCA(eid)+1);
183  }
184 
185  uint32_t getBin_SlotVME(HcalElectronicsId const& eid)
186  {
187  return (uint32_t)(getValue_SlotVME(eid)+1);
188  }
189 
190  uint32_t getBin_Spigot(HcalElectronicsId const& eid)
191  {
192  return (uint32_t)(getValue_Spigot(eid)+1);
193  }
194 
195  uint32_t getBin_FiberuTCA(HcalElectronicsId const& eid)
196  {
197  return (uint32_t)(getValue_FiberuTCA(eid)+1);
198  }
199 
200  uint32_t getBin_FiberVME(HcalElectronicsId const& eid)
201  {
202  return (uint32_t)(getValue_FiberVME(eid)+1);
203  }
204 
205  uint32_t getBin_FiberCh(HcalElectronicsId const& eid)
206  {
207  return (uint32_t)(getValue_FiberCh(eid)+1);
208  }
209 
211  {
212  return (uint32_t)(getValue_FEDuTCASlot(eid)+1);
213  }
214 
216  {
217  return (uint32_t)(getValue_FEDVMESpigot(eid)+1);
218  }
219 
221  {
222  return (uint32_t)(getValue_FiberuTCAFiberCh(eid)+1);
223  }
224 
226  {
227  return (uint32_t)(getValue_FiberVMEFiberCh(eid)+1);
228  }
229 
230  uint32_t getBin_SLB(HcalElectronicsId const& eid)
231  {
232  return (uint32_t)(getValue_SLB(eid)+1);
233  }
234 
235  uint32_t getBin_SLBCh(HcalElectronicsId const& eid)
236  {
237  return (uint32_t)(getValue_SLBCh(eid)+1);
238  }
239 
240  uint32_t getBin_SLBSLBCh(HcalElectronicsId const& eid)
241  {
242  return (uint32_t)(getValue_SLBSLBCh(eid)+1);
243  }
244 
246  {
247  return (uint32_t)(getValue_FiberuTCATP(eid)+1);
248  }
249 
251  {
252  return (uint32_t)(getValue_FiberChuTCATP(eid)+1);
253  }
254 
256  {
257  return (uint32_t)(getValue_FiberuTCATPFiberChuTCATP(eid)+1);
258  }
259 
261  {
264  HcalElectronicsId(utilities::fed2crate(v-FED_VME_NUM+1100),
266  FIBERCH_MIN, false);
267  }
268 
270  {
273  }
274 
276  {
279  }
280 
282  {
283  return v<CRATE_VME_NUM ?
285  HcalElectronicsId(v-CRATE_VME_NUM+CRATE_uTCA_MIN,
287  }
288 
290  {
292  SPIGOT_MIN, v);
293  }
294 
296  {
299  }
300 
302  {
305  }
306 
307  // nothing for now...
309  {
310  return
313  }
314 
316  {
318  v, CRATE_VME_MIN);
319  }
320 
322  {
327  FIBERCH_MIN, false);
328  }
329 
331  {
332  return HcalElectronicsId(FIBERCH_MIN, v+1,
334  }
335 
337  {
339  FIBER_uTCA_MIN1, v, false);
340  }
341 
343  {
346  return HcalElectronicsId(
347  fedeid.crateId(), sloteid.slot(), FIBER_uTCA_MIN1,
348  FIBERCH_MIN, false);
349  }
350 
352  {
356  spid.spigot(), fedeid.dccid());
357  }
358 
360  {
364  fibereid.fiberIndex(), fcheid.fiberChanId(), false);
365  }
366 
368  {
371  return HcalElectronicsId(fcheid.fiberChanId(),
372  fibereid.fiberIndex(), SPIGOT_MIN, CRATE_VME_MIN);
373  }
374 
376  {
379  0);
380  }
381 
383  {
386  0);
387  }
388 
390  {
393  return HcalElectronicsId(slbcheid.slbChannelIndex(),
396  }
397 
399  {
402  }
403 
405  {
408  }
409 
411  {
415  fibeid.fiberIndex(), fibcheid.fiberChanId(), true);
416  }
417 
418  std::vector<std::string> getLabels_FED()
419  {
420  std::vector<std::string> labels;
421  char name[10];
422  for (int i=0; i<FED_TOTAL_NUM; i++)
423  {
425  sprintf(name, "%d",
426  eid.isVMEid()?eid.dccid()+700:utilities::crate2fed(
427  eid.crateId()));
428  labels.push_back(std::string(name));
429  }
430  return labels;
431  }
432 
433  std::vector<std::string> getLabels_FEDuTCA()
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",
442  labels.push_back(std::string(name));
443  }
444  return labels;
445  }
446 
447  std::vector<std::string> getLabels_FEDVME()
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  }
459 
460  std::vector<std::string> getLabels_Crate()
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  }
473 
474  std::vector<std::string> getLabels_CrateVME()
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  }
487 
488  std::vector<std::string> getLabels_CrateuTCA()
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  }
501 
502  std::vector<std::string> getLabels_SlotuTCA()
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  }
515 
516  std::vector<std::string> getLabels_SlotVME()
517  {
518  return std::vector<std::string>();
519  }
520 
521  std::vector<std::string> getLabels_Spigot()
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  }
536 
537  std::vector<std::string> getLabels_FiberuTCA()
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  }
550 
551  std::vector<std::string> getLabels_FiberVME()
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  }
564 
565  std::vector<std::string> getLabels_FiberCh()
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  }
578 
579  std::vector<std::string> getLabels_FEDuTCASlot()
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",
595  eid.slot());
596  labels.push_back(std::string(name));
597  }
598  return labels;
599  }
600 
601  std::vector<std::string> getLabels_FEDVMESpigot()
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  }
622 
623  std::vector<std::string> getLabels_FiberuTCAFiberCh()
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  }
644 
645  std::vector<std::string> getLabels_FiberVMEFiberCh()
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  }
665 
666  std::vector<std::string> getLabels_SLB()
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  }
679 
680  std::vector<std::string> getLabels_SLBCh()
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  }
693 
694  std::vector<std::string> getLabels_SLBSLBCh()
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  }
709 
710  std::vector<std::string> getLabels_FiberuTCATP()
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  }
723 
724  std::vector<std::string> getLabels_FiberChuTCATP()
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  }
737 
738  std::vector<std::string> getLabels_FiberuTCATPFiberChuTCATP()
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  }
754 
755  void FEDQuantity::setup(std::vector<int> const& vFEDs)
756  {
757  for (uint32_t i=0; i<vFEDs.size(); i++)
758  _feds.insert(std::make_pair(vFEDs[i], i));
759  }
760 
762  {
763  int fed = eid.isVMEid()?eid.dccid()+FED_VME_MIN:
765  return _feds[fed];
766  }
767 
769  {
770  return getValue(eid)+1;
771  }
772 
773  std::vector<std::string> FEDQuantity::getLabels()
774  {
775  std::vector<std::string> labels(_feds.size());
776  char name[5];
777  BOOST_FOREACH(FEDMap::value_type &v, _feds)
778  {
779  sprintf(name, "%d", v.first);
780  labels[v.second] = std::string(name);
781  }
782 
783  return labels;
784  }
785  }
786 }
std::vector< std::string > getLabels_Crate()
std::vector< std::string > getLabels_Spigot()
virtual void setup(std::vector< int > const &vFEDs)
int const SLOT_VME_MAX1
Definition: Constants.h:78
int i
Definition: DBlmapReader.cc:9
HcalElectronicsId getEid_FEDuTCASlot(int)
int fiberIndex() const
get the fiber index. For VME 1-8 (which of eight fibers carried by a spigot), for uTCA fibers are zer...
uint32_t getBin_SlotuTCA(HcalElectronicsId const &)
virtual std::string name()
Definition: Quantity.h:47
HcalElectronicsId getEid_SLB(int)
uint32_t getBin_SLBSLBCh(HcalElectronicsId const &)
HcalElectronicsId getEid_FiberuTCAFiberCh(int)
int const CRATE_VME_MIN
Definition: Constants.h:60
int const TPFIBER_NUM
Definition: Constants.h:111
std::vector< std::string > getLabels_FED()
uint16_t fed2crate(int fed)
Definition: Utilities.cc:12
int const FIBERCH_NUM
Definition: Constants.h:102
int getValue_FiberChuTCATP(HcalElectronicsId const &)
int getValue_FED(HcalElectronicsId const &)
uint32_t getBin_CrateuTCA(HcalElectronicsId const &)
int getValue_SLBSLBCh(HcalElectronicsId const &)
int getValue_SlotVME(HcalElectronicsId const &)
int getValue_Spigot(HcalElectronicsId const &)
HcalElectronicsId getEid_FiberuTCA(int)
std::vector< std::string > getLabels_SlotVME()
uint32_t getBin_FiberuTCAFiberCh(HcalElectronicsId const &)
int const CRATE_uTCA_NUM
Definition: Constants.h:68
std::vector< std::string > getLabels_FiberChuTCATP()
uint32_t getBin_FiberVMEFiberCh(HcalElectronicsId const &)
int getValue_FiberuTCATP(HcalElectronicsId const &)
HcalElectronicsId getEid_SlotVME(int)
uint32_t getBin_FEDVME(HcalElectronicsId const &)
int const SPIGOT_MIN
Definition: Constants.h:85
int const SLBCH_MIN
Definition: Constants.h:113
uint32_t getBin_FiberuTCATP(HcalElectronicsId const &)
uint32_t getBin_FiberChuTCATP(HcalElectronicsId const &)
std::vector< std::string > getLabels_FiberVMEFiberCh()
int getValue_FiberVME(HcalElectronicsId const &)
uint32_t getBin_FEDuTCASlot(HcalElectronicsId const &)
int const FIBER_VME_MIN
Definition: Constants.h:90
HcalElectronicsId getEid_CrateVME(int)
std::vector< std::string > getLabels_FiberuTCATPFiberChuTCATP()
std::vector< std::string > getLabels_SLB()
int crateId() const
get the readout VME crate number
int const FED_uTCA_MIN
Definition: Constants.h:52
int const SLOT_VME_MIN1
Definition: Constants.h:77
int const FIBERCH_MIN
Definition: Constants.h:100
int const SLOT_VME_MIN2
Definition: Constants.h:79
std::vector< std::string > getLabels_FEDuTCA()
HcalElectronicsId getEid_SLBCh(int)
HcalElectronicsId getEid_SlotuTCA(int)
HcalElectronicsId getEid_Spigot(int)
int getValue_SLBCh(HcalElectronicsId const &)
virtual uint32_t getBin(HcalElectronicsId const &)
std::vector< std::string > getLabels_FEDVME()
HcalElectronicsId getEid_FiberVME(int)
int getValue_FiberCh(HcalElectronicsId const &)
uint32_t getBin_SLB(HcalElectronicsId const &)
int const FED_VME_MIN
Definition: Constants.h:47
HcalElectronicsId getEid_FiberuTCATPFiberChuTCATP(int)
HcalElectronicsId getEid_FEDuTCA(int)
std::vector< std::string > getLabels_CrateuTCA()
int const FIBER_uTCA_MIN2
Definition: Constants.h:95
uint32_t getBin_FiberVME(HcalElectronicsId const &)
int getValue_Crate(HcalElectronicsId const &)
int dccid() const
get the (Hcal local) DCC id for VME, crate number for uTCA
int const CRATE_TOTAL_NUM
Definition: Constants.h:69
int j
Definition: DBlmapReader.cc:9
std::vector< std::string > getLabels_SlotuTCA()
int const FIBER_uTCA_MIN1
Definition: Constants.h:93
int getValue_CrateuTCA(HcalElectronicsId const &)
int getValue_FEDVME(HcalElectronicsId const &)
std::vector< std::string > getLabels_FiberuTCATP()
HcalElectronicsId getEid_FEDVMESpigot(int)
uint32_t getBin_FED(HcalElectronicsId const &)
int fiberChanId() const
get the fiber channel id (which of channels on a fiber)
int const SLB_NUM
Definition: Constants.h:107
HcalElectronicsId getEid_FiberVMEFiberCh(int)
uint32_t getBin_SlotVME(HcalElectronicsId const &)
int const SLBCH_NUM
Definition: Constants.h:115
int const FIBER_VME_NUM
Definition: Constants.h:92
uint32_t getBin_FEDuTCA(HcalElectronicsId const &)
int spigot() const
get the spigot (input number on DCC, AMC card number for uTCA)
int const FIBER_uTCA_NUM
Definition: Constants.h:97
int const CRATE_uTCA_MIN
Definition: Constants.h:65
int const SLOT_VME_NUM1
Definition: Constants.h:81
uint32_t getBin_CrateVME(HcalElectronicsId const &)
int slbChannelIndex() const
get the SLB channel index (valid only for VME trigger-chain ids)
bool isVMEid() const
int getValue_FiberuTCAFiberCh(HcalElectronicsId const &)
std::vector< std::string > getLabels_FiberVME()
std::vector< std::string > getLabels_FiberCh()
int const SPIGOT_NUM
Definition: Constants.h:87
int getValue_CrateVME(HcalElectronicsId const &)
int const FED_uTCA_NUM
Definition: Constants.h:55
std::vector< std::string > getLabels_FEDVMESpigot()
int getValue_SlotuTCA(HcalElectronicsId const &)
int slot() const
get the htr or uHTR slot
int const TPFIBERCH_MIN
Definition: Constants.h:117
int const FED_VME_NUM
Definition: Constants.h:50
std::vector< std::string > getLabels_FEDuTCASlot()
int const CRATE_VME_NUM
Definition: Constants.h:63
int getValue_FiberVMEFiberCh(HcalElectronicsId const &)
uint32_t getBin_SLBCh(HcalElectronicsId const &)
uint32_t getBin_Spigot(HcalElectronicsId const &)
int getValue_FEDVMESpigot(HcalElectronicsId const &)
int slbSiteNumber() const
get the SLB site number (valid only for VME trigger-chain ids)
int const TPFIBER_MIN
Definition: Constants.h:109
std::vector< std::string > getLabels_SLBCh()
int getValue_FEDuTCA(HcalElectronicsId const &)
HcalElectronicsId getEid_FiberCh(int)
virtual std::vector< std::string > getLabels()
virtual int getValue(HcalElectronicsId const &)
int const SLOT_uTCA_NUM
Definition: Constants.h:75
HcalElectronicsId getEid_FiberChuTCATP(int)
HcalElectronicsId getEid_FED(int)
int getValue_FiberuTCATPFiberChuTCATP(HcalElectronicsId const &)
std::vector< std::string > getLabels_FiberuTCA()
std::vector< std::string > getLabels_CrateVME()
int const FED_TOTAL_NUM
Definition: Constants.h:57
uint32_t getBin_FiberCh(HcalElectronicsId const &)
uint32_t getBin_Crate(HcalElectronicsId const &)
uint32_t getBin_FEDVMESpigot(HcalElectronicsId const &)
int getValue_FEDuTCASlot(HcalElectronicsId const &)
uint32_t getBin_FiberuTCA(HcalElectronicsId const &)
uint16_t crate2fed(int crate)
Definition: Utilities.cc:23
HcalElectronicsId getEid_CrateuTCA(int)
uint32_t getBin_FiberuTCATPFiberChuTCATP(HcalElectronicsId const &)
int getValue_SLB(HcalElectronicsId const &)
int const TPFIBERCH_NUM
Definition: Constants.h:119
HcalElectronicsId getEid_Crate(int)
HcalElectronicsId getEid_FiberuTCATP(int)
Readout chain identification for Hcal.
int const FIBER_uTCA_MAX1
Definition: Constants.h:94
int const SLB_MIN
Definition: Constants.h:105
HcalElectronicsId getEid_SLBSLBCh(int)
int getValue_FiberuTCA(HcalElectronicsId const &)
int const SLOT_uTCA_MIN
Definition: Constants.h:72
HcalElectronicsId getEid_FEDVME(int)
bool isUTCAid() const
std::vector< std::string > getLabels_SLBSLBCh()
std::vector< std::string > getLabels_FiberuTCAFiberCh()