12 :
DetId(Forward, subdet) {
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
static const int kHGCHESectorOffset
static const int kHGCHECellOffset
int layer() const
get the layer #
int cell() const
get the absolute value of the cell #'s in x and y
static const int kHGCHELayerMask
static const int kHGCHEZsideOffset
static const int kHGCHEZsideMask
HGCHEDetId geometryCell() const
static const int kHGCHECellMask
static const int kHGCHESectorMask
int sector() const
get the sector #
int zside() const
get the z-side of the cell (1/-1)
ForwardSubdetector subdet() const
get the subdetector
static const HGCHEDetId Undefined
HGCHEDetId & operator=(const DetId &id)