190 std::vector<HcalElectronicsId> v_eId = emap->allElectronicsIdPrecision();
191 for (std::vector<HcalElectronicsId>::const_iterator eId = v_eId.begin(); eId != v_eId.end(); eId++) {
194 row.crate = eId->readoutVMECrateId();
195 row.slot = eId->htrSlot();
196 row.dcc = eId->dccid();
197 row.spigot = eId->spigot();
198 row.fiber = eId->fiberIndex();
199 row.fiberchan = eId->fiberChanId();
200 if (eId->htrTopBottom() == 1)
202 else if (eId->htrTopBottom() == 0)
213 row.
rawId = _id.rawId();
214 row.ieta = _id.ieta();
215 row.iphi = _id.iphi();
216 row.idepth = _id.depth();
224 row.zdc_channel = _id.
channel();
226 row.idepth = _id.depth();
227 row.zdc_zside = _id.zside();
236 for (std::vector<HcalElectronicsId>::const_iterator eId = v_eId.begin(); eId != v_eId.end(); eId++) {
239 row.crate = eId->readoutVMECrateId();
240 row.slot = eId->htrSlot();
241 row.dcc = eId->dccid();
242 row.spigot = eId->spigot();
243 row.fiber = eId->isVMEid() ? eId->slbSiteNumber() : eId->fiberIndex();
244 row.fiberchan = eId->isVMEid() ? eId->slbChannelIndex() : eId->fiberChanId();
245 if (eId->htrTopBottom() == 1)
247 else if (eId->htrTopBottom() == 0)
254 row.
rawId = _id.rawId();
255 row.ieta = _id.ieta();
256 row.iphi = _id.iphi();
257 row.idepth = _id.depth();
264 edm::LogError(
"EMap") <<
"Pointer to HcalElectronicsMap is 0!!!";
std::string getSubdetectorString(HcalSubdetector _det)
constexpr uint32_t rawId() const
get the raw id
std::string getZDCSectionString(HcalZDCDetId::Section _section)
Log< level::Error, false > LogError
std::vector< HcalElectronicsId > allElectronicsIdTrigger() const
if(conf_.getParameter< bool >("UseStripCablingDB"))
int channel() const
get the channel