#include <ITkPixEncoder.h>
Definition at line 19 of file ITkPixEncoder.h.
◆ HitMap
◆ ITkPixEncoder()
ITkPixEncoder::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 |
|
) |
| |
◆ addBits64()
void ITkPixEncoder::addBits64 |
( |
const uint64_t |
value, |
|
|
const uint8_t |
length |
|
) |
| |
◆ encodeEvent()
void ITkPixEncoder::encodeEvent |
( |
| ) |
|
Definition at line 151 of file ITkPixEncoder.cxx.
156 for (
unsigned CCol = 0; CCol <
m_nCCol; CCol++){
162 int previousQRow = -666;
163 for (
unsigned QRow = 0; QRow <
m_nQRow; QRow++){
171 if (QRow == (
uint)previousQRow + 1){
◆ encodeQCore()
void ITkPixEncoder::encodeQCore |
( |
const unsigned |
nCCol, |
|
|
const unsigned |
nQRow |
|
) |
| |
Definition at line 78 of file ITkPixEncoder.cxx.
87 std::vector<uint16_t> tots;
93 lutIndex |= 0x1 <<
pix;
94 tots.push_back(
m_hitMap(pixCol, pixRow) - 1);
111 for (
auto& tot : tots){
◆ getWords()
std::vector<uint32_t>& ITkPixEncoder::getWords |
( |
| ) |
|
|
inline |
◆ hitInQCore()
bool ITkPixEncoder::hitInQCore |
( |
const unsigned |
CCol, |
|
|
const unsigned |
QRow |
|
) |
| |
◆ intTag()
void ITkPixEncoder::intTag |
( |
const uint16_t |
nEvt | ) |
|
◆ pushWords32()
void ITkPixEncoder::pushWords32 |
( |
| ) |
|
◆ scanHitMap()
void ITkPixEncoder::scanHitMap |
( |
| ) |
|
◆ setEventsPerStream()
void ITkPixEncoder::setEventsPerStream |
( |
const unsigned |
nEventsPerStream = 16 | ) |
|
|
inline |
◆ setHitMap()
◆ streamTag()
void ITkPixEncoder::streamTag |
( |
const uint8_t |
nStream | ) |
|
◆ m_currBit
uint8_t ITkPixEncoder::m_currBit {} |
|
protected |
◆ m_currBlock
uint64_t ITkPixEncoder::m_currBlock {} |
|
protected |
◆ m_currCCol
unsigned ITkPixEncoder::m_currCCol {} |
|
protected |
◆ m_currEvent
unsigned ITkPixEncoder::m_currEvent {} |
|
protected |
◆ m_currQRow
unsigned ITkPixEncoder::m_currQRow {} |
|
protected |
◆ m_currStream
uint8_t ITkPixEncoder::m_currStream {} |
|
protected |
◆ m_dropToT
bool ITkPixEncoder::m_dropToT {} |
|
protected |
◆ m_hitMap
HitMap ITkPixEncoder::m_hitMap |
|
protected |
◆ m_hitQCores
std::vector<std::vector<bool> > ITkPixEncoder::m_hitQCores |
|
protected |
◆ m_lastQRow
std::vector<unsigned> ITkPixEncoder::m_lastQRow |
|
protected |
◆ m_nCCol
unsigned ITkPixEncoder::m_nCCol {50} |
|
protected |
◆ m_nCol
unsigned ITkPixEncoder::m_nCol {400} |
|
protected |
◆ m_nColInCCol
unsigned ITkPixEncoder::m_nColInCCol {8} |
|
protected |
◆ m_nEventsPerStream
unsigned ITkPixEncoder::m_nEventsPerStream {} |
|
protected |
◆ m_nQRow
unsigned ITkPixEncoder::m_nQRow {192} |
|
protected |
◆ m_nRow
unsigned ITkPixEncoder::m_nRow {384} |
|
protected |
◆ m_nRowInQRow
unsigned ITkPixEncoder::m_nRowInQRow {2} |
|
protected |
◆ m_plainHitMap
bool ITkPixEncoder::m_plainHitMap {} |
|
protected |
◆ m_words
std::vector<uint32_t> ITkPixEncoder::m_words |
|
protected |
The documentation for this class was generated from the following files: