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
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 kHGCEELayerOffset
static const int kHGCEEZsideMask
static const int kHGCEESectorMask
static const HGCEEDetId Undefined
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
static const int kHGCEEZsideOffset
static const int kHGCEESubSectorOffset
static const int kHGCEESubSectorMask
static const int kHGCEESectorOffset
static const int kHGCEECellOffset
HGCEEDetId & operator=(const DetId &id)
constexpr Detector det() const
get the detector field from this detid