27 throw cms::Exception(
"Invalid DetId") <<
"Cannot initialize HGCHEDetId from " << std::hex << gen.
rawId()
39 <<
" Det|SubDet " << gen.
det() <<
"|" <<
subdet;
53 return s <<
"isHE=" <<
id.isHE() <<
" zpos=" <<
id.zside() <<
" layer=" <<
id.layer()
54 <<
" phi subSector=" <<
id.subsector() <<
" sector=" <<
id.sector() <<
" cell=" <<
id.cell();
56 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