Project
Loading...
Searching...
No Matches
o2::trackstudy::TPCRefitterSpec Class Referencefinal

Inherits o2::framework::Task.

Public Types

enum  StudyType { TPC = 0x1 , ITSTPC = 0x2 , Cosmics = 0x4 }
 
enum  WriterType { Streamer = 0x1 , TFVectors = 0x2 }
 

Public Member Functions

 TPCRefitterSpec (std::shared_ptr< DataRequest > dr, std::shared_ptr< o2::base::GRPGeomRequest > gr, const o2::tpc::CorrectionMapsLoaderGloOpts &sclOpts, GTrackID::mask_t src, bool useMC)
 
 ~TPCRefitterSpec () final=default
 
void init (InitContext &ic) final
 
void run (ProcessingContext &pc) final
 
void endOfStream (EndOfStreamContext &ec) final
 This is invoked whenever we have an EndOfStream event.
 
void finaliseCCDB (ConcreteDataMatcher &matcher, void *obj) final
 
void process (o2::globaltracking::RecoContainer &recoData)
 
bool getDCAs (const o2::track::TrackPar &track, float &dcar, float &dcaz)
 
- Public Member Functions inherited from o2::framework::Task
virtual ~Task ()
 
virtual void stop ()
 This is invoked on stop.
 

Detailed Description

Definition at line 54 of file TPCRefitter.cxx.

Member Enumeration Documentation

◆ StudyType

Enumerator
TPC 

TPConly.

ITSTPC 

TPC + ITS matched tracks.

Cosmics 

Cosmics.

Definition at line 57 of file TPCRefitter.cxx.

◆ WriterType

Enumerator
Streamer 

Write per track streamer information.

TFVectors 

Writer vectors per TF.

Definition at line 62 of file TPCRefitter.cxx.

Constructor & Destructor Documentation

◆ TPCRefitterSpec()

o2::trackstudy::TPCRefitterSpec::TPCRefitterSpec ( std::shared_ptr< DataRequest dr,
std::shared_ptr< o2::base::GRPGeomRequest gr,
const o2::tpc::CorrectionMapsLoaderGloOpts sclOpts,
GTrackID::mask_t  src,
bool  useMC 
)
inline

Definition at line 66 of file TPCRefitter.cxx.

◆ ~TPCRefitterSpec()

o2::trackstudy::TPCRefitterSpec::~TPCRefitterSpec ( )
finaldefault

Member Function Documentation

◆ endOfStream()

void o2::trackstudy::TPCRefitterSpec::endOfStream ( EndOfStreamContext context)
finalvirtual

This is invoked whenever we have an EndOfStream event.

Reimplemented from o2::framework::Task.

Definition at line 398 of file TPCRefitter.cxx.

◆ finaliseCCDB()

void o2::trackstudy::TPCRefitterSpec::finaliseCCDB ( ConcreteDataMatcher matcher,
void obj 
)
finalvirtual

This is invoked whenever a new CCDB object associated to a given ConcreteDataMatcher is deserialised

Reimplemented from o2::framework::Task.

Definition at line 408 of file TPCRefitter.cxx.

◆ getDCAs()

bool o2::trackstudy::TPCRefitterSpec::getDCAs ( const o2::track::TrackPar track,
float &  dcar,
float &  dcaz 
)

Definition at line 421 of file TPCRefitter.cxx.

◆ init()

void o2::trackstudy::TPCRefitterSpec::init ( InitContext context)
finalvirtual

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 141 of file TPCRefitter.cxx.

◆ process()

void o2::trackstudy::TPCRefitterSpec::process ( o2::globaltracking::RecoContainer recoData)

Definition at line 312 of file TPCRefitter.cxx.

◆ run()

void o2::trackstudy::TPCRefitterSpec::run ( ProcessingContext context)
finalvirtual

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

Implements o2::framework::Task.

Definition at line 189 of file TPCRefitter.cxx.


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