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