CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Static Private Member Functions
HcalZDCDetId Class Reference

#include <HcalZDCDetId.h>

Inheritance diagram for HcalZDCDetId:
DetId

Public Types

enum  Section {
  Unknown = 0, EM = 1, HAD = 2, LUM = 3,
  RPD = 4
}
 
- 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
}
 

Public Member Functions

constexpr int32_t channel () const
 get the channel More...
 
constexpr uint32_t denseIndex () const
 
constexpr int32_t depth () const
 get the depth (1 for EM, channel + 1 for HAD, 2 for RPD, not sure yet for LUM, leave as default) More...
 
constexpr HcalZDCDetId ()
 
constexpr HcalZDCDetId (uint32_t rawid)
 
constexpr HcalZDCDetId (Section section, bool true_for_positive_eta, int32_t channel)
 
constexpr HcalZDCDetId (const DetId &gen)
 
constexpr bool operator!= (DetId gen) const
 
constexpr HcalZDCDetIdoperator= (const DetId &gen)
 
constexpr bool operator== (DetId gen) const
 
constexpr Section section () const
 get the section More...
 
constexpr int32_t 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 Member Functions

static constexpr HcalZDCDetId detIdFromDenseIndex (uint32_t di)
 
static constexpr uint32_t newForm (const uint32_t &di)
 
static constexpr bool newFormat (const uint32_t &di)
 
static constexpr bool validDenseIndex (const uint32_t &di)
 
static constexpr bool validDetId (Section se, int32_t dp)
 

Static Public Attributes

static constexpr int32_t kDepEM = 5
 
static constexpr int32_t kDepHAD = 4
 
static constexpr int32_t kDepLUM = 2
 
static constexpr int32_t kDepRPD = 16
 
static constexpr int32_t kDepRun1 = (kDepEM + kDepHAD + kDepLUM)
 
static constexpr int32_t kDepRun3 = kDepTot
 
static constexpr int32_t kDepTot = (kDepRun1 + kDepRPD)
 
static constexpr int32_t kSizeForDenseIndexing = kSizeForDenseIndexingRun1
 
static constexpr int32_t kSizeForDenseIndexingRun1 = 2 * kDepRun1
 
static constexpr int32_t kSizeForDenseIndexingRun3 = 2 * kDepRun3
 
static constexpr uint32_t kZDCChannelMask1 = 0xF
 
static constexpr uint32_t kZDCChannelMask2 = 0x3F
 
static constexpr uint32_t kZDCnewFormat = 0x100
 
static constexpr uint32_t kZDCRPDMask = 0x80
 
static constexpr uint32_t kZDCSectionMask = 0x3
 
static constexpr uint32_t kZDCSectionOffset = 4
 
static constexpr uint32_t kZDCZsideMask = 0x40
 
static constexpr int32_t SubdetectorId = 2
 
- 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
 

Static Private Member Functions

static constexpr uint32_t packHcalZDCDetId (const Section &se, const bool &zside, const int32_t &channel)
 
static constexpr void unpackHcalZDCDetId (const uint32_t &id, Section &se, bool &zside, int32_t &channel)
 

Additional Inherited Members

- Protected Attributes inherited from DetId
uint32_t id_
 

Detailed Description

Contents of the HcalZDCDetId (Old): [7] Set for RPD [6] Z position (true for positive) [5:4] Section (EM/HAD/Lumi) [3:0] Channel Contents of the HcalZDCDetId (New): [8] Set to 1 for new format [7] Set for RPD [6] Z position (true for positive) [5:4] Section (EM/HAD/Lumi) [3:0] Chaneel for EM/HAD/Lumi [5:0] Channel for RPD

Definition at line 24 of file HcalZDCDetId.h.

Member Enumeration Documentation

◆ Section

Enumerator
Unknown 
EM 
HAD 
LUM 
RPD 

Definition at line 33 of file HcalZDCDetId.h.

Constructor & Destructor Documentation

◆ HcalZDCDetId() [1/4]

constexpr HcalZDCDetId::HcalZDCDetId ( )
inline

Create a null cellid

Definition at line 46 of file HcalZDCDetId.h.

Referenced by detIdFromDenseIndex().

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

◆ HcalZDCDetId() [2/4]

constexpr HcalZDCDetId::HcalZDCDetId ( uint32_t  rawid)
inline

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

Definition at line 48 of file HcalZDCDetId.h.

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

◆ HcalZDCDetId() [3/4]

constexpr HcalZDCDetId::HcalZDCDetId ( Section  section,
bool  true_for_positive_eta,
int32_t  channel 
)
inline

Constructor from section, eta sign, and channel

Definition at line 50 of file HcalZDCDetId.h.

References channel(), DetId::id_, packHcalZDCDetId(), and section().

50  {
51  id_ = packHcalZDCDetId(section, true_for_positive_eta, channel);
52  }
static constexpr uint32_t packHcalZDCDetId(const Section &se, const bool &zside, const int32_t &channel)
Definition: HcalZDCDetId.h:173
uint32_t id_
Definition: DetId.h:69
constexpr Section section() const
get the section
Definition: HcalZDCDetId.h:92
constexpr int32_t channel() const
get the channel
Definition: HcalZDCDetId.h:112

◆ HcalZDCDetId() [4/4]

constexpr HcalZDCDetId::HcalZDCDetId ( const DetId gen)
inline

Constructor from a generic cell id

Definition at line 54 of file HcalZDCDetId.h.

References DetId::Calo, TauDecayModes::dec, Exception, DetId::id_, newForm(), and SubdetectorId.

54  {
55  if (!gen.null() && (gen.det() != Calo || gen.subdetId() != SubdetectorId)) {
56  throw cms::Exception("Invalid DetId")
57  << "Cannot initialize ZDCDetId from " << std::hex << gen.rawId() << std::dec;
58  }
59  id_ = newForm(gen.rawId());
60  }
static constexpr uint32_t newForm(const uint32_t &di)
Definition: HcalZDCDetId.h:122
uint32_t id_
Definition: DetId.h:69
static constexpr int32_t SubdetectorId
Definition: HcalZDCDetId.h:35

Member Function Documentation

◆ channel()

constexpr int32_t HcalZDCDetId::channel ( ) const
inline

get the channel

Definition at line 112 of file HcalZDCDetId.h.

References DetId::id_, kZDCChannelMask1, kZDCChannelMask2, newForm(), RPD, and section().

Referenced by ZDCDigiStudy::analyze(), ZdcTBAnalysis::analyze(), ZDCSimHitStudy::analyzeHits(), denseIndex(), depth(), hcalTransformedId(), HcalZDCDetId(), HcalCondObjectContainerBase::indexFor(), HcalText2DetIdConverter::init(), ZdcTopology::longitudinal(), newForm(), packHcalZDCDetId(), ZDCLogicalMapEntry::printLMapLine(), ZdcHitReconstructor_Run3::produce(), HcalTrigTowerGeometry::towerIds_ZDC(), ZdcTopology::transverse(), and unpackHcalZDCDetId().

112  {
113  const int32_t se(section());
114  uint32_t id = newForm(id_);
115  if (se == RPD)
116  return (1 + (id & kZDCChannelMask2));
117  else
118  return (id & kZDCChannelMask1);
119  }
static constexpr uint32_t kZDCChannelMask2
Definition: HcalZDCDetId.h:27
static constexpr uint32_t newForm(const uint32_t &di)
Definition: HcalZDCDetId.h:122
static constexpr uint32_t kZDCChannelMask1
Definition: HcalZDCDetId.h:26
uint32_t id_
Definition: DetId.h:69
constexpr Section section() const
get the section
Definition: HcalZDCDetId.h:92

◆ denseIndex()

constexpr uint32_t HcalZDCDetId::denseIndex ( ) const
inline

Definition at line 134 of file HcalZDCDetId.h.

References channel(), HAD, kDepEM, kDepHAD, kDepRPD, kDepRun1, LUM, RPD, section(), and zside().

Referenced by ZDCSimHitStudy::analyzeHits(), and HcalCondObjectContainerBase::indexFor().

134  {
135  const int32_t se(section());
136  uint32_t di =
137  (channel() - 1 +
138  (se == RPD ? 2 * kDepRun1 + (zside() < 0 ? 0 : kDepRPD)
139  : ((zside() < 0 ? 0 : kDepRun1) + (se == HAD ? kDepEM : (se == LUM ? kDepEM + kDepHAD : 0)))));
140  return di;
141  }
static constexpr int32_t kDepHAD
Definition: HcalZDCDetId.h:38
static constexpr int32_t kDepEM
Definition: HcalZDCDetId.h:37
constexpr Section section() const
get the section
Definition: HcalZDCDetId.h:92
static constexpr int32_t kDepRun1
Definition: HcalZDCDetId.h:41
static constexpr int32_t kDepRPD
Definition: HcalZDCDetId.h:40
constexpr int32_t channel() const
get the channel
Definition: HcalZDCDetId.h:112
constexpr int32_t zside() const
get the z-side of the cell (1/-1)
Definition: HcalZDCDetId.h:90

◆ depth()

constexpr int32_t HcalZDCDetId::depth ( ) const
inline

get the depth (1 for EM, channel + 1 for HAD, 2 for RPD, not sure yet for LUM, leave as default)

Definition at line 100 of file HcalZDCDetId.h.

References channel(), EM, HAD, RPD, and section().

Referenced by ZdcTBAnalysis::analyze(), ZDCSimHitStudy::analyzeHits(), ZDCLogicalMapEntry::printLMapLine(), and HcalTrigTowerGeometry::towerIds_ZDC().

100  {
101  const int se(section());
102  if (se == EM)
103  return 1;
104  else if (se == HAD)
105  return (channel() + 2);
106  else if (se == RPD)
107  return 2;
108  else
109  return channel();
110  }
constexpr Section section() const
get the section
Definition: HcalZDCDetId.h:92
constexpr int32_t channel() const
get the channel
Definition: HcalZDCDetId.h:112

◆ detIdFromDenseIndex()

static constexpr HcalZDCDetId HcalZDCDetId::detIdFromDenseIndex ( uint32_t  di)
inlinestatic

Definition at line 145 of file HcalZDCDetId.h.

References Calorimetry_cff::dp, EM, HAD, HcalZDCDetId(), recoMuon::in, kDepEM, kDepHAD, kDepRPD, kDepRun1, kDepTot, LUM, RPD, Unknown, and validDenseIndex().

Referenced by CaloGenericDetId::CaloGenericDetId().

145  {
146  if (validDenseIndex(di)) {
147  bool lz(false);
148  uint32_t dp(0);
149  Section se(Unknown);
150  if (di >= 2 * kDepRun1) {
151  lz = (di >= (kDepRun1 + kDepTot));
152  se = RPD;
153  dp = 1 + ((di - 2 * kDepRun1) % kDepRPD);
154  } else {
155  lz = (di >= kDepRun1);
156  uint32_t in = (di % kDepRun1);
157  se = (in < kDepEM ? EM : (in < kDepEM + kDepHAD ? HAD : LUM));
158  dp = (se == EM ? in + 1 : (se == HAD ? in - kDepEM + 1 : in - kDepEM - kDepHAD + 1));
159  }
160  return HcalZDCDetId(se, lz, dp);
161  } else {
162  return HcalZDCDetId();
163  }
164  }
static constexpr int32_t kDepTot
Definition: HcalZDCDetId.h:42
static constexpr int32_t kDepHAD
Definition: HcalZDCDetId.h:38
static constexpr int32_t kDepEM
Definition: HcalZDCDetId.h:37
constexpr HcalZDCDetId()
Definition: HcalZDCDetId.h:46
static constexpr int32_t kDepRun1
Definition: HcalZDCDetId.h:41
static constexpr bool validDenseIndex(const uint32_t &di)
Definition: HcalZDCDetId.h:143
static constexpr int32_t kDepRPD
Definition: HcalZDCDetId.h:40

◆ newForm()

static constexpr uint32_t HcalZDCDetId::newForm ( const uint32_t &  di)
inlinestatic

Definition at line 122 of file HcalZDCDetId.h.

References channel(), EcalPhiSymFlatTableProducers_cfi::id, newFormat(), packHcalZDCDetId(), Unknown, unpackHcalZDCDetId(), and zside().

Referenced by channel(), HcalZDCDetId(), operator!=(), operator=(), operator==(), and section().

122  {
123  uint32_t id(di);
124  if (!newFormat(id)) {
125  Section se(Unknown);
126  bool zside(true);
127  int32_t channel(0);
128  unpackHcalZDCDetId(id, se, zside, channel);
129  id = packHcalZDCDetId(se, zside, channel);
130  }
131  return id;
132  }
static constexpr uint32_t packHcalZDCDetId(const Section &se, const bool &zside, const int32_t &channel)
Definition: HcalZDCDetId.h:173
static constexpr void unpackHcalZDCDetId(const uint32_t &id, Section &se, bool &zside, int32_t &channel)
Definition: HcalZDCDetId.h:188
constexpr int32_t channel() const
get the channel
Definition: HcalZDCDetId.h:112
constexpr int32_t zside() const
get the z-side of the cell (1/-1)
Definition: HcalZDCDetId.h:90
static constexpr bool newFormat(const uint32_t &di)
Definition: HcalZDCDetId.h:121

◆ newFormat()

static constexpr bool HcalZDCDetId::newFormat ( const uint32_t &  di)
inlinestatic

Definition at line 121 of file HcalZDCDetId.h.

References kZDCnewFormat.

Referenced by newForm().

121 { return (di & kZDCnewFormat); }
static constexpr uint32_t kZDCnewFormat
Definition: HcalZDCDetId.h:32

◆ operator!=()

constexpr bool HcalZDCDetId::operator!= ( DetId  gen) const
inline

Definition at line 79 of file HcalZDCDetId.h.

References globals_cff::id1, globals_cff::id2, DetId::id_, and newForm().

79  {
80  if (gen.rawId() != id_) {
81  return true;
82  } else {
83  uint32_t id1 = newForm(gen.rawId());
84  uint32_t id2 = newForm(id_);
85  return (id1 != id2);
86  }
87  }
static constexpr uint32_t newForm(const uint32_t &di)
Definition: HcalZDCDetId.h:122
uint32_t id_
Definition: DetId.h:69

◆ operator=()

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

Assignment from a generic cell id

Definition at line 62 of file HcalZDCDetId.h.

References DetId::Calo, TauDecayModes::dec, Exception, DetId::id_, newForm(), and SubdetectorId.

62  {
63  if (!gen.null() && (gen.det() != Calo || gen.subdetId() != SubdetectorId)) {
64  throw cms::Exception("Invalid DetId") << "Cannot assign ZDCDetId from " << std::hex << gen.rawId() << std::dec;
65  }
66  id_ = newForm(gen.rawId());
67  return *this;
68  }
static constexpr uint32_t newForm(const uint32_t &di)
Definition: HcalZDCDetId.h:122
uint32_t id_
Definition: DetId.h:69
static constexpr int32_t SubdetectorId
Definition: HcalZDCDetId.h:35

◆ operator==()

constexpr bool HcalZDCDetId::operator== ( DetId  gen) const
inline

Comparison operator

Definition at line 70 of file HcalZDCDetId.h.

References globals_cff::id1, globals_cff::id2, DetId::id_, and newForm().

70  {
71  if (gen.rawId() == id_) {
72  return true;
73  } else {
74  uint32_t id1 = newForm(gen.rawId());
75  uint32_t id2 = newForm(id_);
76  return (id1 == id2);
77  }
78  }
static constexpr uint32_t newForm(const uint32_t &di)
Definition: HcalZDCDetId.h:122
uint32_t id_
Definition: DetId.h:69

◆ packHcalZDCDetId()

static constexpr uint32_t HcalZDCDetId::packHcalZDCDetId ( const Section se,
const bool &  zside,
const int32_t &  channel 
)
inlinestaticprivate

Definition at line 173 of file HcalZDCDetId.h.

References DetId::Calo, channel(), DetId::DetId(), EcalPhiSymFlatTableProducers_cfi::id, kZDCChannelMask1, kZDCChannelMask2, kZDCnewFormat, kZDCRPDMask, kZDCSectionMask, kZDCSectionOffset, kZDCZsideMask, RPD, SubdetectorId, and zside().

Referenced by HcalZDCDetId(), and newForm().

173  {
174  uint32_t id = DetId(DetId::Calo, SubdetectorId);
175  id |= kZDCnewFormat;
176  if (se == RPD) {
177  id |= kZDCRPDMask;
178  id |= ((channel - 1) & kZDCChannelMask2);
179  } else {
180  id |= (se & kZDCSectionMask) << kZDCSectionOffset;
181  id |= (channel & kZDCChannelMask1);
182  }
183  if (zside)
184  id |= kZDCZsideMask;
185  return id;
186  }
static constexpr uint32_t kZDCChannelMask2
Definition: HcalZDCDetId.h:27
static constexpr uint32_t kZDCRPDMask
Definition: HcalZDCDetId.h:31
static constexpr uint32_t kZDCnewFormat
Definition: HcalZDCDetId.h:32
static constexpr uint32_t kZDCZsideMask
Definition: HcalZDCDetId.h:30
static constexpr uint32_t kZDCSectionMask
Definition: HcalZDCDetId.h:28
static constexpr uint32_t kZDCChannelMask1
Definition: HcalZDCDetId.h:26
static constexpr int32_t SubdetectorId
Definition: HcalZDCDetId.h:35
constexpr int32_t channel() const
get the channel
Definition: HcalZDCDetId.h:112
constexpr int32_t zside() const
get the z-side of the cell (1/-1)
Definition: HcalZDCDetId.h:90
static constexpr uint32_t kZDCSectionOffset
Definition: HcalZDCDetId.h:29
constexpr DetId()
Create an empty or null id (also for persistence)
Definition: DetId.h:38

◆ section()

constexpr Section HcalZDCDetId::section ( ) const
inline

◆ unpackHcalZDCDetId()

static constexpr void HcalZDCDetId::unpackHcalZDCDetId ( const uint32_t &  id,
Section se,
bool &  zside,
int32_t &  channel 
)
inlinestaticprivate

Definition at line 188 of file HcalZDCDetId.h.

References channel(), kZDCChannelMask1, kZDCChannelMask2, kZDCnewFormat, kZDCRPDMask, kZDCSectionMask, kZDCSectionOffset, kZDCZsideMask, RPD, and zside().

Referenced by newForm().

188  {
189  if (id & kZDCnewFormat) {
190  se = (id & kZDCRPDMask) ? RPD : (Section)((id >> kZDCSectionOffset) & kZDCSectionMask);
191  channel = (se == RPD) ? (1 + (id & kZDCChannelMask2)) : (id & kZDCChannelMask1);
192  zside = (id & kZDCZsideMask);
193  } else {
194  se = (id & kZDCRPDMask) ? RPD : (Section)((id >> kZDCSectionOffset) & kZDCSectionMask);
195  channel = (se == RPD) ? (1 + (id & kZDCChannelMask1)) : (id & kZDCChannelMask1);
196  zside = (id & kZDCZsideMask);
197  }
198  }
static constexpr uint32_t kZDCChannelMask2
Definition: HcalZDCDetId.h:27
static constexpr uint32_t kZDCRPDMask
Definition: HcalZDCDetId.h:31
static constexpr uint32_t kZDCnewFormat
Definition: HcalZDCDetId.h:32
static constexpr uint32_t kZDCZsideMask
Definition: HcalZDCDetId.h:30
static constexpr uint32_t kZDCSectionMask
Definition: HcalZDCDetId.h:28
static constexpr uint32_t kZDCChannelMask1
Definition: HcalZDCDetId.h:26
constexpr int32_t channel() const
get the channel
Definition: HcalZDCDetId.h:112
constexpr int32_t zside() const
get the z-side of the cell (1/-1)
Definition: HcalZDCDetId.h:90
static constexpr uint32_t kZDCSectionOffset
Definition: HcalZDCDetId.h:29

◆ validDenseIndex()

static constexpr bool HcalZDCDetId::validDenseIndex ( const uint32_t &  di)
inlinestatic

Definition at line 143 of file HcalZDCDetId.h.

References kSizeForDenseIndexing.

Referenced by detIdFromDenseIndex().

143 { return (di < kSizeForDenseIndexing); }
static constexpr int32_t kSizeForDenseIndexing
Definition: HcalZDCDetId.h:203

◆ validDetId()

static constexpr bool HcalZDCDetId::validDetId ( Section  se,
int32_t  dp 
)
inlinestatic

Definition at line 166 of file HcalZDCDetId.h.

References Calorimetry_cff::dp, EM, RemoveAddSevLevel::flag, HAD, kDepEM, kDepHAD, kDepLUM, kDepRPD, LUM, and RPD.

166  {
167  bool flag = (dp >= 1 && (((se == EM) && (dp <= kDepEM)) || ((se == HAD) && (dp <= kDepHAD)) ||
168  ((se == LUM) && (dp <= kDepLUM)) || ((se == RPD) && (dp <= kDepRPD))));
169  return flag;
170  }
static constexpr int32_t kDepHAD
Definition: HcalZDCDetId.h:38
static constexpr int32_t kDepEM
Definition: HcalZDCDetId.h:37
static constexpr int32_t kDepLUM
Definition: HcalZDCDetId.h:39
static constexpr int32_t kDepRPD
Definition: HcalZDCDetId.h:40

◆ zside()

constexpr int32_t HcalZDCDetId::zside ( ) const
inline

Member Data Documentation

◆ kDepEM

constexpr int32_t HcalZDCDetId::kDepEM = 5
static

◆ kDepHAD

constexpr int32_t HcalZDCDetId::kDepHAD = 4
static

◆ kDepLUM

constexpr int32_t HcalZDCDetId::kDepLUM = 2
static

◆ kDepRPD

constexpr int32_t HcalZDCDetId::kDepRPD = 16
static

◆ kDepRun1

constexpr int32_t HcalZDCDetId::kDepRun1 = (kDepEM + kDepHAD + kDepLUM)
static

◆ kDepRun3

constexpr int32_t HcalZDCDetId::kDepRun3 = kDepTot
static

Definition at line 43 of file HcalZDCDetId.h.

◆ kDepTot

constexpr int32_t HcalZDCDetId::kDepTot = (kDepRun1 + kDepRPD)
static

Definition at line 42 of file HcalZDCDetId.h.

Referenced by ZdcTopology::denseId2detId(), and detIdFromDenseIndex().

◆ kSizeForDenseIndexing

constexpr int32_t HcalZDCDetId::kSizeForDenseIndexing = kSizeForDenseIndexingRun1
static

Definition at line 203 of file HcalZDCDetId.h.

Referenced by CaloGenericDetId::sizeForDenseIndexing(), and validDenseIndex().

◆ kSizeForDenseIndexingRun1

constexpr int32_t HcalZDCDetId::kSizeForDenseIndexingRun1 = 2 * kDepRun1
static

◆ kSizeForDenseIndexingRun3

constexpr int32_t HcalZDCDetId::kSizeForDenseIndexingRun3 = 2 * kDepRun3
static

◆ kZDCChannelMask1

constexpr uint32_t HcalZDCDetId::kZDCChannelMask1 = 0xF
static

Definition at line 26 of file HcalZDCDetId.h.

Referenced by channel(), packHcalZDCDetId(), and unpackHcalZDCDetId().

◆ kZDCChannelMask2

constexpr uint32_t HcalZDCDetId::kZDCChannelMask2 = 0x3F
static

Definition at line 27 of file HcalZDCDetId.h.

Referenced by channel(), packHcalZDCDetId(), and unpackHcalZDCDetId().

◆ kZDCnewFormat

constexpr uint32_t HcalZDCDetId::kZDCnewFormat = 0x100
static

Definition at line 32 of file HcalZDCDetId.h.

Referenced by newFormat(), packHcalZDCDetId(), and unpackHcalZDCDetId().

◆ kZDCRPDMask

constexpr uint32_t HcalZDCDetId::kZDCRPDMask = 0x80
static

Definition at line 31 of file HcalZDCDetId.h.

Referenced by packHcalZDCDetId(), section(), and unpackHcalZDCDetId().

◆ kZDCSectionMask

constexpr uint32_t HcalZDCDetId::kZDCSectionMask = 0x3
static

Definition at line 28 of file HcalZDCDetId.h.

Referenced by packHcalZDCDetId(), section(), and unpackHcalZDCDetId().

◆ kZDCSectionOffset

constexpr uint32_t HcalZDCDetId::kZDCSectionOffset = 4
static

Definition at line 29 of file HcalZDCDetId.h.

Referenced by packHcalZDCDetId(), section(), and unpackHcalZDCDetId().

◆ kZDCZsideMask

constexpr uint32_t HcalZDCDetId::kZDCZsideMask = 0x40
static

Definition at line 30 of file HcalZDCDetId.h.

Referenced by packHcalZDCDetId(), unpackHcalZDCDetId(), and zside().

◆ SubdetectorId

constexpr int32_t HcalZDCDetId::SubdetectorId = 2
static