27 <<
"Cannot initialize HGCScintillatorDetId from " << std::hex <<
gen.rawId() <<
std::dec;
37 <<
"Cannot assign HGCScintillatorDetId from " << std::hex <<
gen.rawId() <<
std::dec;
53 return ((
ring() + 1) / 2);
67 return ((
iphi() + 1) / 2);
83 std::vector<HGCScintillatorDetId>
cells;
114 return s <<
" HGCScintillatorDetId::EE:HE= " <<
id.isEE() <<
":" <<
id.isHE() <<
" trigger= " <<
id.trigger()
115 <<
" type= " <<
id.type() <<
" SiPM= " <<
id.sipm() <<
" layer= " <<
id.layer() <<
" ring= " <<
id.iradius()
116 <<
":" <<
id.iradiusTrigger() <<
" phi= " <<
id.iphi() <<
":" <<
id.iphiTrigger();
static const int kHGCalTriggerOffset
HGCScintillatorDetId triggerCell() const
static const int kHGCalTypeOffset
int type() const
get/set the type
static const int kHGCalSiPMOffset
HGCScintillatorDetId & operator=(const DetId &id)
int iphi() const
get the phi index
static const int kHGCalSiPMMask0
int layer() const
get the layer #
std::ostream & operator<<(std::ostream &s, const HGCScintillatorDetId &id)
static const int kHGCalLayerMask
static const int kHGCalRadiusOffset
Abs< T >::type abs(const T &t)
static const int kHGCalTriggerMask
int zside() const
get the z-side of the cell (1/-1)
int iradiusTrigger() const
static const HGCScintillatorDetId Undefined
int ring() const
get the eta index
static const int kHGCalRadiusMask
std::vector< HGCScintillatorDetId > detectorCells() const
trigger or detector cell
int iradiusTriggerAbs() const
static const int kHGCalTypeMask0
HGCScintillatorDetId geometryCell() const
static const int kHGCalPhiMask
static const int kHGCalSiPMMask
static const int kHGCalZsideMask
static const int kHGCalZsideOffset
static const int kHGCalLayerOffset
static const int kHGCalTypeMask
int sipm() const
get/set the sipm size
static const int kHGCalPhiOffset