10 #ifndef DataFormats_CTPPSDetId_TotemRPDetId 11 #define DataFormats_CTPPSDetId_TotemRPDetId 39 TotemRPDetId(uint32_t Arm, uint32_t Station, uint32_t RomanPot = 0, uint32_t
Plane = 0, uint32_t Chip = 0);
Detector ID class for TOTEM Si strip detectors.
static const uint32_t maskChip
uint32_t planeDecimalId() const
static const uint32_t startChipBit
NameFlag
type of name returned by *Name functions
bool isStripsCoordinateVDirection() const
std::ostream & operator<<(std::ostream &os, const TotemRPDetId &id)
constexpr Detector det() const
get the detector field from this detid
TotemRPDetId(uint32_t id)
uint32_t rpDecimalId() const
static const uint32_t lowMaskChip
void rpName(std::string &name, NameFlag flag=nFull) const
TotemRPDetId(const CTPPSDetId &id)
TotemRPDetId planeId() const
void planeName(std::string &name, NameFlag flag=nFull) const
constexpr uint32_t rawId() const
get the raw id
void setPlane(uint32_t det)
void chipName(std::string &name, NameFlag flag=nFull) const
void setChip(uint32_t chip)
static const std::string planeNames[]
Base class for CTPPS detector IDs.
static const uint32_t lowMaskPlane
static const uint32_t startPlaneBit
static const uint32_t maxChip
static const uint32_t maskPlane
bool isStripsCoordinateUDirection() const
static const uint32_t maxPlane
static const std::string chipNames[]