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; }
static const int kHGCalTriggerOffset
std::pair< int, int > ringphi() const
int iradiusTrigger() const
static const int kHGCalTypeOffset
int type() const
get/set the type
std::ostream & operator<<(std::ostream &out, const ALILine &li)
DetId::Detector subdet() const
get the subdetector
std::pair< int, int > ietaphi() const
static const int kHGCalSiPMOffset
HGCScintillatorDetId & operator=(const DetId &id)
int iradiusTriggerAbs() const
static const int kHGCalSiPMMask0
static const int kHGCalLayerMask
static const int kHGCalRadiusOffset
int sipm() const
get/set the sipm size
int iphi() const
get the phi index
static const int kHGCalTriggerMask
HGCScintillatorDetId geometryCell() const
int ring() const
get the eta index
std::vector< HGCScintillatorDetId > detectorCells() const
trigger or detector cell
static const HGCScintillatorDetId Undefined
static const int kHGCalRadiusMask
static const int kHGCalTypeMask0
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 kHGCalSiPMMask
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