1 #ifndef DataFormats_CTPPSPixelDetId_h 2 #define DataFormats_CTPPSPixelDetId_h 37 static bool check(
unsigned int raw)
44 return int((
id_>>startPlaneBit) & maskPlane);
47 void set(uint32_t
a, uint32_t
b, uint32_t
c,uint32_t
d ){
59 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.