CbmRoot
Loading...
Searching...
No Matches
CbmLitFindGlobalTracks Class Reference

#include <CbmLitFindGlobalTracks.h>

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

Public Member Functions

 CbmLitFindGlobalTracks ()
 Constructor.
 
virtual ~CbmLitFindGlobalTracks ()
 Destructor.
 
virtual InitStatus Init ()
 Inherited from FairTask.
 
virtual void Exec (Option_t *opt)
 Inherited from FairTask.
 
virtual void Finish ()
 Inherited from FairTask.
 
virtual void SetParContainers ()
 Inherited from FairTask.
 
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.
 
void ConvertInputData (CbmEvent *event)
 Convert input data from CBMROOT data classes to LIT data classes.
 
void ConvertOutputData (CbmEvent *event)
 Convert output data LIT data classes to CBMROOT data classes.
 
void CalculateLength (CbmEvent *event)
 
void CalculatePrimaryVertexParameters (CbmEvent *event)
 
void ClearArrays ()
 Clear arrays and frees the memory.
 
void ReadInputBranches ()
 Accesses input data branches (hits, tracks, events) from the tree.
 
void RegisterOutputBranches ()
 Register output data branches (tracks) to the tree.
 
void RunTrackReconstruction ()
 Run the track reconstruction.
 
void PrintStopwatchStatistics ()
 Print output stopwatch statistics for track-finder and hit-to-track merger.
 
void SelectTracksForTofMerging ()
 Select tracks for further merging with TOF.
 
 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
 
Long64_t fNofTs = 0
 
Long64_t fNofEvents = 0
 
Long64_t fNofStsTracks = 0
 
Long64_t fNofMuchHits = 0
 
Long64_t fNofTrdHits = 0
 
Long64_t fNofTofHits = 0
 
Long64_t fNofGlbTracks = 0
 
Double_t fTime = 0.
 
Long64_t fEventNo
 

Detailed Description

Definition at line 41 of file CbmLitFindGlobalTracks.h.

Constructor & Destructor Documentation

◆ CbmLitFindGlobalTracks() [1/2]

CbmLitFindGlobalTracks::CbmLitFindGlobalTracks ( )

Constructor.

Definition at line 49 of file CbmLitFindGlobalTracks.cxx.

◆ ~CbmLitFindGlobalTracks()

CbmLitFindGlobalTracks::~CbmLitFindGlobalTracks ( )
virtual

Destructor.

Definition at line 94 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 ,
1  )
private

◆ ClearArrays()

void CbmLitFindGlobalTracks::ClearArrays ( )
private

Clear arrays and frees the memory.

Definition at line 564 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 401 of file CbmLitFindGlobalTracks.cxx.

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

Referenced by Exec().

◆ Exec()

◆ Finish()

void CbmLitFindGlobalTracks::Finish ( )
virtual

◆ 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 634 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 213 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 298 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()

void CbmLitFindGlobalTracks::SelectTracksForTofMerging ( )
private

Select tracks for further merging with TOF.

Definition at line 619 of file CbmLitFindGlobalTracks.cxx.

References fLitOutputTracks, CbmLitTrack::GetQuality(), kLITBAD, kLITGOODMERGE, and CbmLitTrack::SetQuality().

Referenced by RunTrackReconstruction().

◆ 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

◆ SetParContainers()

void CbmLitFindGlobalTracks::SetParContainers ( )
virtual

Inherited from FairTask.

Definition at line 188 of file CbmLitFindGlobalTracks.cxx.

◆ SetTrackingType()

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

Member Data Documentation

◆ fDet

◆ fEventNo

Long64_t CbmLitFindGlobalTracks::fEventNo
private

Definition at line 196 of file CbmLitFindGlobalTracks.h.

Referenced by Exec().

◆ fEvents

TClonesArray* CbmLitFindGlobalTracks::fEvents
private

Definition at line 144 of file CbmLitFindGlobalTracks.h.

Referenced by Exec(), Finish(), 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

◆ fMuchTracks

TClonesArray* CbmLitFindGlobalTracks::fMuchTracks
private

◆ fMvdHits

TClonesArray* CbmLitFindGlobalTracks::fMvdHits
private

Definition at line 138 of file CbmLitFindGlobalTracks.h.

Referenced by ReadInputBranches().

◆ fNofEvents

Long64_t CbmLitFindGlobalTracks::fNofEvents = 0
private

Definition at line 189 of file CbmLitFindGlobalTracks.h.

Referenced by Exec(), and Finish().

◆ fNofGlbTracks

Long64_t CbmLitFindGlobalTracks::fNofGlbTracks = 0
private

Definition at line 194 of file CbmLitFindGlobalTracks.h.

Referenced by Exec(), and Finish().

◆ fNofMuchHits

Long64_t CbmLitFindGlobalTracks::fNofMuchHits = 0
private

Definition at line 191 of file CbmLitFindGlobalTracks.h.

Referenced by Exec(), and Finish().

◆ fNofStsTracks

Long64_t CbmLitFindGlobalTracks::fNofStsTracks = 0
private

Definition at line 190 of file CbmLitFindGlobalTracks.h.

Referenced by Exec(), and Finish().

◆ fNofTofHits

Long64_t CbmLitFindGlobalTracks::fNofTofHits = 0
private

Definition at line 193 of file CbmLitFindGlobalTracks.h.

Referenced by Exec(), and Finish().

◆ fNofTrdHits

Long64_t CbmLitFindGlobalTracks::fNofTrdHits = 0
private

Definition at line 192 of file CbmLitFindGlobalTracks.h.

Referenced by Exec(), and Finish().

◆ fNofTs

Long64_t CbmLitFindGlobalTracks::fNofTs = 0
private

Definition at line 188 of file CbmLitFindGlobalTracks.h.

Referenced by Exec(), and Finish().

◆ 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

◆ fTime

Double_t CbmLitFindGlobalTracks::fTime = 0.
private

Definition at line 195 of file CbmLitFindGlobalTracks.h.

Referenced by Exec(), and Finish().

◆ fTofHits

TClonesArray* CbmLitFindGlobalTracks::fTofHits
private

◆ 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

◆ fTrdTracks

TClonesArray* CbmLitFindGlobalTracks::fTrdTracks
private

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