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 144 of file ITkPixelDecodingAlg.h.

Constructor & Destructor Documentation

◆ TestEventCallback()

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

Definition at line 146 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 161 of file ITkPixelDecodingAlg.h.

161 {
162 m_msg_source << MSG::DEBUG << "add_hit(" << col << "," << row << "," << tot << ")" << std::endl;
163 }
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 165 of file ITkPixelDecodingAlg.h.

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

◆ add_qcore()

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

Definition at line 170 of file ITkPixelDecodingAlg.h.

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

◆ evt_done()

void PixelCallbacks::TestEventCallback::evt_done ( )
inline

Definition at line 157 of file ITkPixelDecodingAlg.h.

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

◆ evt_init()

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

Definition at line 149 of file ITkPixelDecodingAlg.h.

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

◆ evt_next()

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

Definition at line 153 of file ITkPixelDecodingAlg.h.

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

◆ on_error()

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

Definition at line 175 of file ITkPixelDecodingAlg.h.

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

Member Data Documentation

◆ m_msg_source

MsgStream& PixelCallbacks::TestEventCallback::m_msg_source

Definition at line 180 of file ITkPixelDecodingAlg.h.


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