9 #ifndef DataFormats_CTPPSDetId_TotemT2DetId 10 #define DataFormats_CTPPSDetId_TotemT2DetId 38 static bool check(
unsigned int raw) {
std::ostream & operator<<(std::ostream &os, const TotemT2DetId &id)
Detector ID class for Totem T2 detectors. Bits [19:31] : Base CTPPSDetId class attributes Bits [16:18...
NameFlag
type of name returned by *Name functions
void setPlane(uint32_t channel)
static constexpr uint32_t startChannelBit
static constexpr uint32_t maxChannel
TotemT2DetId planeId() const
static constexpr uint32_t maskChannel
static const int kSubdetOffset
static constexpr uint32_t maxPlane
static constexpr uint32_t lowMaskPlane
static constexpr uint32_t lowMaskChannel
TotemT2DetId(const CTPPSDetId &id)
result_type operator()(const argument_type &id) const noexcept
static constexpr uint32_t maskPlane
void planeName(std::string &name, NameFlag flag=nFull) const
TotemT2DetId argument_type
void setChannel(uint32_t channel)
TotemT2DetId(uint32_t id)
Construct from a raw id.
constexpr uint32_t rawId() const
get the raw id
Base class for CTPPS detector IDs.
static const int kDetOffset
void channelName(std::string &name, NameFlag flag=nFull) const
static constexpr uint32_t startPlaneBit
static bool check(unsigned int raw)
returns true if the raw ID is a PPS-timing one