36 for (
auto& it_gid : gids) {
42 if ((
eid.crateId() == it_channel.crate) && (
eid.slot() == it_channel.slot) &&
43 (
eid.fiberIndex() == it_channel.fiber) && (
eid.fiberChanId() == it_channel.fiberChannel)) {
52 ib.setCurrentFolder(
"Hcal/FCDTask/ADC");
53 _cADC[it_eid] =
ib.book1DD(histoname.c_str(), histoname.c_str(), 256, 0, 256);
54 _cADC[it_eid]->setAxisTitle(
"ADC", 1);
55 _cADC[it_eid]->setAxisTitle(
"N", 2);
57 ib.setCurrentFolder(
"Hcal/FCDTask/ADC_vs_TS"),
58 _cADC_vs_TS[it_eid] =
ib.book2D(histoname.c_str(), histoname.c_str(), 10, 0, 10, 64, 0, 256);
62 ib.setCurrentFolder(
"Hcal/FCDTask/TDCTime");
63 _cTDCTime[it_eid] =
ib.book1DD(histoname.c_str(), histoname.c_str(), 500, 0., 250.);
64 _cTDCTime[it_eid]->setAxisTitle(
"TDC time [ns]", 1);
66 ib.setCurrentFolder(
"Hcal/FCDTask/TDC");
67 _cTDC[it_eid] =
ib.book1DD(histoname.c_str(), histoname.c_str(), 64, -0.5, 63.5);
68 _cTDC[it_eid]->setAxisTitle(
"TDC", 1);
std::map< HcalElectronicsId, MonitorElement * > _cADC
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
edm::ESGetToken< HcalDbService, HcalDbRecord > hcalDbServiceToken_
const HcalElectronicsMap * getHcalMapping() const
static std::string to_string(const XMLCh *ch)
uint32_t lookup(DetId const &)
std::vector< HcalElectronicsId > _fcd_eids
std::map< HcalElectronicsId, MonitorElement * > _cTDCTime
std::vector< FCDChannel > _channels
std::map< HcalElectronicsId, MonitorElement * > _cADC_vs_TS
std::vector< HcalGenericDetId > allPrecisionId() const
HcalElectronicsMap const * _emap
std::map< HcalElectronicsId, MonitorElement * > _cTDC
Readout chain identification for Hcal.
hcaldqm::electronicsmap::ElectronicsMap _ehashmap