![]() |
ATLAS Offline Software
|
#include <ITkPixEncoder.h>
Public Types | |
| typedef ITkPixLayout< uint16_t > | HitMap |
Public Member Functions | |
| 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) | |
| std::vector< uint32_t > & | getWords () |
| void | addBits64 (const uint64_t value, const uint8_t length) const |
| void | setHitMap (const HitMap &hitMap) const |
| void | setEventsPerStream (const unsigned nEventsPerStream=16) |
| void | setChipID (const uint8_t &chipID) |
| void | clear () const |
Protected Member Functions | |
| void | pushWords32 () const |
| void | encodeQCore (const unsigned nCCol, const unsigned nQRow) const |
| void | encodeEvent () const |
| void | streamTag (const uint8_t nStream) const |
| void | intTag (const uint16_t nEvt) const |
| void | scanHitMap () const |
| bool | hitInQCore (const unsigned CCol, const unsigned QRow) const |
Protected Attributes | |
| unsigned | m_nCol {400} |
| unsigned | m_nRow {384} |
| unsigned | m_nCCol {50} |
| unsigned | m_nQRow {192} |
| unsigned | m_nColInCCol {8} |
| unsigned | m_nRowInQRow {2} |
| std::vector< uint32_t > m_words | ATLAS_THREAD_SAFE |
| unsigned | m_nEventsPerStream |
| unsigned m_currCCol | ATLAS_THREAD_SAFE {} |
| unsigned m_currCCol m_currQRow | ATLAS_THREAD_SAFE {} |
| unsigned m_currCCol m_currQRow m_currEvent | ATLAS_THREAD_SAFE {} |
| uint8_t m_currStream | ATLAS_THREAD_SAFE {} |
| uint64_t m_currBlock | ATLAS_THREAD_SAFE {} |
| uint8_t m_currBit | ATLAS_THREAD_SAFE {} |
| std::vector< std::vector< bool > > m_hitQCores | ATLAS_THREAD_SAFE |
| std::vector< unsigned > m_lastQRow | ATLAS_THREAD_SAFE |
| bool | m_enableChipID {} |
| bool | m_plainHitMap {} |
| bool | m_dropToT {} |
| size_t | m_bitsPerWord |
| uint8_t | m_chipID = 0b00 |
| HitMap m_hitMap | ATLAS_THREAD_SAFE |
| std::mutex | m_mutex |
Definition at line 23 of file ITkPixEncoder.h.
| typedef ITkPixLayout<uint16_t> ITkPixEncoder::HitMap |
Definition at line 25 of file ITkPixEncoder.h.
| ITkPixEncoder::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 ) |
Definition at line 20 of file ITkPixEncoder.cxx.
Definition at line 29 of file ITkPixEncoder.cxx.
| void ITkPixEncoder::clear | ( | ) | const |
Definition at line 231 of file ITkPixEncoder.cxx.
|
protected |
Definition at line 170 of file ITkPixEncoder.cxx.
Definition at line 92 of file ITkPixEncoder.cxx.
|
inline |
Definition at line 32 of file ITkPixEncoder.h.
Definition at line 132 of file ITkPixEncoder.cxx.
|
protected |
Definition at line 217 of file ITkPixEncoder.cxx.
|
protected |
Definition at line 75 of file ITkPixEncoder.cxx.
|
protected |
Definition at line 147 of file ITkPixEncoder.cxx.
| void ITkPixEncoder::setChipID | ( | const uint8_t & | chipID | ) |
Definition at line 227 of file ITkPixEncoder.cxx.
|
inline |
Definition at line 38 of file ITkPixEncoder.h.
Definition at line 36 of file ITkPixEncoder.h.
|
protected |
Definition at line 209 of file ITkPixEncoder.cxx.
|
mutableprotected |
Definition at line 82 of file ITkPixEncoder.h.
|
mutableprotected |
Definition at line 74 of file ITkPixEncoder.h.
|
mutableprotected |
Definition at line 73 of file ITkPixEncoder.h.
|
mutableprotected |
Definition at line 72 of file ITkPixEncoder.h.
|
mutableprotected |
Definition at line 71 of file ITkPixEncoder.h.
|
mutableprotected |
Definition at line 68 of file ITkPixEncoder.h.
|
mutableprotected |
Definition at line 67 of file ITkPixEncoder.h.
|
protected |
Definition at line 67 of file ITkPixEncoder.h.
|
protected |
Definition at line 67 of file ITkPixEncoder.h.
|
mutableprotected |
Definition at line 65 of file ITkPixEncoder.h.
|
protected |
Definition at line 78 of file ITkPixEncoder.h.
|
protected |
Definition at line 79 of file ITkPixEncoder.h.
|
protected |
Definition at line 77 of file ITkPixEncoder.h.
|
protected |
Definition at line 77 of file ITkPixEncoder.h.
|
mutableprotected |
Definition at line 84 of file ITkPixEncoder.h.
|
protected |
Definition at line 62 of file ITkPixEncoder.h.
|
protected |
Definition at line 62 of file ITkPixEncoder.h.
|
protected |
Definition at line 62 of file ITkPixEncoder.h.
|
protected |
Definition at line 66 of file ITkPixEncoder.h.
|
protected |
Definition at line 62 of file ITkPixEncoder.h.
|
protected |
Definition at line 62 of file ITkPixEncoder.h.
|
protected |
Definition at line 62 of file ITkPixEncoder.h.
|
protected |
Definition at line 77 of file ITkPixEncoder.h.