67 switch (
id.subdet()) {
69 return s <<
"(HB" <<
id.zside() <<
' ' <<
id.slice() <<
' ' <<
id.typeString(
id.
type()) <<
id.subchannel() <<
')';
71 return s <<
"(HE" <<
id.zside() <<
' ' <<
id.slice() <<
' ' <<
id.typeString(
id.
type()) <<
id.subchannel() <<
')';
73 return s <<
"(HO" <<
id.ring() <<
" " <<
id.slice() <<
' ' <<
id.typeString(
id.
type()) <<
id.subchannel() <<
')';
75 return s <<
"(HF" <<
id.zside() <<
' ' << ((
id.type() <=
HcalDcsDetId::DYN8) ?
"Q" :
"") <<
id.slice() <<
' ' 76 <<
id.typeString(
id.
type()) <<
id.subchannel() <<
')';
78 return s <<
id.rawId();
static unsigned int const kSideOffset
std::ostream & operator<<(std::ostream &s, const HcalDcsDetId &id)
static unsigned int const kTypeOffset
static unsigned int const kSliceOffset
static unsigned int const kSubChannelOffset
static DcsType DcsTypeFromString(const std::string &str)
static unsigned int const kRingOffset
static std::string typeString(DcsType typ)
HcalOtherSubdetector subdet() const
get the category