Go to the documentation of this file.
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;
int cell() const
get the absolute value of the cell #'s in x and y
int layer() const
get the layer #
static const int kHGCHESectorMask
static const int kHGCHEZsideOffset
static const int kHGCHEZsideMask
int sector() const
get the sector #
HGCHEDetId geometryCell() const
static const int kHGCHECellMask
static const int kHGCHESubSectorOffset
HGCHEDetId & operator=(const DetId &id)
std::ostream & operator<<(std::ostream &s, const HGCHEDetId &id)
int zside() const
get the z-side of the cell (1/-1)
ForwardSubdetector subdet() const
get the subdetector
static const HGCHEDetId Undefined
static const int kHGCHELayerOffset
static const int kHGCHECellOffset
static const int kHGCHESubSectorMask
static const int kHGCHESectorOffset
static const int kHGCHELayerMask