ATLAS Offline Software
Loading...
Searching...
No Matches
PixelCallbacks::TestEventCallback Class Reference

#include <ITkPixelDecodingAlg.h>

Collaboration diagram for PixelCallbacks::TestEventCallback:

Public Member Functions

 TestEventCallback (MsgStream &src)
 ~TestEventCallback ()=default
void evt_init (uint8_t tag)
void evt_next (uint8_t tag)
void evt_done ()
void add_hit (uint16_t col, uint16_t row, uint16_t tot)
void add_hmap (uint8_t qcol, uint8_t qrow, uint16_t hmap, uint64_t tots)
void add_qcore (uint8_t qcol, uint8_t qrow, uint64_t qtot)
uint8_t on_error (itksw::pix::endec::intf::EventError error)

Public Attributes

MsgStream & m_msg_source

Detailed Description

Definition at line 145 of file ITkPixelDecodingAlg.h.

Constructor & Destructor Documentation

◆ TestEventCallback()

PixelCallbacks::TestEventCallback::TestEventCallback ( MsgStream & src)
inline

Definition at line 147 of file ITkPixelDecodingAlg.h.

◆ ~TestEventCallback()

PixelCallbacks::TestEventCallback::~TestEventCallback ( )
default

Member Function Documentation

◆ add_hit()

void PixelCallbacks::TestEventCallback::add_hit ( uint16_t col,
uint16_t row,
uint16_t tot )
inline

Definition at line 162 of file ITkPixelDecodingAlg.h.

162 {
163 m_msg_source << MSG::DEBUG << "add_hit(" << col << "," << row << "," << tot << ")" << std::endl;
164 }
row
Appending html table to final .html summary file.

◆ add_hmap()

void PixelCallbacks::TestEventCallback::add_hmap ( uint8_t qcol,
uint8_t qrow,
uint16_t hmap,
uint64_t tots )
inline

Definition at line 166 of file ITkPixelDecodingAlg.h.

166 {
167 m_msg_source << MSG::DEBUG << "add_hmap(qcol=" << qcol << ",qrow=" << qrow
168 << ",hmap=" << hmap << ",tots=" << tots << ")" << std::endl;
169 }

◆ add_qcore()

void PixelCallbacks::TestEventCallback::add_qcore ( uint8_t qcol,
uint8_t qrow,
uint64_t qtot )
inline

Definition at line 171 of file ITkPixelDecodingAlg.h.

171 {
172 m_msg_source << MSG::DEBUG << "add_qcore(qcol=" << qcol << ",qrow=" << qrow
173 << ",qtot=" << qtot << ")" << std::endl;
174 }

◆ evt_done()

void PixelCallbacks::TestEventCallback::evt_done ( )
inline

Definition at line 158 of file ITkPixelDecodingAlg.h.

158 {
159 m_msg_source << MSG::DEBUG << "evt_done()" << std::endl;
160 }

◆ evt_init()

void PixelCallbacks::TestEventCallback::evt_init ( uint8_t tag)
inline

Definition at line 150 of file ITkPixelDecodingAlg.h.

150 {
151 m_msg_source << MSG::DEBUG << "evt_init(" << tag << ")" << std::endl;
152 }

◆ evt_next()

void PixelCallbacks::TestEventCallback::evt_next ( uint8_t tag)
inline

Definition at line 154 of file ITkPixelDecodingAlg.h.

154 {
155 m_msg_source << MSG::DEBUG << "evt_next(" << tag << ")" << std::endl;
156 }

◆ on_error()

uint8_t PixelCallbacks::TestEventCallback::on_error ( itksw::pix::endec::intf::EventError error)
inline

Definition at line 176 of file ITkPixelDecodingAlg.h.

176 {
177 m_msg_source << MSG::DEBUG << "on_error(" << error.code << ")" << std::endl;
178 return 0;
179 }

Member Data Documentation

◆ m_msg_source

MsgStream& PixelCallbacks::TestEventCallback::m_msg_source

Definition at line 181 of file ITkPixelDecodingAlg.h.


The documentation for this class was generated from the following file: