Go to the documentation of this file.
27 <<
"Cannot initialize HGCScintillatorDetId from " << std::hex <<
gen.rawId() <<
std::dec;
37 <<
"Cannot assign HGCScintillatorDetId from " << std::hex <<
gen.rawId() <<
std::dec;
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()
116 <<
" radius= " <<
id.iradius() <<
":" <<
id.iradiusTrigger() <<
" phi= " <<
id.iphi() <<
":"
int iradiusAbs() const
get the eta index
int iphi() const
get the phi index
static const int kHGCalTypeOffset
static const int kHGCalTriggerOffset
std::ostream & operator<<(std::ostream &s, const HGCScintillatorDetId &id)
static const int kHGCalTriggerMask
static const int kHGCalTypeMask
int iradiusTrigger() const
HGCScintillatorDetId geometryCell() const
std::vector< HGCScintillatorDetId > detectorCells() const
trigger or detector cell
int layer() const
get the layer #
int iradiusTriggerAbs() const
static const int kHGCalSiPMMask0
static const int kHGCalLayerMask
int zside() const
get the z-side of the cell (1/-1)
HGCScintillatorDetId triggerCell() const
static const HGCScintillatorDetId Undefined
static const int kHGCalRadiusOffset
static const int kHGCalPhiOffset
HGCScintillatorDetId & operator=(const DetId &id)
static const int kHGCalRadiusMask
int type() const
get/set the type
static const int kHGCalPhiMask
static const int kHGCalSiPMOffset
static const int kHGCalZsideMask
static const int kHGCalZsideOffset
Abs< T >::type abs(const T &t)
static const int kHGCalLayerOffset
static const int kHGCalTypeMask0
int sipm() const
get/set the sipm size
static const int kHGCalSiPMMask