1 #ifndef DataFormats_ForwardDetId_HGCalDetId_H 2 #define DataFormats_ForwardDetId_HGCalDetId_H 1 int wafer() const
get the wafer #
static const int kHGCalLayerOffset
int waferType() const
get the wafer type
static const int kHGCalLayerMask
static const HGCalDetId Undefined
static const int kHGCalWaferTypeOffset
HGCalDetId geometryCell() const
std::ostream & operator<<(std::ostream &, const HGCalDetId &id)
static const int kHGCalCellOffset
static const int kHGCalCellMask
static const int kHGCalWaferTypeMask
int zside() const
get the z-side of the cell (1/-1)
int cell() const
get the absolute value of the cell #'s in x and y
static const int kHGCalMaskCell
HGCalDetId & operator=(const DetId &id)
static const int kHGCalZsideMask
int layer() const
get the layer #
static const int kHGCalWaferOffset
static bool isValid(ForwardSubdetector subdet, int zp, int lay, int wafertype, int wafer, int cell)
static const int kHGCalZsideOffset
bool isHGCal() const
consistency check : no bits left => no overhead
static const int kHGCalWaferMask