Go to the documentation of this file. 1 #ifndef DataFormats_ForwardDetId_HGCScintillatorDetId_H
2 #define DataFormats_ForwardDetId_HGCScintillatorDetId_H 1
61 std::pair<int, int>
ietaphi()
const {
return std::pair<int, int>(
ieta(),
iphi()); }
74 bool isEE()
const {
return false; }
75 bool isHE()
const {
return true; }
DetId::Detector subdet() const
get the subdetector
int iphi() const
get the phi index
int ring() const
get the eta 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 kHGCalSiPMMask0
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/set the type
static const int kHGCalPhiMask
static const int kHGCalSiPMOffset
static const int kHGCalZsideMask
static const int kHGCalZsideOffset
std::pair< int, int > ringphi() const
static const int kHGCalLayerOffset
static const int kHGCalTypeMask0
int sipm() const
get/set the sipm size
static const int kHGCalSiPMMask