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