18 <<
" is not a valid Totem nT2 id";
26 <<
" Invalid parameters:" 29 uint32_t
ok = 0xfe000000;
78 return os <<
"arm=" <<
id.arm() <<
" plane=" <<
id.plane() <<
" channel=" <<
id.channel();
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
std::ostream & operator<<(std::ostream &os, const TotemT2DetId &id)
static constexpr uint32_t startChannelBit
static constexpr uint32_t maxChannel
static constexpr uint32_t maskChannel
static constexpr uint32_t maxPlane
static std::string to_string(const XMLCh *ch)
static const uint32_t maskArm
static const uint32_t maxArm
static constexpr uint32_t maskPlane
void planeName(std::string &name, NameFlag flag=nFull) const
void armName(std::string &name, NameFlag flag=nFull) const
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
TotemT2DetId(uint32_t id)
Construct from a raw id.
Base class for CTPPS detector IDs.
static const uint32_t startArmBit
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