1 #ifndef DataFormats_ForwardDetId_HGCScintillatorDetId_H 2 #define DataFormats_ForwardDetId_HGCScintillatorDetId_H 1 57 std::pair<int, int>
ietaphi()
const {
return std::pair<int, int>(
ieta(),
iphi()); }
66 bool isEE()
const {
return false; }
67 bool isHE()
const {
return true; }
static const int kHGCalTriggerOffset
std::pair< int, int > iradiusphi() const
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
std::pair< int, int > ietaphi() const
HGCScintillatorDetId & operator=(const DetId &id)
int iradiusTriggerAbs() 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
HGCScintillatorDetId triggerCell() const
constexpr Detector det() const
get the detector field from this detid