18 if (subsec<0) subsec=0;
47 case(
HGCEE) :
return s <<
"isEE=" <<
id.isEE()
48 <<
" zpos=" <<
id.zside()
49 <<
" layer=" <<
id.layer()
50 <<
" phi subSector=" <<
id.subsector()
51 <<
" sector=" <<
id.sector()
52 <<
" cell=" <<
id.cell();
53 default :
return s <<
id.rawId();
std::ostream & operator<<(std::ostream &s, const HGCEEDetId &id)
static const int kHGCEELayerMask
static const int kHGCEECellMask
ForwardSubdetector subdet() const
get the subdetector
int cell() const
get the absolute value of the cell #'s in x and y
static const int kHGCEELayerOffset
static const int kHGCEEZsideMask
static const int kHGCEESectorMask
uint32_t rawId() const
get the raw id
static const HGCEEDetId Undefined
static const int kHGCEEZsideOffset
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
static const int kHGCEESubSectorOffset
bool null() const
is this a null id ?
static const int kHGCEESubSectorMask
static const int kHGCEESectorOffset
static const int kHGCEECellOffset
HGCEEDetId & operator=(const DetId &id)
Detector det() const
get the detector field from this detid