17 int zside = (eta < 0) ? 1 : 0;
46 return s <<
" EE:HE= " <<
id.isEE() <<
":" <<
id.isHE()
47 <<
" type= " <<
id.type() <<
" layer= " <<
id.layer()
48 <<
" eta= " <<
id.ieta() <<
" 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
static const int kHGCalEtaOffset
HGCScintillatorDetId & operator=(const DetId &id)
std::ostream & operator<<(std::ostream &s, const HGCScintillatorDetId &id)
static const int kHGCalLayerMask
Abs< T >::type abs(const T &t)
static const int kHGCalEtaMask
static const HGCScintillatorDetId Undefined
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