1 #ifndef DataFormats_ForwardDetId_HGCalDetId_H
2 #define DataFormats_ForwardDetId_HGCalDetId_H 1
static const int kHGCalLayerOffset
static const int kHGCalLayerMask
static const int kHGCalSubSectorMask
int sector() const
get the sector #
std::ostream & operator<<(std::ostream &out, const ALILine &li)
int subsector() const
get the degree subsector
static const int kHGCalCellOffset
static const int kHGCalCellMask
int zside() const
get the z-side of the cell (1/-1)
static const int kHGCalSectorOffset
HGCalDetId & operator=(const DetId &id)
static const int kHGCalZsideMask
int cell() const
get the absolute value of the cell #'s in x and y
static bool isValid(ForwardSubdetector subdet, int zp, int lay, int mod, int subsec, int cell)
bool isHGCal() const
consistency check : no bits left => no overhead
static const int kHGCalZsideOffset
static const int kHGCalSubSectorOffset
T mod(const T &a, const T &b)
int layer() const
get the layer #
static const int kHGCalSectorMask