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