Project
Loading...
Searching...
No Matches
o2::MCTruthSourceTask Class Reference

Inherits o2::framework::Task.

Public Member Functions

 MCTruthSourceTask (bool newmctruth)
 
void init (framework::InitContext &ic) override
 
void run (framework::ProcessingContext &pc) override
 
- Public Member Functions inherited from o2::framework::Task
virtual ~Task ()
 
virtual void endOfStream (EndOfStreamContext &context)
 This is invoked whenever we have an EndOfStream event.
 
virtual void finaliseCCDB (ConcreteDataMatcher &matcher, void *obj)
 
virtual void stop ()
 This is invoked on stop.
 

Detailed Description

Definition at line 27 of file MCTruthSourceSpec.cxx.

Constructor & Destructor Documentation

◆ MCTruthSourceTask()

o2::MCTruthSourceTask::MCTruthSourceTask ( bool  newmctruth)
inline

Definition at line 30 of file MCTruthSourceSpec.cxx.

Member Function Documentation

◆ init()

void o2::MCTruthSourceTask::init ( framework::InitContext context)
inlineoverridevirtual

The method which is called once to initialise the task. Derived classes can use this to save extra state.

Reimplemented from o2::framework::Task.

Definition at line 32 of file MCTruthSourceSpec.cxx.

◆ run()

void o2::MCTruthSourceTask::run ( framework::ProcessingContext context)
inlineoverridevirtual

This is invoked whenever a new InputRecord is demeed to be complete.

Implements o2::framework::Task.

Definition at line 38 of file MCTruthSourceSpec.cxx.


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