17 int zside = (radius < 0) ? 1 : 0;
46 return s <<
" HGCScintillatorDetId::EE:HE= " <<
id.isEE() <<
":" <<
id.isHE()
47 <<
" type= " <<
id.type() <<
" layer= " <<
id.layer()
48 <<
" radius= " <<
id.iradius() <<
" phi= " <<
id.iphi();
constexpr bool null() const
is this a null id ?
static const int kHGCalTypeOffset
constexpr uint32_t rawId() const
get the raw id
HGCScintillatorDetId & operator=(const DetId &id)
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 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
constexpr Detector det() const
get the detector field from this detid