#include <DigitSink.h>
Definition at line 32 of file DigitSink.h.
◆ DigitSink() [1/2]
o2::mch::io::DigitSink::DigitSink |
( |
std::ostream & |
os | ) |
|
Create a text digit writer
- Parameters
-
os | output stream to write to |
Definition at line 135 of file DigitSink.cxx.
◆ DigitSink() [2/2]
o2::mch::io::DigitSink::DigitSink |
( |
std::ostream & |
os, |
|
|
DigitFileFormat |
format, |
|
|
size_t |
maxSize = std::numeric_limits<size_t>::max() |
|
) |
| |
Create a binary digit writer
- Parameters
-
os | output stream to write to |
dff | the digit file format to be used |
maxSize | if not zero indicate that writing should stop past this size, expressed in KB. |
Definition at line 128 of file DigitSink.cxx.
◆ ~DigitSink()
o2::mch::io::DigitSink::~DigitSink |
( |
| ) |
|
|
default |
◆ write()
bool o2::mch::io::DigitSink::write |
( |
gsl::span< const Digit > |
digits, |
|
|
gsl::span< const ROFRecord > |
rofs = {} |
|
) |
| |
write rofs, digits at the current position in the output stream
- Parameters
-
digits | vector of Digits, must not be empty |
rofs | vector of ROFRecord, might be empty |
- Returns
- true if writing was successull, false otherwise
Definition at line 141 of file DigitSink.cxx.
The documentation for this class was generated from the following files:
- /home/runner/work/AliceO2/AliceO2/Detectors/MUON/MCH/DevIO/Digits/DigitSink.h
- /home/runner/work/AliceO2/AliceO2/Detectors/MUON/MCH/DevIO/Digits/DigitSink.cxx