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

#include <TRDGlobalTrackingSpec.h>

Inherits o2::framework::Task.

Public Member Functions

 TRDGlobalTracking (bool useMC, bool withPID, PIDPolicy policy, std::shared_ptr< o2::globaltracking::DataRequest > dataRequest, std::shared_ptr< o2::base::GRPGeomRequest > gr, const o2::tpc::CorrectionMapsLoaderGloOpts &sclOpts, o2::dataformats::GlobalTrackID::mask_t src, bool trigRecFilterActive, bool strict)
 
 ~TRDGlobalTracking () override=default
 
void init (o2::framework::InitContext &ic) final
 
void fillMCTruthInfo (const TrackTRD &trk, o2::MCCompLabel lblSeed, std::vector< o2::MCCompLabel > &lblContainerTrd, std::vector< o2::MCCompLabel > &lblContainerMatch, const o2::dataformats::MCTruthContainer< o2::MCCompLabel > *trkltLabels) const
 
void fillTrackTriggerRecord (const std::vector< TrackTRD > &tracks, std::vector< TrackTriggerRecord > &trigRec, const gsl::span< const o2::trd::TriggerRecord > &trackletTrigRec) const
 
void run (o2::framework::ProcessingContext &pc) final
 
void finaliseCCDB (o2::framework::ConcreteDataMatcher &matcher, void *obj) final
 
bool refitITSTPCTRDTrack (TrackTRD &trk, float timeTRD, o2::globaltracking::RecoContainer *recoCont)
 
bool refitTPCTRDTrack (TrackTRD &trk, float timeTRD, o2::globaltracking::RecoContainer *recoCont)
 
bool refitTRDTrack (TrackTRD &trk, float &chi2, bool inwards, bool tpcSA)
 
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 stop ()
 This is invoked on stop.
 

Detailed Description

Definition at line 52 of file TRDGlobalTrackingSpec.h.

Constructor & Destructor Documentation

◆ TRDGlobalTracking()

o2::trd::TRDGlobalTracking::TRDGlobalTracking ( bool  useMC,
bool  withPID,
PIDPolicy  policy,
std::shared_ptr< o2::globaltracking::DataRequest dataRequest,
std::shared_ptr< o2::base::GRPGeomRequest gr,
const o2::tpc::CorrectionMapsLoaderGloOpts sclOpts,
o2::dataformats::GlobalTrackID::mask_t  src,
bool  trigRecFilterActive,
bool  strict 
)
inline

Definition at line 55 of file TRDGlobalTrackingSpec.h.

◆ ~TRDGlobalTracking()

o2::trd::TRDGlobalTracking::~TRDGlobalTracking ( )
overridedefault

Member Function Documentation

◆ endOfStream()

void o2::trd::TRDGlobalTracking::endOfStream ( o2::framework::EndOfStreamContext context)
finalvirtual

This is invoked whenever we have an EndOfStream event.

Reimplemented from o2::framework::Task.

Definition at line 846 of file TRDGlobalTrackingSpec.cxx.

◆ fillMCTruthInfo()

void o2::trd::TRDGlobalTracking::fillMCTruthInfo ( const TrackTRD trk,
o2::MCCompLabel  lblSeed,
std::vector< o2::MCCompLabel > &  lblContainerTrd,
std::vector< o2::MCCompLabel > &  lblContainerMatch,
const o2::dataformats::MCTruthContainer< o2::MCCompLabel > *  trkltLabels 
) const

Definition at line 203 of file TRDGlobalTrackingSpec.cxx.

◆ fillTrackTriggerRecord()

void o2::trd::TRDGlobalTracking::fillTrackTriggerRecord ( const std::vector< TrackTRD > &  tracks,
std::vector< TrackTriggerRecord > &  trigRec,
const gsl::span< const o2::trd::TriggerRecord > &  trackletTrigRec 
) const

Definition at line 251 of file TRDGlobalTrackingSpec.cxx.

◆ finaliseCCDB()

void o2::trd::TRDGlobalTracking::finaliseCCDB ( o2::framework::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 178 of file TRDGlobalTrackingSpec.cxx.

◆ init()

void o2::trd::TRDGlobalTracking::init ( o2::framework::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 77 of file TRDGlobalTrackingSpec.cxx.

◆ refitITSTPCTRDTrack()

bool o2::trd::TRDGlobalTracking::refitITSTPCTRDTrack ( TrackTRD trk,
float  timeTRD,
o2::globaltracking::RecoContainer recoCont 
)

Definition at line 555 of file TRDGlobalTrackingSpec.cxx.

◆ refitTPCTRDTrack()

bool o2::trd::TRDGlobalTracking::refitTPCTRDTrack ( TrackTRD trk,
float  timeTRD,
o2::globaltracking::RecoContainer recoCont 
)

Definition at line 687 of file TRDGlobalTrackingSpec.cxx.

◆ refitTRDTrack()

bool o2::trd::TRDGlobalTracking::refitTRDTrack ( TrackTRD trk,
float &  chi2,
bool  inwards,
bool  tpcSA 
)

Definition at line 753 of file TRDGlobalTrackingSpec.cxx.

◆ run()

void o2::trd::TRDGlobalTracking::run ( o2::framework::ProcessingContext context)
finalvirtual

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

Implements o2::framework::Task.

Definition at line 281 of file TRDGlobalTrackingSpec.cxx.


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