1 #ifndef DATAFORMATS_DETID_H 2 #define DATAFORMATS_DETID_H
constexpr bool operator<(uint32_t i, DetId id)
comparison
constexpr bool operator==(DetId id) const
equality
constexpr bool operator<(DetId id) const
comparison
static const int kSubdetOffset
constexpr Detector det() const
get the detector field from this detid
constexpr bool operator!=(DetId id) const
inequality
constexpr bool null() const
is this a null id ?
static const int kSubdetMask
constexpr DetId(Detector det, int subdet)
Create an id, filling the detector and subdetector fields as specified.
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
constexpr bool operator!=(uint32_t i, DetId id)
inequality
constexpr DetId(uint32_t id)
Create an id from a raw number.
constexpr uint32_t rawId() const
get the raw id
static const int kDetMask
result_type operator()(argument_type const &id) const noexcept
constexpr uint32_t operator()() const
static const int kDetOffset
constexpr bool operator==(uint32_t i, DetId id)
equality
constexpr DetId()
Create an empty or null id (also for persistence)