1 #ifndef DataFormats_CTPPSPixelDetId_h 2 #define DataFormats_CTPPSPixelDetId_h 32 static bool check(
unsigned int raw) {
37 uint32_t
plane()
const {
return int((
id_ >> startPlaneBit) & maskPlane); }
39 void set(uint32_t
a, uint32_t
b, uint32_t
c, uint32_t
d) { this->
init(a, b, c,
d); }
47 void init(uint32_t Arm, uint32_t Station, uint32_t RP, uint32_t
Plane);
static bool check(unsigned int raw)
static const uint32_t maskPlane
static const int kSubdetOffset
static const uint32_t maxPlane
static const uint32_t startPlaneBit
void setPlane(uint32_t pl)
CTPPSPixelDetId(const CTPPSDetId &id)
Base class for CTPPS detector IDs.
void init(uint32_t Arm, uint32_t Station, uint32_t RP, uint32_t Plane)
static const int kDetOffset
std::ostream & operator<<(std::ostream &os, const CTPPSPixelDetId &id)
CTPPSPixelDetId(uint32_t id)
Construct from a packed id.