6 #ifndef DataFormats_CTPPSDetId_TotemTimingDetId 7 #define DataFormats_CTPPSDetId_TotemTimingDetId 38 uint32_t romanPot = 0,
47 static bool check(
unsigned int raw) {
static constexpr uint32_t lowMaskChannel
void setChannel(uint32_t channel)
static constexpr uint32_t maskPlane
NameFlag
type of name returned by *Name functions
std::string to_string(const V &value)
static const int kSubdetOffset
static constexpr uint32_t lowMaskPlane
void channelName(std::string &name, NameFlag flag=nFull) const
static constexpr uint32_t maskChannel
void planeName(std::string &name, NameFlag flag=nFull) const
void setPlane(uint32_t channel)
void rpName(std::string &name, NameFlag flag=nFull) const
static constexpr uint32_t startDetBit
static constexpr uint32_t maxPlane
TotemTimingDetId(const CTPPSDetId &id)
TotemTimingDetId(uint32_t id)
Construct from a raw id.
static constexpr uint32_t maxChannel
static bool check(unsigned int raw)
returns true if the raw ID is a PPS-timing one
static constexpr uint32_t startPlaneBit
constexpr uint32_t rawId() const
get the raw id
Base class for CTPPS detector IDs.
TotemTimingDetId planeId() const
std::ostream & operator<<(std::ostream &os, const TotemTimingDetId &id)
static const int kDetOffset
Detector ID class for CTPPS Totem Timing detectors. Bits [19:31] : Assigend in CTPPSDetId Calss Bits ...