29 std::map<HcalElectronicsId,DetId> myEMap;
32 myEMap[eid]=
DetId(0x54000051);
36 myEMap[eid]=
DetId(0x54000052);
40 myEMap[eid]=
DetId(0x54000053);
44 myEMap[eid]=
DetId(0x54000061);
48 myEMap[eid]=
DetId(0x54000054);
52 myEMap[eid]=
DetId(0x54000055);
56 myEMap[eid]=
DetId(0x54000062);
60 myEMap[eid]=
DetId(0x54000063);
64 myEMap[eid]=
DetId(0x54000064);
69 myEMap[eid]=
DetId(0x54000011);
73 myEMap[eid]=
DetId(0x54000012);
77 myEMap[eid]=
DetId(0x54000013);
81 myEMap[eid]=
DetId(0x54000015);
85 myEMap[eid]=
DetId(0x54000021);
89 myEMap[eid]=
DetId(0x54000014);
93 myEMap[eid]=
DetId(0x54000022);
97 myEMap[eid]=
DetId(0x54000023);
101 myEMap[eid]=
DetId(0x54000024);
113 for (std::map<HcalElectronicsId,DetId>::const_iterator itr=myEMap.begin(); itr!=myEMap.end(); ++itr)
117 sprintf(histoname,
"%d_%d_%d_%d",itr->first.fiberChanId(),itr->first.fiberIndex(),itr->first.spigot(),itr->first.dccid());
120 _cShape_EChannel[histoname] = ib.
bookProfile(histoname,histoname,xAxisShape.nbins(),xAxisShape.min(),xAxisShape.max(),yAxisShape.nbins(),yAxisShape.min(),yAxisShape.max());
125 _cADC_EChannel[histoname] = ib.
book1D(histoname,histoname,xAxisADC.nbins(),xAxisADC.min(),xAxisADC.max());
130 _cADC_vs_TS_EChannel[histoname] = ib.
book2D(histoname,histoname,xAxisShape.nbins(),xAxisShape.min(),xAxisShape.max(),xAxisADC.nbins(),xAxisADC.min(),xAxisADC.max());
141 _cShape = ib.
bookProfile(
"Shape",
"Shape",xAxisShape.nbins(),xAxisShape.min(),xAxisShape.max(),yAxisShape.nbins(),yAxisShape.min(),yAxisShape.max());
145 _cADC = ib.
book1D(
"ADC",
"ADC",xAxisADC.nbins(),xAxisADC.min(),xAxisADC.max());
149 _cADC_vs_TS = ib.
book2D(
"ADC_vs_TS",
"ADC_vs_TS",xAxisShape.nbins(),xAxisShape.min(),xAxisShape.max(),xAxisADC.nbins(),xAxisADC.min(),xAxisADC.max());
std::map< std::string, MonitorElement * > _cADC_EChannel
MonitorElement * bookProfile(Args &&...args)
std::map< std::string, MonitorElement * > _cShape_EChannel
MonitorElement * book1D(Args &&...args)
MonitorElement * _cADC_vs_TS
void setHTR(int crate, int slot, int tb)
TObject * getRootObject(void) const
void setCurrentFolder(const std::string &fullpath)
MonitorElement * book2D(Args &&...args)
std::map< std::string, MonitorElement * > _cADC_vs_TS_EChannel
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
Readout chain identification for Hcal.