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