29 std::map<HcalElectronicsId,DetId> myEMap;
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());
constexpr void setHTR(int crate, int slot, int tb)
std::map< std::string, MonitorElement * > _cADC_EChannel
MonitorElement * bookProfile(Args &&...args)
TObject * getRootObject() const
std::map< std::string, MonitorElement * > _cShape_EChannel
void setCurrentFolder(std::string const &fullpath)
MonitorElement * book1D(Args &&...args)
MonitorElement * _cADC_vs_TS
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.