|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
   13 #ifndef ITKPIXENCODER_H 
   14 #define ITKPIXENCODER_H 
   27         ITkPixEncoder(
const bool enableChipID = 
true, 
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;}
 
   48         void encodeQCore(
const unsigned nCCol, 
const unsigned nQRow) 
const;
 
   58         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
ITkPixEncoder(const bool enableChipID=true, 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 setChipID(const uint8_t &chipID)
void setHitMap(const HitMap &hitMap) const
unsigned m_nEventsPerStream
std::vector< uint32_t > m_words ATLAS_THREAD_SAFE
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.