1 #ifndef DataFormats_HcalDetId_HcalZDCDetId_h_included 2 #define DataFormats_HcalDetId_HcalZDCDetId_h_included 1 57 <<
"Cannot initialize ZDCDetId from " << std::hex <<
gen.rawId() <<
std::dec;
208 #endif // DataFormats_HcalDetId_HcalZDCDetId_h_included
static constexpr int32_t kDepTot
std::ostream & operator<<(std::ostream &, const HcalZDCDetId &id)
static constexpr HcalZDCDetId detIdFromDenseIndex(uint32_t di)
constexpr uint32_t denseIndex() const
static constexpr int32_t kDepRun3
static constexpr uint32_t kZDCChannelMask2
static constexpr int32_t kSizeForDenseIndexingRun1
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) ...
static constexpr uint32_t packHcalZDCDetId(const Section &se, const bool &zside, const int32_t &channel)
static constexpr uint32_t kZDCRPDMask
static constexpr int32_t kDepHAD
static constexpr uint32_t newForm(const uint32_t &di)
static constexpr int32_t kDepEM
static constexpr uint32_t kZDCnewFormat
static constexpr uint32_t kZDCZsideMask
constexpr HcalZDCDetId(const DetId &gen)
static constexpr uint32_t kZDCSectionMask
constexpr HcalZDCDetId(uint32_t rawid)
static constexpr bool validDetId(Section se, int32_t dp)
constexpr bool operator!=(DetId gen) const
static constexpr void unpackHcalZDCDetId(const uint32_t &id, Section &se, bool &zside, int32_t &channel)
static constexpr int32_t kSizeForDenseIndexing
static constexpr uint32_t kZDCChannelMask1
static constexpr int32_t kDepLUM
constexpr Section section() const
get the section
static constexpr int32_t kDepRun1
constexpr HcalZDCDetId(Section section, bool true_for_positive_eta, int32_t channel)
static constexpr bool validDenseIndex(const uint32_t &di)
constexpr HcalZDCDetId & operator=(const DetId &gen)
constexpr bool operator==(DetId gen) const
static constexpr int32_t kDepRPD
static constexpr int32_t SubdetectorId
constexpr int32_t channel() const
get the channel
constexpr int32_t zside() const
get the z-side of the cell (1/-1)
static constexpr bool newFormat(const uint32_t &di)
static constexpr uint32_t kZDCSectionOffset
constexpr DetId()
Create an empty or null id (also for persistence)
static constexpr int32_t kSizeForDenseIndexingRun3