Project
Loading...
Searching...
No Matches
DigitsSinkTask Class Reference

Inherits o2::mch::io::DigitIOBaseTask.

Public Member Functions

 DigitsSinkTask (bool withOrbits)
 
void init (InitContext &ic)
 
void writeOrbits (gsl::span< const o2::mch::OrbitInfo > orbits)
 
void write (gsl::span< const o2::mch::Digit > digits, gsl::span< const o2::mch::ROFRecord > rofs, gsl::span< const o2::mch::OrbitInfo > orbits)
 
void run (ProcessingContext &pc)
 
- Public Member Functions inherited from o2::mch::io::DigitIOBaseTask
void init (o2::framework::InitContext &ic)
 
void printFull (gsl::span< const Digit > digits, gsl::span< const ROFRecord > rofs) const
 
void printSummary (gsl::span< const Digit > digits, gsl::span< const ROFRecord > rofs, const char *suffix="") const
 
bool shouldProcess () const
 
void incNofProcessedTFs ()
 
void incTFid ()
 

Additional Inherited Members

- Protected Attributes inherited from o2::mch::io::DigitIOBaseTask
size_t mMaxNofTimeFrames {std::numeric_limits<size_t>::max()}
 
size_t mNofProcessedTFs {0}
 
size_t mFirstTF {0}
 
size_t mTFid {0}
 
bool mPrintDigits = false
 
bool mPrintTFs = false
 

Detailed Description

Definition at line 61 of file digits-sink-workflow.cxx.

Constructor & Destructor Documentation

◆ DigitsSinkTask()

DigitsSinkTask::DigitsSinkTask ( bool  withOrbits)
inline

Definition at line 64 of file digits-sink-workflow.cxx.

Member Function Documentation

◆ init()

void DigitsSinkTask::init ( InitContext ic)
inline

init e.g. the options that are common to reading and writing like max number of timeframes to process, first time frame to process, etc...

Definition at line 67 of file digits-sink-workflow.cxx.

◆ run()

void DigitsSinkTask::run ( ProcessingContext pc)
inline

Definition at line 121 of file digits-sink-workflow.cxx.

◆ write()

void DigitsSinkTask::write ( gsl::span< const o2::mch::Digit digits,
gsl::span< const o2::mch::ROFRecord rofs,
gsl::span< const o2::mch::OrbitInfo orbits 
)
inline

Definition at line 110 of file digits-sink-workflow.cxx.

◆ writeOrbits()

void DigitsSinkTask::writeOrbits ( gsl::span< const o2::mch::OrbitInfo orbits)
inline

Definition at line 100 of file digits-sink-workflow.cxx.


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