Orion
high-rate readout
Public Types | Public Member Functions | Public Attributes | List of all members
itk::itkpix::endec::wrap::EncCore< T > Class Template Reference
Inheritance diagram for itk::itkpix::endec::wrap::EncCore< T >:
Inheritance graph
[legend]
Collaboration diagram for itk::itkpix::endec::wrap::EncCore< T >:
Collaboration graph
[legend]

Public Types

using OutputCallback = T::OutputCallback
 

Public Member Functions

 EncCore (Options opt, OutputCallback &cb_out)
 
void initialize () override
 Initialise encoder core.
 
void finalize () override
 Finalise encoder core.
 
void evt_init (uint8_t tag) override
 Init a new event. More...
 
void evt_next (uint8_t tag) override
 Complete the event and start the next one. More...
 
void evt_done () override
 Done event.
 
void add_hit (uint16_t col, uint16_t row, uint16_t tot) override
 Add hit. More...
 
void add_hmap (uint8_t qcol, uint8_t qrow, uint16_t hmap, uint64_t tots) override
 Add hitmap: hitmap is decoded, tots are not decoded. More...
 
void add_qcore (uint8_t qcol, uint8_t qrow, uint64_t qtot) override
 Add qcore: tots are decoded to 64 bit qtot, no-hit marked as 0xF. More...
 
- Public Member Functions inherited from itk::itkpix::endec::intf::EncCore
virtual ~EncCore ()=default
 Destructor.
 

Public Attributes

impl
 

Member Function Documentation

◆ add_hit()

template<typename T >
void itk::itkpix::endec::wrap::EncCore< T >::add_hit ( uint16_t  col,
uint16_t  row,
uint16_t  tot 
)
inlineoverridevirtual

Add hit.

Parameters
col- column
row- row
tot- tot

Implements itk::itkpix::endec::intf::EncCore.

◆ add_hmap()

template<typename T >
void itk::itkpix::endec::wrap::EncCore< T >::add_hmap ( uint8_t  qcol,
uint8_t  qrow,
uint16_t  hmap,
uint64_t  tots 
)
inlineoverridevirtual

Add hitmap: hitmap is decoded, tots are not decoded.

Parameters
qcol- hitmap column
qrow- hitmap row
hmap- decoded 16 bit hitmap
tots- undecoded ToT bits

Implements itk::itkpix::endec::intf::EncCore.

◆ add_qcore()

template<typename T >
void itk::itkpix::endec::wrap::EncCore< T >::add_qcore ( uint8_t  qcol,
uint8_t  qrow,
uint64_t  qtot 
)
inlineoverridevirtual

Add qcore: tots are decoded to 64 bit qtot, no-hit marked as 0xF.

Parameters
qcol- hitmap column
qrow- hitmap row
qtot- decoded 16x4 bits of ToT according to hitmap, no-hit marked as 0xF

Implements itk::itkpix::endec::intf::EncCore.

◆ evt_init()

template<typename T >
void itk::itkpix::endec::wrap::EncCore< T >::evt_init ( uint8_t  tag)
inlineoverridevirtual

Init a new event.

Parameters
tag- trigger tag

Implements itk::itkpix::endec::intf::EncCore.

◆ evt_next()

template<typename T >
void itk::itkpix::endec::wrap::EncCore< T >::evt_next ( uint8_t  tag)
inlineoverridevirtual

Complete the event and start the next one.

Parameters
tag- trigger tag

Implements itk::itkpix::endec::intf::EncCore.


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