17 if (subsec<0) subsec=0;
53 return s <<
"isHE=" <<
id.isHE() <<
" zpos=" <<
id.zside()
54 <<
" layer=" <<
id.layer() <<
" phi subSector=" <<
id.subsector()
55 <<
" sector=" <<
id.sector() <<
" cell=" <<
id.cell();
57 return s << std::hex <<
id.rawId() <<
std::dec;
static const int kHGCHESubSectorOffset
static const int kHGCHELayerOffset
std::ostream & operator<<(std::ostream &s, const HGCHEDetId &id)
static const int kHGCHESubSectorMask
constexpr bool null() const
is this a null id ?
int cell() const
get the absolute value of the cell #'s in x and y
constexpr uint32_t rawId() const
get the raw id
static const int kHGCHESectorOffset
int layer() const
get the layer #
static const int kHGCHECellOffset
HGCHEDetId geometryCell() const
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
static const int kHGCHELayerMask
static const int kHGCHEZsideOffset
static const int kHGCHEZsideMask
int zside() const
get the z-side of the cell (1/-1)
static const int kHGCHECellMask
static const int kHGCHESectorMask
int sector() const
get the sector #
ForwardSubdetector subdet() const
get the subdetector
static const HGCHEDetId Undefined
HGCHEDetId & operator=(const DetId &id)
constexpr Detector det() const
get the detector field from this detid