Orion
high-rate readout
Public Member Functions | List of all members
itk::itkpix::endec::intf::EncCore Class Referenceabstract
Inheritance diagram for itk::itkpix::endec::intf::EncCore:
Inheritance graph
[legend]

Public Member Functions

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

Member Function Documentation

◆ add_hit()

virtual void itk::itkpix::endec::intf::EncCore::add_hit ( uint16_t  col,
uint16_t  row,
uint16_t  tot 
)
pure virtual

Add hit.

Parameters
col- column
row- row
tot- tot

Implemented in itk::itkpix::endec::wrap::EncCore< T >.

◆ add_hmap()

virtual void itk::itkpix::endec::intf::EncCore::add_hmap ( uint8_t  qcol,
uint8_t  qrow,
uint16_t  hmap,
uint64_t  tots 
)
pure virtual

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

Implemented in itk::itkpix::endec::wrap::EncCore< T >.

◆ add_qcore()

virtual void itk::itkpix::endec::intf::EncCore::add_qcore ( uint8_t  qcol,
uint8_t  qrow,
uint64_t  qtot 
)
pure virtual

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

Implemented in itk::itkpix::endec::wrap::EncCore< T >.

◆ evt_init()

virtual void itk::itkpix::endec::intf::EncCore::evt_init ( uint8_t  tag)
pure virtual

Init a new event.

Parameters
tag- trigger tag

Implemented in itk::itkpix::endec::wrap::EncCore< T >.

◆ evt_next()

virtual void itk::itkpix::endec::intf::EncCore::evt_next ( uint8_t  tag)
pure virtual

Complete the event and start the next one.

Parameters
tag- trigger tag

Implemented in itk::itkpix::endec::wrap::EncCore< T >.


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