15 <<
" is not a valid Totem Timing id";
22 uint32_t
arm, uint32_t
station, uint32_t romanPot, uint32_t plane, uint32_t channel, uint32_t subdet)
26 <<
" Invalid parameters:" 27 <<
" arm=" <<
arm <<
" station=" <<
station <<
" rp=" << romanPot
28 <<
" plane=" <<
plane <<
" detector=" <<
channel << std::endl;
31 uint32_t
ok = 0xfe000000;
44 return os <<
"arm=" <<
id.arm() <<
" station=" <<
id.station() <<
" rp=" <<
id.rp() <<
" plane=" <<
id.plane()
45 <<
" Detector=" <<
id.channel();
static const uint32_t maxStation
static constexpr uint32_t maskPlane
static const uint32_t startRPBit
static const uint32_t maskStation
static const uint32_t maskRP
static constexpr uint32_t maskChannel
static const uint32_t maskArm
static constexpr uint32_t startDetBit
static constexpr uint32_t maxPlane
TotemTimingDetId(uint32_t id)
Construct from a raw id.
std::ostream & operator<<(std::ostream &os, const TotemTimingDetId &id)
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 constexpr uint32_t maxChannel
static bool check(unsigned int raw)
returns true if the raw ID is a PPS-timing one
static constexpr uint32_t startPlaneBit
static const uint32_t maxRP
static const uint32_t startStationBit
Base class for CTPPS detector IDs.
static const uint32_t startArmBit
Detector ID class for CTPPS Totem Timing detectors. Bits [19:31] : Assigend in CTPPSDetId Calss Bits ...