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);
SubDetector
CTPPS sub-detectors.
static const uint32_t maxStation
NameFlag
type of name returned by *Name functions
void setArm(uint32_t arm)
constexpr uint32_t rawId() const
get the raw id
std::ostream & operator<<(std::ostream &out, const ALILine &li)
static const uint32_t startRPBit
static const uint32_t maskStation
static const uint32_t maskRP
static const std::string armNames[]
CTPPSDetId stationId() const
static const uint32_t lowMaskStation
static const uint32_t maskArm
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
static const uint32_t maxArm
void rpName(std::string &name, NameFlag flag=nFull) const
static const std::string subDetectorPaths[]
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[]
static const uint32_t startStationBit
Base class for CTPPS detector IDs.
CTPPSDetId(uint32_t id)
Construct from a raw id.
result_type operator()(const argument_type &id) const noexcept
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