6 #ifndef DataFormats_CTPPSDetId_TotemTimingDetId
7 #define DataFormats_CTPPSDetId_TotemTimingDetId
42 static bool check(
unsigned int raw) {
static constexpr uint32_t lowMaskChannel
void channelName(std::string &name, NameFlag flag=nFull) const
void setChannel(uint32_t channel)
static constexpr uint32_t maskPlane
NameFlag
type of name returned by *Name functions
constexpr uint32_t rawId() const
get the raw id
std::string to_string(const V &value)
static const int kSubdetOffset
std::ostream & operator<<(std::ostream &out, const ALILine &li)
TotemTimingDetId planeId() const
static constexpr uint32_t lowMaskPlane
static constexpr uint32_t maskChannel
void setPlane(uint32_t channel)
static constexpr uint32_t startDetBit
static constexpr uint32_t maxPlane
TotemTimingDetId(const CTPPSDetId &id)
TotemTimingDetId(uint32_t id)
Construct from a raw id.
void rpName(std::string &name, NameFlag flag=nFull) const
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
Base class for CTPPS detector IDs.
static const int kDetOffset
void planeName(std::string &name, NameFlag flag=nFull) const
Detector ID class for CTPPS Totem Timing detectors. Bits [19:31] : Assigend in CTPPSDetId Calss Bits ...