18 MSG_DEBUG(log,
"SCT3_RawDataCnv_p4::persToTrans called");
23 unsigned int word =
static_cast<unsigned int>(persObj->
m_word);
24 word = ((word & 0x7FF) | (((word >> 11) & 0x7) << 22));
31 *transObj =
SCT3_RawData(stripId, word, std::vector<int>());
37 MSG_DEBUG(log,
"SCT3_RawDataCnv_p4::transToPers called");
45 unsigned int word = transObj->
getWord();
46 word = ((word & 0x7FF) | (((word >> 22) & 0x7) << 11));
47 persObj->
m_word =
static_cast<unsigned short>(word);
#define MSG_DEBUG(log, x)
This is an Identifier helper class for the SCT subdetector.
virtual Identifier identify() const override final
unsigned int getWord() const
virtual void transToPers(const SCT3_RawData *transObj, SCT3_RawData_p4 *persObj, MsgStream &log)
virtual void persToTrans(const SCT3_RawData_p4 *persObj, SCT3_RawData *transObj, MsgStream &log)
S.Oda, Oct 2018 replace unsigned int by unsigned short for for the presampling samples for Overlay MC...
void setRowStrip(const int row, const int strip)