27 <<
" is not a valid CTPPS Timing Diamond id";
39 <<
" Invalid parameters:" 41 <<
" station=" << Station
44 <<
" detector=" << Channel
48 uint32_t
ok=0xfe000000;
62 os <<
"arm=" <<
id.arm()
63 <<
" station=" <<
id.station()
65 <<
" plane=" <<
id.plane()
66 <<
" 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
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