Project
Loading...
Searching...
No Matches
o2::tpc::TPCIntegrateIDCDevice Class Reference

#include <TPCIntegrateIDCSpec.h>

Inherits o2::framework::Task.

Public Types

enum class  IDCFormat : int { Sim = 0 , Real = 1 }
 

Public Member Functions

 TPCIntegrateIDCDevice (const std::vector< unsigned int > &sectors, const int nOrbitsPerIDCIntervall, const IDCFormat outputFormat, const bool debug)
 
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 init (InitContext &context)
 
virtual void finaliseCCDB (ConcreteDataMatcher &matcher, void *obj)
 
virtual void stop ()
 This is invoked on stop.
 

Static Public Member Functions

static constexpr header::DataDescription getDataDescription (const IDCFormat idcFormat)
 

Detailed Description

Definition at line 39 of file TPCIntegrateIDCSpec.h.

Member Enumeration Documentation

◆ IDCFormat

Enumerator
Sim 
Real 

Definition at line 43 of file TPCIntegrateIDCSpec.h.

Constructor & Destructor Documentation

◆ TPCIntegrateIDCDevice()

o2::tpc::TPCIntegrateIDCDevice::TPCIntegrateIDCDevice ( const std::vector< unsigned int > &  sectors,
const int  nOrbitsPerIDCIntervall,
const IDCFormat  outputFormat,
const bool  debug 
)
inline

Definition at line 48 of file TPCIntegrateIDCSpec.h.

Member Function Documentation

◆ endOfStream()

void o2::tpc::TPCIntegrateIDCDevice::endOfStream ( o2::framework::EndOfStreamContext context)
inlinefinalvirtual

This is invoked whenever we have an EndOfStream event.

Reimplemented from o2::framework::Task.

Definition at line 76 of file TPCIntegrateIDCSpec.h.

◆ getDataDescription()

static constexpr header::DataDescription o2::tpc::TPCIntegrateIDCDevice::getDataDescription ( const IDCFormat  idcFormat)
inlinestaticconstexpr

return the kind of the output for given type.

Parameters
idcFormattype of the IDC format

Definition at line 80 of file TPCIntegrateIDCSpec.h.

◆ run()

void o2::tpc::TPCIntegrateIDCDevice::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 55 of file TPCIntegrateIDCSpec.h.


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