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 bpixSidePhase0(uint32_t rawId) const
void initFrameConversion()
int bpixSidePhase1(uint32_t rawId) const
ALPAKA_FN_ACC int side(int ieta, int iphi)
void initFrameConversionPhase1_CMSSW_9_0_X()
int fpixSidePhase1(uint32_t rawId) const
FrameConversion theFrameConverter
std::string print(int depth=0) const
printout for debug
virtual bool isBarrel() const
true for barrel modules
static int bpixLayerPhase1(uint32_t rawId)
int fpixSidePhase0(uint32_t rawId) const
void initFrameConversionPhase1()
uint32_t rawId() const
return the DetUnit to which this ROC belongs to.