1 #ifndef DataFormats_ForwardDetId_HGCEEDetId_H
2 #define DataFormats_ForwardDetId_HGCEEDetId_H 1
54 bool isEE()
const {
return true; }
static const int kHGCEELayerMask
static const int kHGCEECellMask
ForwardSubdetector subdet() const
get the subdetector
int subsector() const
get the degree subsector
int cell() const
get the absolute value of the cell #'s in x and y
static const int kHGCEELayerOffset
static const int kHGCEEZsideMask
std::ostream & operator<<(std::ostream &out, const ALILine &li)
static const int kHGCEESectorMask
static const HGCEEDetId Undefined
int zside() const
get the z-side of the cell (1/-1)
static const int kHGCEEZsideOffset
int layer() const
get the layer #
HGCEEDetId geometryCell() const
static const int kHGCEESubSectorOffset
bool isEE() const
consistency check : no bits left => no overhead
static const int kHGCEESubSectorMask
static const int kHGCEESectorOffset
static const int kHGCEECellOffset
HGCEEDetId & operator=(const DetId &id)
int sector() const
get the sector #
T mod(const T &a, const T &b)