Project
Loading...
Searching...
No Matches
o2::mch::io::impl Namespace Reference

Classes

struct  DigitD0
 
struct  DigitSamplerImpl
 
class  DigitSamplerV0
 
class  DigitSamplerV1
 
class  DigitSamplerV2
 
class  DigitSamplerV3
 
class  DigitSamplerV4
 
struct  DigitSinkImpl
 
struct  DigitSinkV0
 
struct  DigitSinkV1
 
struct  DigitSinkV2
 
struct  DigitSinkV3
 
struct  DigitSinkV4
 
struct  ROFRecordR0
 

Functions

std::unique_ptr< DigitSamplerImplcreateDigitSamplerImpl (int version)
 
std::unique_ptr< DigitSinkImplcreateDigitSinkImpl (int version)
 
int readNofItems (std::istream &in, const char *itemName)
 
void writeNofItems (std::ostream &out, uint32_t nofItems)
 
int advance (std::istream &in, size_t itemByteSize, const char *itemName)
 
std::pair< int, intadvanceOneEvent (std::istream &in, int fileFormatVersion)
 
template<typename T >
bool writeBinaryStruct (std::ostream &os, gsl::span< const T > items)
 
template<typename T >
bool readBinaryStruct (std::istream &in, std::vector< T > &items, const char *itemName)
 

Function Documentation

◆ advance()

int o2::mch::io::impl::advance ( std::istream &  in,
size_t  itemByteSize,
const char itemName 
)

Definition at line 35 of file IO.cxx.

◆ advanceOneEvent()

std::pair< int, int > o2::mch::io::impl::advanceOneEvent ( std::istream &  in,
int  fileFormatVersion 
)

Definition at line 48 of file IO.cxx.

◆ createDigitSamplerImpl()

std::unique_ptr< DigitSamplerImpl > o2::mch::io::impl::createDigitSamplerImpl ( int  version)

Definition at line 26 of file DigitSamplerImpl.cxx.

◆ createDigitSinkImpl()

std::unique_ptr< DigitSinkImpl > o2::mch::io::impl::createDigitSinkImpl ( int  version)

Definition at line 22 of file DigitSinkImpl.cxx.

◆ readBinaryStruct()

template<typename T >
bool o2::mch::io::impl::readBinaryStruct ( std::istream &  in,
std::vector< T > &  items,
const char itemName 
)

Definition at line 35 of file IOStruct.h.

◆ readNofItems()

int o2::mch::io::impl::readNofItems ( std::istream &  in,
const char itemName 
)

Definition at line 20 of file IO.cxx.

◆ writeBinaryStruct()

template<typename T >
bool o2::mch::io::impl::writeBinaryStruct ( std::ostream &  os,
gsl::span< const T >  items 
)

Definition at line 23 of file IOStruct.h.

◆ writeNofItems()

void o2::mch::io::impl::writeNofItems ( std::ostream &  out,
uint32_t  nofItems 
)

Definition at line 30 of file IO.cxx.