Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
13 #ifndef ITKPIXENCODER_H
14 #define ITKPIXENCODER_H
27 ITkPixEncoder(
const unsigned nCol = 400,
const unsigned nRow = 384,
28 const unsigned nColInCCol = 8,
const unsigned nRowInQRow = 2,
29 const unsigned nEventsPerStream = 16,
const bool plainHitMap =
false,
30 const bool dropToT =
false);
32 std::vector<uint32_t>&
getWords(){
return m_words;}
46 void encodeQCore(
const unsigned nCCol,
const unsigned nQRow)
const;
56 bool hitInQCore(
const unsigned CCol,
const unsigned QRow)
const;
std::vector< uint32_t > & getWords()
void intTag(const uint16_t nEvt) const
bool hitInQCore(const unsigned CCol, const unsigned QRow) const
ITkPixLayout< uint16_t > HitMap
std::vector< std::vector< bool > > m_hitQCores ATLAS_THREAD_SAFE
void setHitMap(const HitMap &hitMap) const
unsigned m_nEventsPerStream
std::vector< uint32_t > m_words ATLAS_THREAD_SAFE
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)
std::vector< unsigned > m_lastQRow ATLAS_THREAD_SAFE
HitMap m_hitMap ATLAS_THREAD_SAFE
void encodeQCore(const unsigned nCCol, const unsigned nQRow) const
void addBits64(const uint64_t value, const uint8_t length) const
void setEventsPerStream(const unsigned nEventsPerStream=16)
void streamTag(const uint8_t nStream) const
Define macros for attributes used to control the static checker.