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();
std::ostream & operator<<(std::ostream &os, const CTPPSPixelDetId &id)
static const uint32_t maxStation
static bool check(unsigned int raw)
static const uint32_t maskPlane
static const uint32_t startRPBit
constexpr Detector det() const
get the detector field from this detid
static const uint32_t maskStation
static const uint32_t maxPlane
static const uint32_t maskRP
static const uint32_t startPlaneBit
static const uint32_t maskArm
static const uint32_t maxArm
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
static const uint32_t maxRP
static const uint32_t startStationBit
Base class for CTPPS detector IDs.
void init(uint32_t Arm, uint32_t Station, uint32_t RP, uint32_t Plane)
static const uint32_t startArmBit
CTPPSPixelDetId(uint32_t id)
Construct from a packed id.