Project
Loading...
Searching...
No Matches
o2::itsmft::MC2RawEncoder< Mapping > Class Template Reference

#include <MC2RawEncoder.h>

Public Member Functions

 MC2RawEncoder ()
 
 ~MC2RawEncoder ()
 
void digits2raw (gsl::span< const Digit > digits, const o2::InteractionRecord &bcData)
 
void finalize ()
 
void init ()
 
RUDecodeDatagetCreateRUDecode (int ruSW)
 
RUDecodeDatagetRUDecode (int ruSW)
 
void setVerbosity (int v)
 
int getVerbosity () const
 
MappinggetMapping ()
 
void setMinMaxRUSW (uint8_t ruMin, uint8_t ruMax)
 
int getRUSWMin () const
 
int getRUSWMax () const
 
void setContinuousReadout (bool v)
 
bool isContinuousReadout () const
 
o2::raw::RawFileWritergetWriter ()
 
std::string getDefaultSinkName () const
 
void setDefaultSinkName (const std::string &nm)
 
int carryOverMethod (const o2::header::RDHAny *rdh, const gsl::span< char > data, const char *ptr, int maxSize, int splitID, std::vector< char > &trailer, std::vector< char > &header) const
 
void newRDHMethod (const header::RDHAny *rdh, bool empty, std::vector< char > &toAdd) const
 
int addGBTLink ()
 
GBTLinkgetGBTLink (int i)
 
const GBTLinkgetGBTLink (int i) const
 

Detailed Description

template<class Mapping>
class o2::itsmft::MC2RawEncoder< Mapping >

Definition at line 35 of file MC2RawEncoder.h.

Constructor & Destructor Documentation

◆ MC2RawEncoder()

template<class Mapping >
o2::itsmft::MC2RawEncoder< Mapping >::MC2RawEncoder ( )
inline

Definition at line 40 of file MC2RawEncoder.h.

◆ ~MC2RawEncoder()

template<class Mapping >
o2::itsmft::MC2RawEncoder< Mapping >::~MC2RawEncoder ( )
inline

Definition at line 45 of file MC2RawEncoder.h.

Member Function Documentation

◆ addGBTLink()

template<class Mapping >
int o2::itsmft::MC2RawEncoder< Mapping >::addGBTLink ( )
inline

Definition at line 95 of file MC2RawEncoder.h.

◆ carryOverMethod()

template<class Mapping >
int MC2RawEncoder::carryOverMethod ( const o2::header::RDHAny rdh,
const gsl::span< char data,
const char ptr,
int  maxSize,
int  splitID,
std::vector< char > &  trailer,
std::vector< char > &  header 
) const

Definition at line 248 of file MC2RawEncoder.cxx.

◆ digits2raw()

template<class Mapping >
void MC2RawEncoder::digits2raw ( gsl::span< const Digit digits,
const o2::InteractionRecord bcData 
)

Definition at line 87 of file MC2RawEncoder.cxx.

◆ finalize()

template<class Mapping >
void MC2RawEncoder::finalize ( )

Definition at line 80 of file MC2RawEncoder.cxx.

◆ getCreateRUDecode()

template<class Mapping >
RUDecodeData & MC2RawEncoder::getCreateRUDecode ( int  ruSW)

Definition at line 234 of file MC2RawEncoder.cxx.

◆ getDefaultSinkName()

template<class Mapping >
std::string o2::itsmft::MC2RawEncoder< Mapping >::getDefaultSinkName ( ) const
inline

Definition at line 81 of file MC2RawEncoder.h.

◆ getGBTLink() [1/2]

template<class Mapping >
GBTLink * o2::itsmft::MC2RawEncoder< Mapping >::getGBTLink ( int  i)
inline

Definition at line 103 of file MC2RawEncoder.h.

◆ getGBTLink() [2/2]

template<class Mapping >
const GBTLink * o2::itsmft::MC2RawEncoder< Mapping >::getGBTLink ( int  i) const
inline

Definition at line 104 of file MC2RawEncoder.h.

◆ getMapping()

template<class Mapping >
Mapping & o2::itsmft::MC2RawEncoder< Mapping >::getMapping ( )
inline

Definition at line 65 of file MC2RawEncoder.h.

◆ getRUDecode()

template<class Mapping >
RUDecodeData * o2::itsmft::MC2RawEncoder< Mapping >::getRUDecode ( int  ruSW)
inline

Definition at line 56 of file MC2RawEncoder.h.

◆ getRUSWMax()

template<class Mapping >
int o2::itsmft::MC2RawEncoder< Mapping >::getRUSWMax ( ) const
inline

Definition at line 74 of file MC2RawEncoder.h.

◆ getRUSWMin()

template<class Mapping >
int o2::itsmft::MC2RawEncoder< Mapping >::getRUSWMin ( ) const
inline

Definition at line 73 of file MC2RawEncoder.h.

◆ getVerbosity()

template<class Mapping >
int o2::itsmft::MC2RawEncoder< Mapping >::getVerbosity ( ) const
inline

Definition at line 63 of file MC2RawEncoder.h.

◆ getWriter()

template<class Mapping >
o2::raw::RawFileWriter & o2::itsmft::MC2RawEncoder< Mapping >::getWriter ( )
inline

Definition at line 79 of file MC2RawEncoder.h.

◆ init()

template<class Mapping >
void MC2RawEncoder::init ( )

Definition at line 23 of file MC2RawEncoder.cxx.

◆ isContinuousReadout()

template<class Mapping >
bool o2::itsmft::MC2RawEncoder< Mapping >::isContinuousReadout ( ) const
inline

Definition at line 77 of file MC2RawEncoder.h.

◆ newRDHMethod()

template<class Mapping >
void MC2RawEncoder::newRDHMethod ( const header::RDHAny rdh,
bool  empty,
std::vector< char > &  toAdd 
) const

Definition at line 329 of file MC2RawEncoder.cxx.

◆ setContinuousReadout()

template<class Mapping >
void o2::itsmft::MC2RawEncoder< Mapping >::setContinuousReadout ( bool  v)
inline

Definition at line 76 of file MC2RawEncoder.h.

◆ setDefaultSinkName()

template<class Mapping >
void o2::itsmft::MC2RawEncoder< Mapping >::setDefaultSinkName ( const std::string &  nm)
inline

Definition at line 82 of file MC2RawEncoder.h.

◆ setMinMaxRUSW()

template<class Mapping >
void o2::itsmft::MC2RawEncoder< Mapping >::setMinMaxRUSW ( uint8_t  ruMin,
uint8_t  ruMax 
)
inline

Definition at line 67 of file MC2RawEncoder.h.

◆ setVerbosity()

template<class Mapping >
void o2::itsmft::MC2RawEncoder< Mapping >::setVerbosity ( int  v)
inline

Definition at line 58 of file MC2RawEncoder.h.


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