![]() |
Project
|
#include <DigitsMerger.h>
Public Member Functions | |
void | process (const std::vector< ColumnData > &inDigitStore, const o2::dataformats::MCTruthContainer< MCLabel > &inMCContainer, const std::vector< ROFRecord > &inROFRecords, bool mergeInBunchPileup=true) |
Merges the MC digits that are provided per hit into the format that we expect from data. | |
void | process (gsl::span< const ColumnData > inDigitStore, gsl::span< const ROFRecord > inROFRecords, const o2::dataformats::MCTruthContainer< MCLabel > *inMCContainer=nullptr, bool mergeInBunchPileup=true) |
Merges the MC digits that are provided per hit into the format that we expect from data. | |
const std::vector< ColumnData > & | getColumnData () const |
Gets the merged column data. | |
const o2::dataformats::MCTruthContainer< MCLabel > & | getMCContainer () const |
Gets the merged MC labels. | |
const std::vector< ROFRecord > & | getROFRecords () const |
Gets the merged RO frame records. | |
Definition at line 31 of file DigitsMerger.h.
|
inline |
Gets the merged column data.
Definition at line 49 of file DigitsMerger.h.
|
inline |
Gets the merged MC labels.
Definition at line 51 of file DigitsMerger.h.
|
inline |
Gets the merged RO frame records.
Definition at line 53 of file DigitsMerger.h.
void o2::mid::DigitsMerger::process | ( | const std::vector< ColumnData > & | inDigitStore, |
const o2::dataformats::MCTruthContainer< MCLabel > & | inMCContainer, | ||
const std::vector< ROFRecord > & | inROFRecords, | ||
bool | mergeInBunchPileup = true |
||
) |
Merges the MC digits that are provided per hit into the format that we expect from data.
inDigitStore | Vector of input MC digits |
inMCContainer | Container with MC labels for input MC digits |
inROFRecords | Vector with RO frame records |
mergeInBunchPileup | Merge the digits coming from in-bunch pileup |
Definition at line 23 of file DigitsMerger.cxx.
void o2::mid::DigitsMerger::process | ( | gsl::span< const ColumnData > | inDigitStore, |
gsl::span< const ROFRecord > | inROFRecords, | ||
const o2::dataformats::MCTruthContainer< MCLabel > * | inMCContainer = nullptr , |
||
bool | mergeInBunchPileup = true |
||
) |
Merges the MC digits that are provided per hit into the format that we expect from data.
inDigitStore | Vector of input MC digits |
inROFRecords | Vector with RO frame records |
inMCContainer | Pointer to a container with MC labels for input MC digits (can be null) |
mergeInBunchPileup | Merge the digits coming from in-bunch pileup |
Definition at line 28 of file DigitsMerger.cxx.