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

#include <DigitIOV2.h>

Inherits o2::mch::io::impl::DigitSinkImpl.

Public Member Functions

bool write (std::ostream &out, gsl::span< const Digit > digits, gsl::span< const ROFRecord > rofs) override
 
- Public Member Functions inherited from o2::mch::io::impl::DigitSinkImpl
virtual ~DigitSinkImpl ()=default
 

Public Attributes

bool mBinary
 

Detailed Description

Writer for digit file format 0

Definition at line 46 of file DigitIOV2.h.

Member Function Documentation

◆ write()

bool o2::mch::io::impl::DigitSinkV2::write ( std::ostream &  out,
gsl::span< const Digit digits,
gsl::span< const ROFRecord rofs 
)
overridevirtual

write rofs, digits at the current position in the output stream

Parameters
digitsvector of Digits, must not be empty
rofsvector of ROFRecord, might be empty
Returns
true if writing was successull, false otherwise

Implements o2::mch::io::impl::DigitSinkImpl.

Definition at line 85 of file DigitIOV2.cxx.

Member Data Documentation

◆ mBinary

bool o2::mch::io::impl::DigitSinkV2::mBinary

Definition at line 57 of file DigitIOV2.h.


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