177 std::vector <HcalElectronicsId> v_eId = emap->allElectronicsIdPrecision();
178 for (std::vector <HcalElectronicsId>::const_iterator eId=v_eId.begin();
183 row.crate = eId->readoutVMECrateId();
184 row.slot = eId->htrSlot();
185 row.dcc = eId->dccid();
186 row.spigot = eId->spigot();
187 row.fiber = eId->fiberIndex();
188 row.fiberchan = eId->fiberChanId();
189 if (eId->htrTopBottom()==1) row.topbottom =
"t";
190 else row.topbottom =
"b";
193 if ( !(_gid.null()) &&
201 row.
rawId = _id.rawId();
202 row.ieta = _id.ieta();
203 row.iphi = _id.iphi();
204 row.idepth = _id.depth();
210 else if ( !(_gid.null()) &&
214 row.zdc_channel = _id.
channel();
216 row.idepth = _id.depth();
217 row.zdc_zside = _id.zside();
226 for (std::vector <HcalElectronicsId>::const_iterator eId=v_eId.begin();
231 row.crate = eId->readoutVMECrateId();
232 row.slot = eId->htrSlot();
233 row.dcc = eId->dccid();
234 row.spigot = eId->spigot();
235 row.fiber = eId->isVMEid() ? eId->slbSiteNumber() : eId->fiberIndex();
236 row.fiberchan = eId->isVMEid() ? eId->slbChannelIndex() : eId->fiberChanId();
237 if (eId->htrTopBottom()==1) row.topbottom =
"t";
238 else row.topbottom =
"b";
241 if ( !(_id.null()) ){
242 row.
rawId = _id.rawId();
243 row.ieta = _id.ieta();
244 row.iphi = _id.iphi();
245 row.idepth = _id.depth();
253 edm::LogError(
"EMap") <<
"Pointer to HcalElectronicsMap is 0!!!";
std::string getSubdetectorString(HcalSubdetector _det)
std::string getZDCSectionString(HcalZDCDetId::Section _section)
uint32_t rawId() const
get the raw id
std::vector< HcalElectronicsId > allElectronicsIdTrigger() const
int channel() const
get the channel