Project
Loading...
Searching...
No Matches
o2::mid::Encoder Class Reference

#include <Encoder.h>

Public Member Functions

void init (std::string_view outDir=".", std::string_view fileFor="all", int verbosity=0, std::vector< ROBoardConfig > configurations=makeDefaultROBoardConfig())
 
void process (gsl::span< const ColumnData > data, InteractionRecord ir, EventType eventType=EventType::Standard)
 
void setSuperpageSize (int maxSize)
 Sets the maximum size of the superpage.
 
void finalize (bool closeFile=true)
 
auto & getWriter ()
 
void emptyHBFMethod (const o2::header::RDHAny *rdh, std::vector< char > &toAdd) const
 

Detailed Description

Definition at line 41 of file Encoder.h.

Member Function Documentation

◆ emptyHBFMethod()

void o2::mid::Encoder::emptyHBFMethod ( const o2::header::RDHAny rdh,
std::vector< char > &  toAdd 
) const

Response to orbit triggers in empty HBFs

Definition at line 84 of file Encoder.cxx.

◆ finalize()

void o2::mid::Encoder::finalize ( bool  closeFile = true)

Writes remaining data and closes the file

Definition at line 131 of file Encoder.cxx.

◆ getWriter()

auto & o2::mid::Encoder::getWriter ( )
inline

Definition at line 51 of file Encoder.h.

◆ init()

void o2::mid::Encoder::init ( std::string_view  outDir = ".",
std::string_view  fileFor = "all",
int  verbosity = 0,
std::vector< ROBoardConfig configurations = makeDefaultROBoardConfig() 
)

Initializes links

Definition at line 30 of file Encoder.cxx.

◆ process()

void o2::mid::Encoder::process ( gsl::span< const ColumnData data,
InteractionRecord  ir,
EventType  eventType = EventType::Standard 
)

Encodes data

Definition at line 150 of file Encoder.cxx.

◆ setSuperpageSize()

void o2::mid::Encoder::setSuperpageSize ( int  maxSize)
inline

Sets the maximum size of the superpage.

Definition at line 47 of file Encoder.h.


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