25 if (true_for_positive_eta)
108 s <<
"(ZDC" << ((
id.zside() == 1) ? (
"+") : (
"-"));
125 return s <<
id.channel() <<
"," <<
id.depth() <<
')';
static bool validDetId(Section se, int dp)
Section section() const
get the section
static bool validDenseIndex(uint32_t di)
static const int kZDCSectionOffset
static const int kZDCZsideMask
static const int kZDCChannelMask
uint32_t denseIndex() const
static const int kZDCSectionMask
static const int kZDCRPDMask
static HcalZDCDetId detIdFromDenseIndex(uint32_t di)
int depth() const
get the depth (1 for EM, channel + 1 for HAD, 2 for RPD, not sure yet for LUM, leave as default) ...
static const int SubdetectorId
std::ostream & operator<<(std::ostream &s, const HcalZDCDetId &id)
HcalZDCDetId & operator=(const DetId &id)
int zside() const
get the z-side of the cell (1/-1)
int channel() const
get the channel