Go to the documentation of this file.
43 if (
id.isTriggerChainId())
44 os <<
"UTCA(trigger): ";
47 return os <<
id.crateId() <<
',' <<
id.slot() <<
',' <<
id.fiberIndex() <<
',' <<
id.fiberChanId();
49 if (
id.isTriggerChainId()) {
50 return os <<
id.dccid() <<
',' <<
id.spigot() <<
",SLB" <<
id.slbSiteNumber() <<
',' <<
id.slbChannelIndex()
51 <<
" (HTR " <<
id.readoutVMECrateId() <<
":" <<
id.htrSlot()
52 << ((
id.htrTopBottom() == 1) ? (
't') : (
'b')) <<
')';
55 return os <<
id.dccid() <<
',' <<
id.spigot() <<
',' <<
id.fiberIndex() <<
',' <<
id.fiberChanId() <<
" (HTR "
56 <<
id.readoutVMECrateId() <<
":" <<
id.htrSlot() << ((
id.htrTopBottom() == 1) ? (
't') : (
'b')) <<
')';
constexpr bool isVMEid() const
Readout chain identification for Hcal.
constexpr bool isTriggerChainId() const
constexpr int htrTopBottom() const
get the htr top/bottom (1=top/0=bottom), valid for VME
std::ostream & operator<<(std::ostream &os, const HcalElectronicsId &id)
constexpr int slbChannelIndex() const
get the SLB channel index (valid only for VME trigger-chain ids)
std::string slbChannelCode() const
get the HTR-wide slb channel code (letter plus number)