10 #ifndef DataFormats_CTPPSDetId_TotemRPDetId 11 #define DataFormats_CTPPSDetId_TotemRPDetId 42 TotemRPDetId(uint32_t Arm, uint32_t Station, uint32_t RomanPot=0, uint32_t
Plane=0, uint32_t Chip=0);
51 return ((
id_>>startPlaneBit) & maskPlane);
62 return ((
id_>>startChipBit) & maskChip);
109 case nShort: name =
"";
break;
121 case nShort: name =
"";
break;
Detector ID class for TOTEM Si strip detectors.
static const uint32_t maskChip
static const uint32_t startChipBit
NameFlag
type of name returned by *Name functions
uint32_t getRPDecimalId() const
std::ostream & operator<<(std::ostream &os, const TotemRPDetId &id)
bool isStripsCoordinateUDirection() const
TotemRPDetId(uint32_t id)
bool isStripsCoordinateVDirection() const
static const uint32_t lowMaskChip
uint32_t rawId() const
get the raw id
TotemRPDetId(const CTPPSDetId &id)
void rpName(std::string &name, NameFlag flag=nFull) const
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
uint32_t getPlaneDecimalId() const
void planeName(std::string &name, NameFlag flag=nFull) const
Detector det() const
get the detector field from this detid
static const uint32_t maxPlane
TotemRPDetId getPlaneId() const
static const std::string chipNames[]