1 #ifndef DataFormats_ForwardDetId_HGCScintillatorDetId_H 2 #define DataFormats_ForwardDetId_HGCScintillatorDetId_H 1 71 bool isEE()
const {
return false; }
72 bool isHE()
const {
return true; }
static const int kHGCalTriggerOffset
int iradiusAbs() const
get the eta index
int iradiusTrigger() const
static const int kHGCalTypeOffset
int type() const
get the type
DetId::Detector subdet() const
get the subdetector
HGCScintillatorDetId & operator=(const DetId &id)
int iradiusTriggerAbs() const
std::pair< int, int > ietaphi() const
static const int kHGCalLayerMask
static const int kHGCalRadiusOffset
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
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
std::pair< int, int > iradiusphi() const
HGCScintillatorDetId triggerCell() const
constexpr Detector det() const
get the detector field from this detid