|
ATLAS Offline Software
|
Go to the documentation of this file.
11 #ifndef ITKPIXENCODER_H
12 #define ITKPIXENCODER_H
23 ITkPixEncoder(
const unsigned nCol = 400,
const unsigned nRow = 384,
24 const unsigned nColInCCol = 8,
const unsigned nRowInQRow = 2,
25 const unsigned nEventsPerStream = 16,
const bool plainHitMap =
false,
26 const bool dropToT =
false);
34 void encodeQCore(
const unsigned nCCol,
const unsigned nQRow);
44 bool hitInQCore(
const unsigned CCol,
const unsigned QRow);
void streamTag(const uint8_t nStream)
std::vector< unsigned > m_lastQRow
std::vector< uint32_t > & getWords()
ITkPixLayout< uint16_t > HitMap
std::vector< std::vector< bool > > m_hitQCores
std::vector< uint32_t > m_words
unsigned m_nEventsPerStream
bool hitInQCore(const unsigned CCol, const unsigned QRow)
void intTag(const uint16_t nEvt)
ITkPixEncoder(const unsigned nCol=400, const unsigned nRow=384, const unsigned nColInCCol=8, const unsigned nRowInQRow=2, const unsigned nEventsPerStream=16, const bool plainHitMap=false, const bool dropToT=false)
void setHitMap(const HitMap &hitMap)
void encodeQCore(const unsigned nCCol, const unsigned nQRow)
void addBits64(const uint64_t value, const uint8_t length)
void setEventsPerStream(const unsigned nEventsPerStream=16)