10 using namespace sipixelobjects;
13 PixelROC::PixelROC(uint32_t du,
int idDU,
int idLk) : theDetUnit(du), theIdDU(idDU), theIdLk(idLk) {
102 const unsigned int moduleStartBit_ = 2;
106 const unsigned int moduleMask_ = 0x3F;
113 unsigned int module = (rawId >> moduleStartBit_) & moduleMask_;
125 const unsigned int moduleStartBit_ = 2;
129 const unsigned int moduleMask_ = 0x3FF;
136 unsigned int module = (rawId >> moduleStartBit_) & moduleMask_;
144 const unsigned int layerStartBit_ = 20;
148 const unsigned int layerMask_ = 0xF;
153 unsigned int layer = (rawId >> layerStartBit_) & layerMask_;
170 const unsigned int panelStartBit_ = 8;
177 const unsigned int panelMask_ = 0x3;
187 unsigned int panel = ((rawId >> panelStartBit_) & panelMask_);
202 const unsigned int panelStartBit_ = 10;
209 const unsigned int panelMask_ = 0x3;
221 unsigned int panel = ((rawId >> panelStartBit_) & panelMask_);
236 out <<
"======== PixelROC ";
245 <<
" idInDU: " <<
theIdDU <<
" idInLk: "
int fpixSidePhase1(uint32_t rawId) const
void initFrameConversion()
void initFrameConversionPhase1_CMSSW_9_0_X()
std::string print(int depth=0) const
printout for debug
constexpr std::array< uint8_t, layerIndexSize > layer
FrameConversion theFrameConverter
virtual bool isBarrel() const
true for barrel modules
int fpixSidePhase0(uint32_t rawId) const
static int bpixLayerPhase1(uint32_t rawId)
int bpixSidePhase0(uint32_t rawId) const
void initFrameConversionPhase1()
int bpixSidePhase1(uint32_t rawId) const