Project
Loading...
Searching...
No Matches
o2::trd::TRDKrClsWriterTask Class Reference

#include <KrClusterWriterSpec.h>

Inherits o2::framework::Task.

Public Member Functions

 TRDKrClsWriterTask ()=default
 
void init (o2::framework::InitContext &ic) final
 
void createOutputFile (int runNumber, o2::framework::ProcessingContext &pc)
 
void writeToFile ()
 
void closeOutputFile ()
 
void run (o2::framework::ProcessingContext &pc) final
 
void endOfStream (o2::framework::EndOfStreamContext &ec) final
 This is invoked whenever we have an EndOfStream event.
 
- Public Member Functions inherited from o2::framework::Task
virtual ~Task ()
 
virtual void finaliseCCDB (ConcreteDataMatcher &matcher, void *obj)
 
virtual void stop ()
 This is invoked on stop.
 

Detailed Description

Definition at line 33 of file KrClusterWriterSpec.h.

Constructor & Destructor Documentation

◆ TRDKrClsWriterTask()

o2::trd::TRDKrClsWriterTask::TRDKrClsWriterTask ( )
default

Member Function Documentation

◆ closeOutputFile()

void o2::trd::TRDKrClsWriterTask::closeOutputFile ( )
inline

Definition at line 79 of file KrClusterWriterSpec.h.

◆ createOutputFile()

void o2::trd::TRDKrClsWriterTask::createOutputFile ( int  runNumber,
o2::framework::ProcessingContext pc 
)
inline

Definition at line 58 of file KrClusterWriterSpec.h.

◆ endOfStream()

void o2::trd::TRDKrClsWriterTask::endOfStream ( o2::framework::EndOfStreamContext context)
inlinefinalvirtual

This is invoked whenever we have an EndOfStream event.

Reimplemented from o2::framework::Task.

Definition at line 142 of file KrClusterWriterSpec.h.

◆ init()

void o2::trd::TRDKrClsWriterTask::init ( o2::framework::InitContext context)
inlinefinalvirtual

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 38 of file KrClusterWriterSpec.h.

◆ run()

void o2::trd::TRDKrClsWriterTask::run ( o2::framework::ProcessingContext context)
inlinefinalvirtual

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

Implements o2::framework::Task.

Definition at line 111 of file KrClusterWriterSpec.h.

◆ writeToFile()

void o2::trd::TRDKrClsWriterTask::writeToFile ( )
inline

Definition at line 70 of file KrClusterWriterSpec.h.


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