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