CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Attributes
HGCScintillatorDetId Class Reference

#include <HGCScintillatorDetId.h>

Inheritance diagram for HGCScintillatorDetId:
DetId

Public Member Functions

std::vector< HGCScintillatorDetIddetectorCells () const
 trigger or detector cell More...
 
constexpr HGCScintillatorDetId geometryCell () const
 
constexpr HGCScintillatorDetId ()
 
constexpr HGCScintillatorDetId (uint32_t rawid)
 
constexpr HGCScintillatorDetId (int type, int layer, int ring, int phi, bool trigger=false, int sipm=0)
 
constexpr HGCScintillatorDetId (const DetId &gen)
 
constexpr int ieta () const
 
constexpr int ietaAbs () const
 
constexpr std::pair< int, int > ietaphi () const
 
constexpr int iphi () const
 get the phi index More...
 
constexpr int iphiTrigger () const
 
constexpr int iradius () const
 
constexpr int iradiusAbs () const
 
constexpr int iradiusTrigger () const
 
constexpr int iradiusTriggerAbs () const
 
constexpr bool isEE () const
 consistency check : no bits left => no overhead More...
 
constexpr bool isForward () const
 
constexpr bool isHE () const
 
constexpr int layer () const
 get the layer # More...
 
constexpr HGCScintillatorDetIdoperator= (const DetId &gen)
 
constexpr int ring () const
 get the eta index More...
 
constexpr std::pair< int, int > ringphi () const
 
constexpr void setSiPM (int sipm)
 
constexpr void setType (int type)
 
constexpr int sipm () const
 get/set the sipm size More...
 
constexpr DetId::Detector subdet () const
 get the subdetector More...
 
constexpr bool trigger () const
 
constexpr HGCScintillatorDetId triggerCell () const
 
constexpr int type () const
 get/set the type More...
 
constexpr int zside () const
 get the z-side of the cell (1/-1) More...
 
- Public Member Functions inherited from DetId
constexpr Detector det () const
 get the detector field from this detid More...
 
constexpr DetId ()
 Create an empty or null id (also for persistence) More...
 
constexpr DetId (uint32_t id)
 Create an id from a raw number. More...
 
constexpr DetId (Detector det, int subdet)
 Create an id, filling the detector and subdetector fields as specified. More...
 
constexpr bool null () const
 is this a null id ? More...
 
constexpr operator uint32_t () const
 
constexpr bool operator!= (DetId id) const
 inequality More...
 
constexpr uint32_t operator() () const
 
constexpr bool operator< (DetId id) const
 comparison More...
 
constexpr bool operator== (DetId id) const
 equality More...
 
constexpr uint32_t rawId () const
 get the raw id More...
 
constexpr int subdetId () const
 get the contents of the subdetector field (not cast into any detector's numbering enum) More...
 

Static Public Attributes

static constexpr int kHGCalLayerMask = 0x1F
 
static constexpr int kHGCalLayerOffset = 17
 
static constexpr int kHGCalPhiMask = 0x1FF
 
static constexpr int kHGCalPhiOffset = 0
 
static constexpr int kHGCalRadiusMask = 0xFF
 
static constexpr int kHGCalRadiusOffset = 9
 
static constexpr int kHGCalSiPMMask = 0x1
 
static constexpr int kHGCalSiPMMask0 = 0xFF7FFFFF
 
static constexpr int kHGCalSiPMOffset = 23
 
static constexpr int kHGCalTriggerMask = 0x1
 
static constexpr int kHGCalTriggerOffset = 22
 
static constexpr int kHGCalTypeMask = 0x3
 
static constexpr int kHGCalTypeMask0 = 0xF3FFFFFF
 
static constexpr int kHGCalTypeOffset = 26
 
static constexpr int kHGCalZsideMask = 0x1
 
static constexpr int kHGCalZsideOffset = 25
 
static const HGCScintillatorDetId Undefined
 
- Static Public Attributes inherited from DetId
static const int kDetMask = 0xF
 
static const int kDetOffset = 28
 
static const int kSubdetMask = 0x7
 
static const int kSubdetOffset = 25
 

Additional Inherited Members

- Public Types inherited from DetId
enum  Detector {
  Tracker = 1, Muon = 2, Ecal = 3, Hcal = 4,
  Calo = 5, Forward = 6, VeryForward = 7, HGCalEE = 8,
  HGCalHSi = 9, HGCalHSc = 10, HGCalTrigger = 11
}
 
- Protected Attributes inherited from DetId
uint32_t id_
 

Detailed Description

Definition at line 24 of file HGCScintillatorDetId.h.

Constructor & Destructor Documentation

◆ HGCScintillatorDetId() [1/4]

constexpr HGCScintillatorDetId::HGCScintillatorDetId ( )
inline

Create a null cellid

Definition at line 27 of file HGCScintillatorDetId.h.

Referenced by detectorCells(), geometryCell(), and triggerCell().

27 : DetId() {}
constexpr DetId()
Create an empty or null id (also for persistence)
Definition: DetId.h:38

◆ HGCScintillatorDetId() [2/4]

constexpr HGCScintillatorDetId::HGCScintillatorDetId ( uint32_t  rawid)
inline

Create cellid from raw id (0=invalid tower id)

Definition at line 29 of file HGCScintillatorDetId.h.

29 : DetId(rawid) {}
constexpr DetId()
Create an empty or null id (also for persistence)
Definition: DetId.h:38

◆ HGCScintillatorDetId() [3/4]

constexpr HGCScintillatorDetId::HGCScintillatorDetId ( int  type,
int  layer,
int  ring,
int  phi,
bool  trigger = false,
int  sipm = 0 
)
inline

Constructor from subdetector, zplus, layer, module, cell numbers

Definition at line 31 of file HGCScintillatorDetId.h.

References funct::abs(), DetId::id_, kHGCalLayerMask, kHGCalLayerOffset, kHGCalPhiMask, kHGCalPhiOffset, kHGCalRadiusMask, kHGCalRadiusOffset, kHGCalSiPMMask, kHGCalSiPMOffset, kHGCalTriggerMask, kHGCalTriggerOffset, kHGCalTypeMask, kHGCalTypeOffset, kHGCalZsideMask, kHGCalZsideOffset, layer(), phi, ring(), sipm(), and zside().

33  int zside = (ring < 0) ? 1 : 0;
34  int itrig = trigger ? 1 : 0;
35  int ringAbs = std::abs(ring);
40  }
static constexpr int kHGCalTypeMask
static constexpr int kHGCalPhiMask
static constexpr int kHGCalZsideOffset
static constexpr int kHGCalRadiusOffset
constexpr int zside() const
get the z-side of the cell (1/-1)
constexpr int sipm() const
get/set the sipm size
static constexpr int kHGCalLayerOffset
static constexpr int kHGCalRadiusMask
static constexpr int kHGCalLayerMask
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
static constexpr int kHGCalSiPMMask
static constexpr int kHGCalPhiOffset
static constexpr int kHGCalZsideMask
uint32_t id_
Definition: DetId.h:69
static constexpr int kHGCalSiPMOffset
static constexpr int kHGCalTypeOffset
constexpr int layer() const
get the layer #
static constexpr int kHGCalTriggerOffset
constexpr int ring() const
get the eta index
constexpr DetId()
Create an empty or null id (also for persistence)
Definition: DetId.h:38
static constexpr int kHGCalTriggerMask

◆ HGCScintillatorDetId() [4/4]

constexpr HGCScintillatorDetId::HGCScintillatorDetId ( const DetId gen)
inline

Constructor from a generic cell id

Definition at line 43 of file HGCScintillatorDetId.h.

References TauDecayModes::dec, Exception, DetId::HGCalHSc, and DetId::id_.

43  {
44  if (!gen.null()) {
45  if (gen.det() != HGCalHSc) {
46  throw cms::Exception("Invalid DetId")
47  << "Cannot initialize HGCScintillatorDetId from " << std::hex << gen.rawId() << std::dec;
48  }
49  }
50  id_ = gen.rawId();
51  }
uint32_t id_
Definition: DetId.h:69

Member Function Documentation

◆ detectorCells()

std::vector< HGCScintillatorDetId > HGCScintillatorDetId::detectorCells ( ) const

trigger or detector cell

Definition at line 7 of file HGCScintillatorDetId.cc.

References hgcalTBTopologyTester_cfi::cells, HGCScintillatorDetId(), iphi(), layer(), ring(), trigger(), type(), and zside().

7  {
8  std::vector<HGCScintillatorDetId> cells;
9  int irad = ring();
10  int ifi = iphi();
11  int iz = zside();
12  if (trigger()) {
13  cells.emplace_back(HGCScintillatorDetId(type(), layer(), (2 * irad - 1) * iz, 2 * ifi - 1, false));
14  cells.emplace_back(HGCScintillatorDetId(type(), layer(), 2 * irad * iz, 2 * ifi - 1, false));
15  cells.emplace_back(HGCScintillatorDetId(type(), layer(), (2 * irad - 1) * iz, 2 * ifi, false));
16  cells.emplace_back(HGCScintillatorDetId(type(), layer(), 2 * irad * iz, 2 * ifi, false));
17  } else {
18  cells.emplace_back(HGCScintillatorDetId(type(), layer(), irad * iz, ifi, false));
19  }
20  return cells;
21 }
constexpr int iphi() const
get the phi index
constexpr int zside() const
get the z-side of the cell (1/-1)
constexpr bool trigger() const
constexpr int type() const
get/set the type
constexpr int layer() const
get the layer #
constexpr int ring() const
get the eta index

◆ geometryCell()

constexpr HGCScintillatorDetId HGCScintillatorDetId::geometryCell ( ) const
inline

Converter for a geometry cell id

Definition at line 66 of file HGCScintillatorDetId.h.

References HGCScintillatorDetId(), iphi(), iphiTrigger(), iradius(), iradiusTrigger(), layer(), trigger(), and type().

Referenced by HGCalGeometry::getGeometryDetId().

66  {
67  if (trigger()) {
68  return HGCScintillatorDetId(type(), layer(), iradiusTrigger(), iphiTrigger(), false);
69  } else {
70  return HGCScintillatorDetId(type(), layer(), iradius(), iphi(), false);
71  }
72  }
constexpr int iradiusTrigger() const
constexpr int iphi() const
get the phi index
constexpr int iphiTrigger() const
constexpr bool trigger() const
constexpr int type() const
get/set the type
constexpr int layer() const
get the layer #
constexpr int iradius() const

◆ ieta()

constexpr int HGCScintillatorDetId::ieta ( ) const
inline

Definition at line 100 of file HGCScintillatorDetId.h.

References ring(), and zside().

Referenced by ietaphi().

100 { return zside() * ring(); }
constexpr int zside() const
get the z-side of the cell (1/-1)
constexpr int ring() const
get the eta index

◆ ietaAbs()

constexpr int HGCScintillatorDetId::ietaAbs ( ) const
inline

◆ ietaphi()

constexpr std::pair<int, int> HGCScintillatorDetId::ietaphi ( ) const
inline

Definition at line 109 of file HGCScintillatorDetId.h.

References ieta(), and iphi().

109 { return std::pair<int, int>(ieta(), iphi()); }
constexpr int ieta() const
constexpr int iphi() const
get the phi index

◆ iphi()

constexpr int HGCScintillatorDetId::iphi ( ) const
inline

get the phi index

Definition at line 103 of file HGCScintillatorDetId.h.

References DetId::id_, kHGCalPhiMask, kHGCalPhiOffset, and trigger().

Referenced by HGcalHitIdCheck::analyze(), HGCalBHValidation::analyze(), detectorCells(), geometryCell(), FWL1THGCalProxyTemplate< l1t::HGCalMulticluster >::getCellsFromTriggerCell(), HGCalTriggerGeometryV9Imp2::getCellsFromTriggerCell(), HGCalTriggerGeometryV9Imp3::getCellsFromTriggerCell(), HGCalCoarseTriggerCellMapping::getCoarseTriggerCellId(), HGCalCoarseTriggerCellMapping::getConstituentTriggerCells(), HGCalTriggerGeometryV9Imp2::getModuleFromTriggerCell(), HGCalTriggerGeometryV9Imp3::getModuleFromTriggerCell(), HGCalTriggerGeometryV9Imp2::getOrderedTriggerCellsFromModule(), HGCalTriggerGeometryV9Imp2::getTriggerCellFromCell(), HGCalTriggerGeometryV9Imp3::getTriggerCellFromCell(), HGCalTriggerGeometryV9Imp2::getTriggerCellsFromModule(), ietaphi(), iphiTrigger(), ringphi(), HGCScintSD::setDetUnitId(), and triggerCell().

103  {
104  if (trigger())
105  return (2 * ((id_ >> kHGCalPhiOffset) & kHGCalPhiMask));
106  else
107  return ((id_ >> kHGCalPhiOffset) & kHGCalPhiMask);
108  }
static constexpr int kHGCalPhiMask
constexpr bool trigger() const
static constexpr int kHGCalPhiOffset
uint32_t id_
Definition: DetId.h:69

◆ iphiTrigger()

constexpr int HGCScintillatorDetId::iphiTrigger ( ) const
inline

Definition at line 162 of file HGCScintillatorDetId.h.

References iphi(), and trigger().

Referenced by geometryCell(), and triggerCell().

162  {
163  if (trigger())
164  return ((iphi() + 1) / 2);
165  else
166  return iphi();
167  }
constexpr int iphi() const
get the phi index
constexpr bool trigger() const

◆ iradius()

constexpr int HGCScintillatorDetId::iradius ( ) const
inline

Definition at line 98 of file HGCScintillatorDetId.h.

References ring(), and zside().

Referenced by geometryCell(), ringphi(), and triggerCell().

98 { return zside() * ring(); }
constexpr int zside() const
get the z-side of the cell (1/-1)
constexpr int ring() const
get the eta index

◆ iradiusAbs()

constexpr int HGCScintillatorDetId::iradiusAbs ( ) const
inline

Definition at line 97 of file HGCScintillatorDetId.h.

References ring().

Referenced by HGCalCoarseTriggerCellMapping::getConstituentTriggerCells().

97 { return ring(); }
constexpr int ring() const
get the eta index

◆ iradiusTrigger()

constexpr int HGCScintillatorDetId::iradiusTrigger ( ) const
inline

Definition at line 161 of file HGCScintillatorDetId.h.

References iradiusTriggerAbs(), and zside().

Referenced by geometryCell(), and triggerCell().

161 { return zside() * iradiusTriggerAbs(); }
constexpr int iradiusTriggerAbs() const
constexpr int zside() const
get the z-side of the cell (1/-1)

◆ iradiusTriggerAbs()

constexpr int HGCScintillatorDetId::iradiusTriggerAbs ( ) const
inline

Definition at line 155 of file HGCScintillatorDetId.h.

References ring(), and trigger().

Referenced by iradiusTrigger().

155  {
156  if (trigger())
157  return ((ring() + 1) / 2);
158  else
159  return ring();
160  }
constexpr bool trigger() const
constexpr int ring() const
get the eta index

◆ isEE()

constexpr bool HGCScintillatorDetId::isEE ( ) const
inline

consistency check : no bits left => no overhead

Definition at line 131 of file HGCScintillatorDetId.h.

131 { return false; }

◆ isForward()

constexpr bool HGCScintillatorDetId::isForward ( ) const
inline

Definition at line 133 of file HGCScintillatorDetId.h.

133 { return true; }

◆ isHE()

constexpr bool HGCScintillatorDetId::isHE ( ) const
inline

Definition at line 132 of file HGCScintillatorDetId.h.

132 { return true; }

◆ layer()

constexpr int HGCScintillatorDetId::layer ( ) const
inline

get the layer #

Definition at line 88 of file HGCScintillatorDetId.h.

References DetId::id_, kHGCalLayerMask, and kHGCalLayerOffset.

Referenced by HGcalHitIdCheck::analyze(), HGCalBHValidation::analyze(), HGCalDigiValidation::analyze(), HGCalRecHitValidation::analyze(), detectorCells(), HGCalTopology::encode(), geometryCell(), FWL1THGCalProxyTemplate< l1t::HGCalMulticluster >::getCellsFromTriggerCell(), HGCalTriggerGeometryV9Imp2::getCellsFromTriggerCell(), HGCalTriggerGeometryV9Imp3::getCellsFromTriggerCell(), hgcal::RecHitTools::getLayer(), HGCalTriggerGeometryV9Imp2::getModuleFromTriggerCell(), HGCalTriggerGeometryV9Imp3::getModuleFromTriggerCell(), HGCalTriggerGeometryV9Imp2::getOrderedTriggerCellsFromModule(), HGCalGeometry::getSummary(), HGCalTriggerGeometryV9Imp2::getTriggerCellFromCell(), HGCalTriggerGeometryV9Imp3::getTriggerCellFromCell(), HGCalTriggerGeometryV9Imp2::getTriggerCellsFromModule(), HGCScintillatorDetId(), geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), HGCalTriggerTools::layer(), HGCalTriggerGeometryV9Imp2::layerWithOffset(), HGCalTriggerGeometryV9Imp3::layerWithOffset(), HGCalGeometry::newCell(), HGCalSciNoiseMap::scaleByDose(), HGCalSciNoiseMap::scaleBySipmArea(), HGCScintSD::setDetUnitId(), and triggerCell().

88 { return (id_ >> kHGCalLayerOffset) & kHGCalLayerMask; }
static constexpr int kHGCalLayerOffset
static constexpr int kHGCalLayerMask
uint32_t id_
Definition: DetId.h:69

◆ operator=()

constexpr HGCScintillatorDetId& HGCScintillatorDetId::operator= ( const DetId gen)
inline

Assignment from a generic cell id

Definition at line 54 of file HGCScintillatorDetId.h.

References TauDecayModes::dec, Exception, DetId::HGCalHSc, and DetId::id_.

54  {
55  if (!gen.null()) {
56  if (gen.det() != HGCalHSc) {
57  throw cms::Exception("Invalid DetId")
58  << "Cannot assign HGCScintillatorDetId from " << std::hex << gen.rawId() << std::dec;
59  }
60  }
61  id_ = gen.rawId();
62  return (*this);
63  }
uint32_t id_
Definition: DetId.h:69

◆ ring()

constexpr int HGCScintillatorDetId::ring ( ) const
inline

◆ ringphi()

constexpr std::pair<int, int> HGCScintillatorDetId::ringphi ( ) const
inline

Definition at line 110 of file HGCScintillatorDetId.h.

References iphi(), and iradius().

110 { return std::pair<int, int>(iradius(), iphi()); }
constexpr int iphi() const
get the phi index
constexpr int iradius() const

◆ setSiPM()

constexpr void HGCScintillatorDetId::setSiPM ( int  sipm)
inline

Definition at line 114 of file HGCScintillatorDetId.h.

References DetId::id_, kHGCalSiPMMask, kHGCalSiPMMask0, kHGCalSiPMOffset, and sipm().

Referenced by HGCalTopology::encode(), and HGCalGeometry::newCell().

114  {
115  id_ &= kHGCalSiPMMask0;
117  }
constexpr int sipm() const
get/set the sipm size
static constexpr int kHGCalSiPMMask
uint32_t id_
Definition: DetId.h:69
static constexpr int kHGCalSiPMOffset
static constexpr int kHGCalSiPMMask0

◆ setType()

constexpr void HGCScintillatorDetId::setType ( int  type)
inline

Definition at line 79 of file HGCScintillatorDetId.h.

References DetId::id_, kHGCalTypeMask, kHGCalTypeMask0, and kHGCalTypeOffset.

Referenced by HGCalTopology::encode(), and HGCalGeometry::newCell().

79  {
82  }
static constexpr int kHGCalTypeMask
uint32_t id_
Definition: DetId.h:69
static constexpr int kHGCalTypeMask0
static constexpr int kHGCalTypeOffset

◆ sipm()

constexpr int HGCScintillatorDetId::sipm ( ) const
inline

get/set the sipm size

Definition at line 113 of file HGCScintillatorDetId.h.

References DetId::id_, kHGCalSiPMMask, and kHGCalSiPMOffset.

Referenced by HGCScintillatorDetId(), HGCalSciNoiseMap::scaleBySipmArea(), and setSiPM().

113 { return (id_ >> kHGCalSiPMOffset) & kHGCalSiPMMask; }
static constexpr int kHGCalSiPMMask
uint32_t id_
Definition: DetId.h:69
static constexpr int kHGCalSiPMOffset

◆ subdet()

constexpr DetId::Detector HGCScintillatorDetId::subdet ( ) const
inline

get the subdetector

Definition at line 75 of file HGCScintillatorDetId.h.

References DetId::det().

75 { return det(); }
constexpr Detector det() const
get the detector field from this detid
Definition: DetId.h:46

◆ trigger()

constexpr bool HGCScintillatorDetId::trigger ( ) const
inline

Definition at line 122 of file HGCScintillatorDetId.h.

References DetId::id_, kHGCalTriggerMask, and kHGCalTriggerOffset.

Referenced by detectorCells(), geometryCell(), iphi(), iphiTrigger(), iradiusTriggerAbs(), ring(), and triggerCell().

122 { return (((id_ >> kHGCalTriggerOffset) & kHGCalTriggerMask) == 1); }
uint32_t id_
Definition: DetId.h:69
static constexpr int kHGCalTriggerOffset
static constexpr int kHGCalTriggerMask

◆ triggerCell()

constexpr HGCScintillatorDetId HGCScintillatorDetId::triggerCell ( ) const
inline

Definition at line 123 of file HGCScintillatorDetId.h.

References HGCScintillatorDetId(), iphi(), iphiTrigger(), iradius(), iradiusTrigger(), layer(), trigger(), and type().

123  {
124  if (trigger())
125  return HGCScintillatorDetId(type(), layer(), iradius(), iphi(), true);
126  else
127  return HGCScintillatorDetId(type(), layer(), iradiusTrigger(), iphiTrigger(), true);
128  }
constexpr int iradiusTrigger() const
constexpr int iphi() const
get the phi index
constexpr int iphiTrigger() const
constexpr bool trigger() const
constexpr int type() const
get/set the type
constexpr int layer() const
get the layer #
constexpr int iradius() const

◆ type()

constexpr int HGCScintillatorDetId::type ( ) const
inline

◆ zside()

constexpr int HGCScintillatorDetId::zside ( ) const
inline

Member Data Documentation

◆ kHGCalLayerMask

constexpr int HGCScintillatorDetId::kHGCalLayerMask = 0x1F
static

Definition at line 143 of file HGCScintillatorDetId.h.

Referenced by HGCScintillatorDetId(), and layer().

◆ kHGCalLayerOffset

constexpr int HGCScintillatorDetId::kHGCalLayerOffset = 17
static

Definition at line 142 of file HGCScintillatorDetId.h.

Referenced by HGCScintillatorDetId(), and layer().

◆ kHGCalPhiMask

constexpr int HGCScintillatorDetId::kHGCalPhiMask = 0x1FF
static

Definition at line 139 of file HGCScintillatorDetId.h.

Referenced by HGCScintillatorDetId(), and iphi().

◆ kHGCalPhiOffset

constexpr int HGCScintillatorDetId::kHGCalPhiOffset = 0
static

Definition at line 138 of file HGCScintillatorDetId.h.

Referenced by HGCScintillatorDetId(), and iphi().

◆ kHGCalRadiusMask

constexpr int HGCScintillatorDetId::kHGCalRadiusMask = 0xFF
static

Definition at line 141 of file HGCScintillatorDetId.h.

Referenced by HGCScintillatorDetId(), and ring().

◆ kHGCalRadiusOffset

constexpr int HGCScintillatorDetId::kHGCalRadiusOffset = 9
static

◆ kHGCalSiPMMask

constexpr int HGCScintillatorDetId::kHGCalSiPMMask = 0x1
static

Definition at line 147 of file HGCScintillatorDetId.h.

Referenced by HGCScintillatorDetId(), setSiPM(), and sipm().

◆ kHGCalSiPMMask0

constexpr int HGCScintillatorDetId::kHGCalSiPMMask0 = 0xFF7FFFFF
static

Definition at line 148 of file HGCScintillatorDetId.h.

Referenced by setSiPM().

◆ kHGCalSiPMOffset

constexpr int HGCScintillatorDetId::kHGCalSiPMOffset = 23
static

Definition at line 146 of file HGCScintillatorDetId.h.

Referenced by HGCScintillatorDetId(), setSiPM(), and sipm().

◆ kHGCalTriggerMask

constexpr int HGCScintillatorDetId::kHGCalTriggerMask = 0x1
static

Definition at line 145 of file HGCScintillatorDetId.h.

Referenced by HGCScintillatorDetId(), and trigger().

◆ kHGCalTriggerOffset

constexpr int HGCScintillatorDetId::kHGCalTriggerOffset = 22
static

Definition at line 144 of file HGCScintillatorDetId.h.

Referenced by HGCScintillatorDetId(), and trigger().

◆ kHGCalTypeMask

constexpr int HGCScintillatorDetId::kHGCalTypeMask = 0x3
static

Definition at line 152 of file HGCScintillatorDetId.h.

Referenced by HGCScintillatorDetId(), setType(), and type().

◆ kHGCalTypeMask0

constexpr int HGCScintillatorDetId::kHGCalTypeMask0 = 0xF3FFFFFF
static

Definition at line 153 of file HGCScintillatorDetId.h.

Referenced by setType().

◆ kHGCalTypeOffset

constexpr int HGCScintillatorDetId::kHGCalTypeOffset = 26
static

Definition at line 151 of file HGCScintillatorDetId.h.

Referenced by HGCScintillatorDetId(), setType(), and type().

◆ kHGCalZsideMask

constexpr int HGCScintillatorDetId::kHGCalZsideMask = 0x1
static

Definition at line 150 of file HGCScintillatorDetId.h.

Referenced by HGCScintillatorDetId(), and zside().

◆ kHGCalZsideOffset

constexpr int HGCScintillatorDetId::kHGCalZsideOffset = 25
static

Definition at line 149 of file HGCScintillatorDetId.h.

Referenced by HGCScintillatorDetId(), and zside().

◆ Undefined

const HGCScintillatorDetId HGCScintillatorDetId::Undefined
static

Definition at line 135 of file HGCScintillatorDetId.h.