36 for (
auto& it_gid : gids) {
42 if ((eid.
crateId() == it_channel.crate) && (eid.
slot() == it_channel.slot) &&
50 histoname = std::to_string(it_eid.crateId()) +
"-" + std::to_string(it_eid.slot()) +
"-" +
51 std::to_string(it_eid.fiberIndex()) +
"-" + std::to_string(it_eid.fiberChanId());
53 _cADC[it_eid] = ib.
book1D(histoname.c_str(), histoname.c_str(), 256, 0, 256);
54 _cADC[it_eid]->setAxisTitle(
"ADC", 1);
55 _cADC[it_eid]->setAxisTitle(
"N", 2);
58 _cADC_vs_TS[it_eid] = ib.
book2D(histoname.c_str(), histoname.c_str(), 10, 0, 10, 64, 0, 256);
63 _cTDCTime[it_eid] = ib.
book1D(histoname.c_str(), histoname.c_str(), 500, 0., 250.);
64 _cTDCTime[it_eid]->setAxisTitle(
"TDC time [ns]", 1);
67 _cTDC[it_eid] = ib.
book1D(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)
uint32_t lookup(DetId const &)
void setCurrentFolder(std::string const &fullpath)
std::vector< HcalElectronicsId > _fcd_eids
std::map< HcalElectronicsId, MonitorElement * > _cTDCTime
MonitorElement * book1D(Args &&...args)
std::vector< HcalGenericDetId > allPrecisionId() const
constexpr int crateId() const
get the readout VME crate number
constexpr int fiberIndex() const
get the fiber index. For VME 1-8 (which of eight fibers carried by a spigot), for uTCA fibers are zer...
std::vector< FCDChannel > _channels
MonitorElement * book2D(Args &&...args)
std::map< HcalElectronicsId, MonitorElement * > _cADC_vs_TS
constexpr int slot() const
get the htr or uHTR slot
const HcalElectronicsMap * getHcalMapping() const
constexpr int fiberChanId() const
get the fiber channel id (which of channels on a fiber)
HcalElectronicsMap const * _emap
std::map< HcalElectronicsId, MonitorElement * > _cTDC
Readout chain identification for Hcal.
hcaldqm::electronicsmap::ElectronicsMap _ehashmap