17 int zside = (radius < 0) ? 1 : 0;
18 int itrig = trigger ? 1 : 0;
69 std::vector<HGCScintillatorDetId>
cells;
110 return s <<
" HGCScintillatorDetId::EE:HE= " <<
id.isEE() <<
":" <<
id.isHE()
111 <<
" trigger= " <<
id.trigger() <<
" type= " <<
id.type()
112 <<
" layer= " <<
id.layer() <<
" radius= " <<
id.iradius()
113 <<
":" <<
id.iradiusTrigger() <<
" phi= " <<
id.iphi() <<
":"
static const int kHGCalTriggerOffset
constexpr bool null() const
is this a null id ?
int iradiusAbs() const
get the eta index
int iradiusTrigger() const
static const int kHGCalTypeOffset
constexpr uint32_t rawId() const
get the raw id
int type() const
get the type
HGCScintillatorDetId & operator=(const DetId &id)
int iradiusTriggerAbs() const
std::ostream & operator<<(std::ostream &s, const HGCScintillatorDetId &id)
static const int kHGCalLayerMask
static const int kHGCalRadiusOffset
Abs< T >::type abs(const T &t)
int iphi() const
get the phi index
static const int kHGCalTriggerMask
HGCScintillatorDetId geometryCell() const
std::vector< HGCScintillatorDetId > detectorCells() const
trigger or detector cell
static const HGCScintillatorDetId Undefined
static const int kHGCalRadiusMask
static const int kHGCalPhiMask
int layer() const
get the layer #
int zside() const
get the z-side of the cell (1/-1)
static const int kHGCalZsideMask
static const int kHGCalZsideOffset
static const int kHGCalLayerOffset
static const int kHGCalTypeMask
static const int kHGCalPhiOffset
HGCScintillatorDetId triggerCell() const
constexpr Detector det() const
get the detector field from this detid