6 #ifndef DataFormats_CTPPSDetId_TotemTimingDetId 7 #define DataFormats_CTPPSDetId_TotemTimingDetId 42 static bool check(
unsigned int raw) {
82 name += std::to_string(
plane());
99 name += std::to_string(
channel());
void channelName(std::string &name, NameFlag flag=nFull) const
static uint32_t lowMaskPlane
void setChannel(uint32_t channel)
static uint32_t startPlaneBit
NameFlag
type of name returned by *Name functions
constexpr uint32_t rawId() const
get the raw id
static const int kSubdetOffset
static uint32_t maskPlane
TotemTimingDetId planeId() const
void setPlane(uint32_t channel)
static uint32_t lowMaskChannel
TotemTimingDetId(const CTPPSDetId &id)
TotemTimingDetId(uint32_t id)
Construct from a raw id.
static uint32_t maxChannel
void rpName(std::string &name, NameFlag flag=nFull) const
static bool check(unsigned int raw)
returns true if the raw ID is a PPS-timing one
static uint32_t startDetBit
static uint32_t maskChannel
Base class for CTPPS detector IDs.
std::ostream & operator<<(std::ostream &os, const TotemTimingDetId &id)
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 ...