9 #ifndef DataFormats_CTPPSDetId_CTPPSDetId
10 #define DataFormats_CTPPSDetId_CTPPSDetId
42 CTPPSDetId(uint32_t SubDet, uint32_t Arm, uint32_t Station, uint32_t RomanPot=0);
119 case nShort: name =
"";
break;
131 case nShort: name =
"";
break;
133 case nPath:
armName(name, flag); name +=
"/station ";
break;
143 case nShort: name =
"";
break;
SubDetector
CTPPS sub-detectors.
static const uint32_t maxStation
NameFlag
type of name returned by *Name functions
void setArm(uint32_t arm)
CTPPSDetId getStationId() const
std::ostream & operator<<(std::ostream &out, const ALILine &li)
static const uint32_t startRPBit
static const uint32_t maskStation
static const uint32_t maskRP
uint32_t rawId() const
get the raw id
static const std::string armNames[]
static const uint32_t lowMaskStation
static const uint32_t maskArm
static const uint32_t maxArm
void rpName(std::string &name, NameFlag flag=nFull) const
CTPPSDetId getRPId() const
static const std::string subDetectorPaths[]
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
void armName(std::string &name, NameFlag flag=nFull) const
static const uint32_t maxRP
static const std::string rpNames[]
void setStation(uint32_t station)
static const std::string subDetectorNames[]
CTPPSDetId getArmId() const
static const uint32_t startStationBit
Base class for CTPPS detector IDs.
CTPPSDetId(uint32_t id)
Construct from a raw id.
static const uint32_t startArmBit
void stationName(std::string &name, NameFlag flag=nFull) const
static const std::string stationNames[]
static const uint32_t lowMaskArm
static const uint32_t lowMaskRP
void subDetectorName(std::string &name, NameFlag flag=nFull) const