6 #ifndef DataFormats_CTPPSDetId_CTPPSDiamondDetId
7 #define DataFormats_CTPPSDetId_CTPPSDiamondDetId
42 static bool check(
unsigned int raw)
84 case nShort: name =
"";
break;
86 case nPath:
rpName(name, flag); name +=
"/plane ";
break;
96 case nShort: name =
"";
break;
static const uint32_t lowMaskChannel
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)
void channelName(std::string &name, NameFlag flag=nFull) const
static const uint32_t maxChannel
static const int kSubdetOffset
std::ostream & operator<<(std::ostream &out, const ALILine &li)
static const uint32_t maskChannel
uint32_t rawId() const
get the raw id
void rpName(std::string &name, NameFlag flag=nFull) const
CTPPSDiamondDetId getPlaneId() 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
void planeName(std::string &name, NameFlag flag=nFull) const
Base class for CTPPS detector IDs.
static const uint32_t lowMaskPlane
CTPPSDiamondDetId(const CTPPSDetId &id)
static const int kDetOffset
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
static const std::string planeNames[]
static const std::string channelNames[]