Go to the documentation of this file.
17 <<
" is not a valid CTPPS Pixel id";
22 :
CTPPSDetId(sdTrackingPixel, Arm, Station, RP) {
29 <<
" Invalid parameterss: "
30 <<
" Arm " << Arm <<
" Station " << Station <<
" RP " << RP <<
" Plane "
31 <<
Plane << std::endl;
34 uint32_t
ok = 0xfe000000;
44 os <<
" Arm " <<
id.arm() <<
" Station " <<
id.station() <<
" RP " <<
id.rp() <<
" Plane " <<
id.plane();
static const uint32_t maxRP
constexpr Detector det() const
get the detector field from this detid
static const uint32_t maxArm
static const uint32_t maskPlane
static const uint32_t startArmBit
static bool check(unsigned int raw)
static const uint32_t startPlaneBit
static const uint32_t maxPlane
std::ostream & operator<<(std::ostream &os, const CTPPSPixelDetId &id)
static const uint32_t startStationBit
CTPPSPixelDetId(uint32_t id)
Construct from a packed id.
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
void init(uint32_t Arm, uint32_t Station, uint32_t RP, uint32_t Plane)
Base class for CTPPS detector IDs.
static const uint32_t maskStation
static const uint32_t maxStation
static const uint32_t startRPBit
static const uint32_t maskArm
static const uint32_t maskRP