25 <<
" is not a valid CTPPS Timing Diamond id";
32 :
CTPPSDetId(sdTimingDiamond, Arm, Station, RomanPot) {
35 <<
" Invalid parameters:" 36 <<
" arm=" << Arm <<
" station=" << Station <<
" rp=" << RomanPot
37 <<
" plane=" <<
Plane <<
" detector=" <<
Channel << std::endl;
40 uint32_t
ok = 0xfe000000;
53 os <<
"arm=" <<
id.arm() <<
" station=" <<
id.station() <<
" rp=" <<
id.rp() <<
" plane=" <<
id.plane()
54 <<
" Detector=" <<
id.channel();
static const uint32_t lowMaskChannel
static const uint32_t maxStation
CTPPSDiamondDetId(uint32_t id)
Construct from a raw id.
std::ostream & operator<<(std::ostream &os, const CTPPSDiamondDetId &id)
static const uint32_t maxChannel
static const uint32_t startRPBit
static const uint32_t maskChannel
static const uint32_t maskStation
static const uint32_t maskRP
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 bool check(unsigned int raw)
returns true if the raw ID is a PPS-timing one
static const uint32_t maxPlane
static const uint32_t maxRP
static const uint32_t startPlaneBit
static const uint32_t startStationBit
Base class for CTPPS detector IDs.
static const uint32_t lowMaskPlane
static const uint32_t startArmBit
Detector ID class for CTPPS Timing Diamond detectors. Bits [19:31] : Assigend in CTPPSDetId Calss Bit...
static const uint32_t startDetBit
static const uint32_t maskPlane