1 #ifndef DataFormats_ForwardDetId_HGCScintillatorDetId_H 2 #define DataFormats_ForwardDetId_HGCScintillatorDetId_H 1 57 bool isEE()
const {
return false; }
58 bool isHE()
const {
return true; }
ForwardSubdetector subdet() const
get the subdetector
int ietaAbs() const
get the eta index
static const int kHGCalTypeOffset
int type() const
get the type
static const int kHGCalZsideMask2
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