Go to the documentation of this file. 1 #ifndef DataFormats_ForwardDetId_HGCHEDetId_H
2 #define DataFormats_ForwardDetId_HGCHEDetId_H 1
55 bool isHE()
const {
return true; }
int cell() const
get the absolute value of the cell #'s in x and y
int layer() const
get the layer #
T mod(const T &a, const T &b)
static const int kHGCHESectorMask
static const int kHGCHEZsideOffset
static const int kHGCHEZsideMask
bool isHE() const
consistency check
int sector() const
get the sector #
HGCHEDetId geometryCell() const
static const int kHGCHECellMask
static const int kHGCHESubSectorOffset
HGCHEDetId & operator=(const DetId &id)
int zside() const
get the z-side of the cell (1/-1)
ForwardSubdetector subdet() const
get the subdetector
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
static const HGCHEDetId Undefined
static const int kHGCHELayerOffset
static const int kHGCHECellOffset
static const int kHGCHESubSectorMask
int subsector() const
get the degree subsector
static const int kHGCHESectorOffset
std::ostream & operator<<(std::ostream &, const HGCHEDetId &id)
static const int kHGCHELayerMask