Go to the documentation of this file.
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 startDetBit
std::ostream & operator<<(std::ostream &os, const CTPPSDiamondDetId &id)
static const uint32_t maxRP
static const uint32_t lowMaskChannel
static const uint32_t maskChannel
static const uint32_t maxChannel
static const uint32_t maxArm
CTPPSDiamondDetId(uint32_t id)
Construct from a raw id.
static const uint32_t startArmBit
static const uint32_t startStationBit
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
Detector ID class for CTPPS Timing Diamond detectors. Bits [19:31] : Assigend in CTPPSDetId Calss Bit...
Base class for CTPPS detector IDs.
static const uint32_t lowMaskPlane
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 startPlaneBit
static const uint32_t maskStation
static const uint32_t maxStation
static const uint32_t startRPBit
static const uint32_t maskPlane
static const uint32_t maskArm
static const uint32_t maskRP