Go to the documentation of this file.
9 #ifndef DataFormats_CTPPSDetId_CTPPSDetId
10 #define DataFormats_CTPPSDetId_CTPPSDetId
41 CTPPSDetId(uint32_t
SubDet, uint32_t Arm, uint32_t Station, uint32_t RomanPot = 0);
static const std::string subDetectorPaths[]
static const uint32_t maxRP
static const std::string subDetectorNames[]
CTPPSDetId(uint32_t id)
Construct from a raw id.
void stationName(std::string &name, NameFlag flag=nFull) const
static const std::string rpNames[]
static const uint32_t maxArm
static const uint32_t lowMaskArm
static const uint32_t startArmBit
void setStation(uint32_t station)
void subDetectorName(std::string &name, NameFlag flag=nFull) const
static const uint32_t startStationBit
static const uint32_t lowMaskRP
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
static const std::string stationNames[]
NameFlag
type of name returned by *Name functions
SubDetector
CTPPS sub-detectors.
Base class for CTPPS detector IDs.
std::ostream & operator<<(std::ostream &os, const CTPPSDetId &id)
static const uint32_t maskStation
static const uint32_t maxStation
CTPPSDetId stationId() const
void setArm(uint32_t arm)
static const uint32_t startRPBit
constexpr uint32_t rawId() const
get the raw id
static const uint32_t lowMaskStation
static const std::string armNames[]
static const uint32_t maskArm
void armName(std::string &name, NameFlag flag=nFull) const
void rpName(std::string &name, NameFlag flag=nFull) const
static const uint32_t maskRP