CbmRoot
CbmLitFindGlobalTracks Class Reference

#include <CbmLitFindGlobalTracks.h>

Inheritance diagram for CbmLitFindGlobalTracks:
[legend]
Collaboration diagram for CbmLitFindGlobalTracks:
[legend]

Public Member Functions

 CbmLitFindGlobalTracks ()
 Constructor. More...
 
virtual ~CbmLitFindGlobalTracks ()
 Destructor. More...
 
virtual InitStatus Init ()
 Inherited from FairTask. More...
 
virtual void Exec (Option_t *opt)
 Inherited from FairTask. More...
 
virtual void Finish ()
 Inherited from FairTask. More...
 
virtual void SetParContainers ()
 Inherited from FairTask. More...
 
void SetTrackingType (const string &trackingType)
 
void SetMergerType (const string &mergerType)
 
void SetFitterType (const string &fitterType)
 

Private Member Functions

void InitTrackReconstruction ()
 Create and initialize track finder and track merger objects. More...
 
void ConvertInputData (CbmEvent *event)
 Convert input data from CBMROOT data classes to LIT data classes. More...
 
void ConvertOutputData (CbmEvent *event)
 Convert output data LIT data classes to CBMROOT data classes. More...
 
void CalculateLength (CbmEvent *event)
 
void CalculatePrimaryVertexParameters (CbmEvent *event)
 
void ClearArrays ()
 Clear arrays and frees the memory. More...
 
void ReadInputBranches ()
 Accesses input data branches (hits, tracks, events) from the tree. More...
 
void RegisterOutputBranches ()
 Register output data branches (tracks) to the tree. More...
 
void RunTrackReconstruction ()
 Run the track reconstruction. More...
 
void PrintStopwatchStatistics ()
 Print output stopwatch statistics for track-finder and hit-to-track merger. More...
 
void SelectTracksForTofMerging ()
 Select tracks for further merging with TOF. More...
 
 CbmLitFindGlobalTracks (const CbmLitFindGlobalTracks &)
 
CbmLitFindGlobalTracksoperator= (const CbmLitFindGlobalTracks &)
 
 ClassDef (CbmLitFindGlobalTracks, 1)
 

Private Attributes

CbmLitDetectorSetup fDet
 
TClonesArray * fMvdHits
 
TClonesArray * fStsTracks
 
TClonesArray * fStsHits
 
TClonesArray * fMuchPixelHits
 
TClonesArray * fTrdHits
 
TClonesArray * fTofHits
 
TClonesArray * fEvents
 
TClonesArray * fMuchTracks
 
TClonesArray * fTrdTracks
 
TClonesArray * fTofTracks
 
TClonesArray * fGlobalTracks
 
CbmVertexfPrimVertex
 
TrackPtrVector fLitStsTracks
 
HitPtrVector fLitHits
 
HitPtrVector fLitTofHits
 
TrackPtrVector fLitOutputTracks
 
TofTrackPtrVector fLitOutputTofTracks
 
TrackFinderPtr fFinder
 
HitToTrackMergerPtr fMerger
 
TrackFitterPtr fFitter
 
TrackPropagatorPtr fPropagator
 
string fTrackingType
 
string fMergerType
 
string fFitterType
 
TStopwatch fTrackingWatch
 
TStopwatch fMergerWatch
 
Int_t fEventNo
 

Detailed Description

Definition at line 39 of file CbmLitFindGlobalTracks.h.

Constructor & Destructor Documentation

◆ CbmLitFindGlobalTracks() [1/2]

CbmLitFindGlobalTracks::CbmLitFindGlobalTracks ( )

Constructor.

CbmLitFindGlobalTracks.cxx

Author
Andrey Lebedev andre.nosp@m.y.le.nosp@m.bedev.nosp@m.@gsi.nosp@m..de
Since
2009
Version
1.0

Definition at line 35 of file CbmLitFindGlobalTracks.cxx.

◆ ~CbmLitFindGlobalTracks()

CbmLitFindGlobalTracks::~CbmLitFindGlobalTracks ( )
virtual

Destructor.

Definition at line 78 of file CbmLitFindGlobalTracks.cxx.

◆ CbmLitFindGlobalTracks() [2/2]

CbmLitFindGlobalTracks::CbmLitFindGlobalTracks ( const CbmLitFindGlobalTracks )
private

Member Function Documentation

◆ CalculateLength()

◆ CalculatePrimaryVertexParameters()

void CbmLitFindGlobalTracks::CalculatePrimaryVertexParameters ( CbmEvent event)
private

◆ ClassDef()

CbmLitFindGlobalTracks::ClassDef ( CbmLitFindGlobalTracks  ,
 
)
private

◆ ClearArrays()

void CbmLitFindGlobalTracks::ClearArrays ( )
private

Clear arrays and frees the memory.

Definition at line 505 of file CbmLitFindGlobalTracks.cxx.

References fLitHits, fLitOutputTofTracks, fLitOutputTracks, fLitStsTracks, and fLitTofHits.

Referenced by Exec().

◆ ConvertInputData()

◆ ConvertOutputData()

void CbmLitFindGlobalTracks::ConvertOutputData ( CbmEvent event)
private

Convert output data LIT data classes to CBMROOT data classes.

Definition at line 330 of file CbmLitFindGlobalTracks.cxx.

References fGlobalTracks, fLitOutputTofTracks, fLitOutputTracks, fMuchTracks, fStsTracks, fTofTracks, fTrdTracks, and CbmLitConverter::LitTrackVectorToGlobalTrackArray().

Referenced by Exec().

◆ Exec()

void CbmLitFindGlobalTracks::Exec ( Option_t *  opt)
virtual

◆ Finish()

void CbmLitFindGlobalTracks::Finish ( )
virtual

Inherited from FairTask.

Definition at line 137 of file CbmLitFindGlobalTracks.cxx.

References PrintStopwatchStatistics().

◆ Init()

InitStatus CbmLitFindGlobalTracks::Init ( )
virtual

◆ InitTrackReconstruction()

◆ operator=()

CbmLitFindGlobalTracks& CbmLitFindGlobalTracks::operator= ( const CbmLitFindGlobalTracks )
private

◆ PrintStopwatchStatistics()

void CbmLitFindGlobalTracks::PrintStopwatchStatistics ( )
private

Print output stopwatch statistics for track-finder and hit-to-track merger.

Definition at line 591 of file CbmLitFindGlobalTracks.cxx.

References fMergerWatch, and fTrackingWatch.

Referenced by Finish().

◆ ReadInputBranches()

void CbmLitFindGlobalTracks::ReadInputBranches ( )
private

Accesses input data branches (hits, tracks, events) from the tree.

Definition at line 139 of file CbmLitFindGlobalTracks.cxx.

References fDet, fEvents, fMuchPixelHits, fMvdHits, fPrimVertex, fStsHits, fStsTracks, fTofHits, fTrdHits, CbmLitDetectorSetup::GetDet(), kMuch, kMvd, kSts, kTof, kTrd, and CbmLitDetectorSetup::SetDet().

Referenced by Init().

◆ RegisterOutputBranches()

void CbmLitFindGlobalTracks::RegisterOutputBranches ( )
private

Register output data branches (tracks) to the tree.

Definition at line 220 of file CbmLitFindGlobalTracks.cxx.

References fDet, fGlobalTracks, fMuchTracks, fTofTracks, fTrdTracks, CbmLitDetectorSetup::GetDet(), kMuch, kTof, and kTrd.

Referenced by Init().

◆ RunTrackReconstruction()

void CbmLitFindGlobalTracks::RunTrackReconstruction ( )
private

◆ SelectTracksForTofMerging()

◆ SetFitterType()

void CbmLitFindGlobalTracks::SetFitterType ( const string &  fitterType)
inline

Definition at line 76 of file CbmLitFindGlobalTracks.h.

References fFitterType.

◆ SetMergerType()

void CbmLitFindGlobalTracks::SetMergerType ( const string &  mergerType)
inline

Definition at line 75 of file CbmLitFindGlobalTracks.h.

References fMergerType.

◆ SetParContainers()

void CbmLitFindGlobalTracks::SetParContainers ( )
virtual

Inherited from FairTask.

Definition at line 135 of file CbmLitFindGlobalTracks.cxx.

◆ SetTrackingType()

void CbmLitFindGlobalTracks::SetTrackingType ( const string &  trackingType)
inline

Definition at line 72 of file CbmLitFindGlobalTracks.h.

References fTrackingType.

Member Data Documentation

◆ fDet

◆ fEventNo

Int_t CbmLitFindGlobalTracks::fEventNo
private

Definition at line 187 of file CbmLitFindGlobalTracks.h.

Referenced by Exec().

◆ fEvents

TClonesArray* CbmLitFindGlobalTracks::fEvents
private

Definition at line 144 of file CbmLitFindGlobalTracks.h.

Referenced by Exec(), and ReadInputBranches().

◆ fFinder

TrackFinderPtr CbmLitFindGlobalTracks::fFinder
private

Definition at line 161 of file CbmLitFindGlobalTracks.h.

Referenced by InitTrackReconstruction(), and RunTrackReconstruction().

◆ fFitter

TrackFitterPtr CbmLitFindGlobalTracks::fFitter
private

Definition at line 163 of file CbmLitFindGlobalTracks.h.

Referenced by InitTrackReconstruction(), and RunTrackReconstruction().

◆ fFitterType

string CbmLitFindGlobalTracks::fFitterType
private

Definition at line 181 of file CbmLitFindGlobalTracks.h.

Referenced by InitTrackReconstruction(), and SetFitterType().

◆ fGlobalTracks

TClonesArray* CbmLitFindGlobalTracks::fGlobalTracks
private

◆ fLitHits

HitPtrVector CbmLitFindGlobalTracks::fLitHits
private

Definition at line 155 of file CbmLitFindGlobalTracks.h.

Referenced by ClearArrays(), ConvertInputData(), and RunTrackReconstruction().

◆ fLitOutputTofTracks

TofTrackPtrVector CbmLitFindGlobalTracks::fLitOutputTofTracks
private

◆ fLitOutputTracks

TrackPtrVector CbmLitFindGlobalTracks::fLitOutputTracks
private

◆ fLitStsTracks

TrackPtrVector CbmLitFindGlobalTracks::fLitStsTracks
private

Definition at line 154 of file CbmLitFindGlobalTracks.h.

Referenced by ClearArrays(), ConvertInputData(), and RunTrackReconstruction().

◆ fLitTofHits

HitPtrVector CbmLitFindGlobalTracks::fLitTofHits
private

Definition at line 156 of file CbmLitFindGlobalTracks.h.

Referenced by ClearArrays(), ConvertInputData(), and RunTrackReconstruction().

◆ fMerger

HitToTrackMergerPtr CbmLitFindGlobalTracks::fMerger
private

Definition at line 162 of file CbmLitFindGlobalTracks.h.

Referenced by InitTrackReconstruction(), and RunTrackReconstruction().

◆ fMergerType

string CbmLitFindGlobalTracks::fMergerType
private

Definition at line 177 of file CbmLitFindGlobalTracks.h.

Referenced by InitTrackReconstruction(), and SetMergerType().

◆ fMergerWatch

TStopwatch CbmLitFindGlobalTracks::fMergerWatch
private

◆ fMuchPixelHits

TClonesArray* CbmLitFindGlobalTracks::fMuchPixelHits
private

Definition at line 141 of file CbmLitFindGlobalTracks.h.

Referenced by CalculateLength(), ConvertInputData(), and ReadInputBranches().

◆ fMuchTracks

TClonesArray* CbmLitFindGlobalTracks::fMuchTracks
private

◆ fMvdHits

TClonesArray* CbmLitFindGlobalTracks::fMvdHits
private

Definition at line 138 of file CbmLitFindGlobalTracks.h.

Referenced by ReadInputBranches().

◆ fPrimVertex

CbmVertex* CbmLitFindGlobalTracks::fPrimVertex
private

◆ fPropagator

TrackPropagatorPtr CbmLitFindGlobalTracks::fPropagator
private

Definition at line 167 of file CbmLitFindGlobalTracks.h.

Referenced by InitTrackReconstruction().

◆ fStsHits

TClonesArray* CbmLitFindGlobalTracks::fStsHits
private

Definition at line 140 of file CbmLitFindGlobalTracks.h.

Referenced by CalculateLength(), and ReadInputBranches().

◆ fStsTracks

TClonesArray* CbmLitFindGlobalTracks::fStsTracks
private

◆ fTofHits

TClonesArray* CbmLitFindGlobalTracks::fTofHits
private

Definition at line 143 of file CbmLitFindGlobalTracks.h.

Referenced by CalculateLength(), ConvertInputData(), and ReadInputBranches().

◆ fTofTracks

TClonesArray* CbmLitFindGlobalTracks::fTofTracks
private

◆ fTrackingType

string CbmLitFindGlobalTracks::fTrackingType
private

Definition at line 173 of file CbmLitFindGlobalTracks.h.

Referenced by InitTrackReconstruction(), and SetTrackingType().

◆ fTrackingWatch

TStopwatch CbmLitFindGlobalTracks::fTrackingWatch
private

◆ fTrdHits

TClonesArray* CbmLitFindGlobalTracks::fTrdHits
private

Definition at line 142 of file CbmLitFindGlobalTracks.h.

Referenced by CalculateLength(), ConvertInputData(), and ReadInputBranches().

◆ fTrdTracks

TClonesArray* CbmLitFindGlobalTracks::fTrdTracks
private

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