Go to the documentation of this file.
25 if (true_for_positive_eta)
108 s <<
"(ZDC" << ((
id.zside() == 1) ? (
"+") : (
"-"));
125 return s <<
id.channel() <<
"," <<
id.depth() <<
')';
static const int kZDCSectionMask
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 kZDCSectionOffset
int channel() const
get the channel
static const int kZDCZsideMask
static bool validDetId(Section se, int dp)
static const int kZDCRPDMask
static const int SubdetectorId
HcalZDCDetId & operator=(const DetId &id)
int zside() const
get the z-side of the cell (1/-1)
static bool validDenseIndex(uint32_t di)
static const int kZDCChannelMask
uint32_t denseIndex() const
std::ostream & operator<<(std::ostream &s, const HcalZDCDetId &id)
Section section() const
get the section