Project
Loading...
Searching...
No Matches
o2::mid::DigitsMerger Class Reference

#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.
 

Detailed Description

Definition at line 31 of file DigitsMerger.h.

Member Function Documentation

◆ getColumnData()

const std::vector< ColumnData > & o2::mid::DigitsMerger::getColumnData ( ) const
inline

Gets the merged column data.

Definition at line 49 of file DigitsMerger.h.

◆ getMCContainer()

const o2::dataformats::MCTruthContainer< MCLabel > & o2::mid::DigitsMerger::getMCContainer ( ) const
inline

Gets the merged MC labels.

Definition at line 51 of file DigitsMerger.h.

◆ getROFRecords()

const std::vector< ROFRecord > & o2::mid::DigitsMerger::getROFRecords ( ) const
inline

Gets the merged RO frame records.

Definition at line 53 of file DigitsMerger.h.

◆ process() [1/2]

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.

Parameters
inDigitStoreVector of input MC digits
inMCContainerContainer with MC labels for input MC digits
inROFRecordsVector with RO frame records
mergeInBunchPileupMerge the digits coming from in-bunch pileup

Definition at line 23 of file DigitsMerger.cxx.

◆ process() [2/2]

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.

Parameters
inDigitStoreVector of input MC digits
inROFRecordsVector with RO frame records
inMCContainerPointer to a container with MC labels for input MC digits (can be null)
mergeInBunchPileupMerge the digits coming from in-bunch pileup

Definition at line 28 of file DigitsMerger.cxx.


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