|
ATLAS Offline Software
|
Go to the documentation of this file.
16 const unsigned nRowInQRow,
const unsigned nEventsPerStream,
const bool plainHitMap,
17 const bool dropToT): m_nCol(nCol/nColInCCol), m_nRow(nRow/nRowInQRow),
18 m_nColInCCol(nColInCCol), m_nRowInQRow(nRowInQRow), m_nEventsPerStream(nEventsPerStream),
19 m_plainHitMap(plainHitMap), m_dropToT(dropToT){
61 addBits64((
value & (0xFFFFFFFFFFFFFFFF >> (64 - leftoverBits))), leftoverBits);
87 std::vector<uint16_t> tots;
93 lutIndex |= 0x1 <<
pix;
94 tots.push_back(
m_hitMap(pixCol, pixRow) - 1);
111 for (
auto&
tot : tots){
124 if (
m_hitMap(pixCol, pixRow))
return true;
136 for (
unsigned CCol = 0; CCol <
m_nCCol; CCol++){
137 for (
unsigned QRow = 0; QRow <
m_nQRow; QRow++){
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){
constexpr std::array< uint32_t, LookUpTableSize > ITkPixV2QCoreEncodingLUT_Length
void streamTag(const uint8_t nStream)
std::vector< unsigned > m_lastQRow
std::vector< std::vector< bool > > m_hitQCores
std::vector< uint32_t > m_words
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 encodeQCore(const unsigned nCCol, const unsigned nQRow)
void addBits64(const uint64_t value, const uint8_t length)
constexpr std::array< uint32_t, LookUpTableSize > ITkPixV2QCoreEncodingLUT_Tree