1 #ifndef DataFormats_ForwardDetId_HGCScintillatorDetId_H 2 #define DataFormats_ForwardDetId_HGCScintillatorDetId_H 1 58 bool isEE()
const {
return false; }
59 bool isHE()
const {
return true; }
int ietaAbs() const
get the eta index
static const int kHGCalTypeOffset
int type() const
get the type
DetId::Detector subdet() const
get the subdetector
static const int kHGCalEtaOffset
HGCScintillatorDetId & operator=(const DetId &id)
std::pair< int, int > ietaphi() const
static const int kHGCalLayerMask
int iphi() const
get the phi index
HGCScintillatorDetId geometryCell() const
static const int kHGCalEtaMask
static const HGCScintillatorDetId Undefined
std::ostream & operator<<(std::ostream &, const HGCScintillatorDetId &id)
bool isEE() const
consistency check : no bits left => no overhead
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