Go to the documentation of this file. 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; }
DetId::Detector subdet() const
get the subdetector
int iradiusAbs() const
get the eta index
int iphi() const
get the phi index
std::ostream & operator<<(std::ostream &, const HGCScintillatorDetId &id)
static const int kHGCalTypeOffset
static const int kHGCalTriggerOffset
constexpr Detector det() const
get the detector field from this detid
static const int kHGCalTriggerMask
static const int kHGCalTypeMask
int iradiusTrigger() const
HGCScintillatorDetId geometryCell() const
std::vector< HGCScintillatorDetId > detectorCells() const
trigger or detector cell
int layer() const
get the layer #
int iradiusTriggerAbs() const
std::pair< int, int > ietaphi() const
static const int kHGCalLayerMask
int zside() const
get the z-side of the cell (1/-1)
HGCScintillatorDetId triggerCell() const
static const HGCScintillatorDetId Undefined
static const int kHGCalRadiusOffset
bool isEE() const
consistency check : no bits left => no overhead
static const int kHGCalPhiOffset
HGCScintillatorDetId & operator=(const DetId &id)
static const int kHGCalRadiusMask
int type() const
get the type
static const int kHGCalPhiMask
static const int kHGCalZsideMask
static const int kHGCalZsideOffset
std::pair< int, int > iradiusphi() const
static const int kHGCalLayerOffset