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