![]() |
Project
|
Container class for Digits, MC lebels, and trigger records. More...
#include <DigitsVectorStream.h>
Public Member Functions | |
| DigitsVectorStream ()=default | |
| Default constructor. | |
| ~DigitsVectorStream ()=default | |
| Destructor. | |
| void | clear () |
| clear the container | |
| void | init () |
| Initialize the streamer. | |
| void | fill (std::deque< o2::emcal::DigitTimebin > &digitlist, o2::InteractionRecord record) |
| Fill all the containers, digits, labels, and trigger records. | |
| const std::vector< o2::emcal::Digit > & | getDigits () const |
| Getters for the finals data vectors, digits vector, labels vector, and trigger records vector. | |
| const std::vector< o2::emcal::TriggerRecord > & | getTriggerRecords () const |
| const o2::dataformats::MCTruthContainer< o2::emcal::MCLabel > & | getMCLabels () const |
| void | doSimulateNoiseDigits (bool doNoise=true) |
| Flag whether to simulate noise to the digits. | |
| void | addNoiseDigits (LabeledDigit &d1) |
| Add noise to this digit. | |
| void | doRemoveDigitsBelowThreshold (bool doThreshold=true) |
| Remove digits below the threshold. | |
Container class for Digits, MC lebels, and trigger records.
Definition at line 42 of file DigitsVectorStream.h.
|
default |
Default constructor.
|
default |
Destructor.
| void DigitsVectorStream::addNoiseDigits | ( | LabeledDigit & | d1 | ) |
Add noise to this digit.
Definition at line 40 of file DigitsVectorStream.cxx.
| void DigitsVectorStream::clear | ( | ) |
clear the container
Definition at line 131 of file DigitsVectorStream.cxx.
|
inline |
Remove digits below the threshold.
Definition at line 72 of file DigitsVectorStream.h.
|
inline |
Flag whether to simulate noise to the digits.
Definition at line 67 of file DigitsVectorStream.h.
| void DigitsVectorStream::fill | ( | std::deque< o2::emcal::DigitTimebin > & | digitlist, |
| o2::InteractionRecord | record | ||
| ) |
Fill all the containers, digits, labels, and trigger records.
Definition at line 55 of file DigitsVectorStream.cxx.
|
inline |
Getters for the finals data vectors, digits vector, labels vector, and trigger records vector.
Definition at line 62 of file DigitsVectorStream.h.
|
inline |
Definition at line 64 of file DigitsVectorStream.h.
|
inline |
Definition at line 63 of file DigitsVectorStream.h.
| void DigitsVectorStream::init | ( | ) |
Initialize the streamer.
Definition at line 26 of file DigitsVectorStream.cxx.