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;
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();
int iphi() const
get the phi index
int ring() const
get the eta index
static const int kHGCalTypeOffset
static const int kHGCalTriggerOffset
std::ostream & operator<<(std::ostream &s, const HGCScintillatorDetId &id)
const caConstants::TupleMultiplicity const CAHitNtupletGeneratorKernelsGPU::HitToTuple cms::cuda::AtomicPairCounter const GPUCACell *__restrict__ cells
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)
constexpr std::array< uint8_t, layerIndexSize > layer
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