CbmRoot
CbmLitFindGlobalTracksIdeal Class Reference

FairTask for ideal global track reconstruction. More...

#include <CbmLitFindGlobalTracksIdeal.h>

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

Public Member Functions

 CbmLitFindGlobalTracksIdeal ()
 
virtual ~CbmLitFindGlobalTracksIdeal ()
 
virtual InitStatus Init ()
 Derived from FairTask. More...
 
virtual void Exec (Option_t *opt)
 Derived from FairTask. More...
 

Private Member Functions

virtual void Finish ()
 Derived from FairTask. More...
 
void ReadDataBranches ()
 Read necessary data branches from the input data files. More...
 
void FillTrackMap (std::map< Int_t, Int_t > &mcMap, const TClonesArray *matches)
 Fill map from <MC track index> to <reconstructed track index>. More...
 
void FillMapTof ()
 Fill map from <MC track index> to <TOF hit index>. More...
 
void CreateGlobalTracks ()
 Create output CbmGlobalTracks and write them to output array. More...
 
 CbmLitFindGlobalTracksIdeal (const CbmLitFindGlobalTracksIdeal &)
 
CbmLitFindGlobalTracksIdealoperator= (const CbmLitFindGlobalTracksIdeal &)
 
 ClassDef (CbmLitFindGlobalTracksIdeal, 1)
 

Private Attributes

CbmLitDetectorSetup fDet
 
TClonesArray * fMCTracks
 
TClonesArray * fStsMatches
 
TClonesArray * fMuchMatches
 
TClonesArray * fTrdMatches
 
TClonesArray * fTofMCPoints
 
TClonesArray * fTofHits
 
TClonesArray * fTofHitsMatches
 
TClonesArray * fGlobalTracks
 
std::map< Int_t, Int_t > fMcStsMap
 
std::map< Int_t, Int_t > fMcTrdMap
 
std::map< Int_t, Int_t > fMcMuchMap
 
std::map< Int_t, Int_t > fMcTofMap
 
Int_t fEventNo
 

Detailed Description

FairTask for ideal global track reconstruction.

FairTask class for ideal global track reconstruction. Combines local track segments to a global track based on MC information. Local ideal or real tracking has to be performed in advance. Also track matching tasks has to be executed in advance. Produces objects of type CbmGlobalTrack.

Author
Andrey Lebedev andre.nosp@m.y.le.nosp@m.bedev.nosp@m.@gsi.nosp@m..de
Date
2009

Definition at line 32 of file CbmLitFindGlobalTracksIdeal.h.

Constructor & Destructor Documentation

◆ CbmLitFindGlobalTracksIdeal() [1/2]

CbmLitFindGlobalTracksIdeal::CbmLitFindGlobalTracksIdeal ( )

Definition at line 19 of file CbmLitFindGlobalTracksIdeal.cxx.

◆ ~CbmLitFindGlobalTracksIdeal()

CbmLitFindGlobalTracksIdeal::~CbmLitFindGlobalTracksIdeal ( )
virtual

Definition at line 41 of file CbmLitFindGlobalTracksIdeal.cxx.

◆ CbmLitFindGlobalTracksIdeal() [2/2]

CbmLitFindGlobalTracksIdeal::CbmLitFindGlobalTracksIdeal ( const CbmLitFindGlobalTracksIdeal )
private

Member Function Documentation

◆ ClassDef()

CbmLitFindGlobalTracksIdeal::ClassDef ( CbmLitFindGlobalTracksIdeal  ,
 
)
private

◆ CreateGlobalTracks()

void CbmLitFindGlobalTracksIdeal::CreateGlobalTracks ( )
private

◆ Exec()

void CbmLitFindGlobalTracksIdeal::Exec ( Option_t *  opt)
virtual

◆ FillMapTof()

void CbmLitFindGlobalTracksIdeal::FillMapTof ( )
private

Fill map from <MC track index> to <TOF hit index>.

Definition at line 123 of file CbmLitFindGlobalTracksIdeal.cxx.

References fMcTofMap, fTofHits, fTofHitsMatches, fTofMCPoints, CbmLink::GetIndex(), and CbmMatch::GetMatchedLink().

Referenced by Exec().

◆ FillTrackMap()

void CbmLitFindGlobalTracksIdeal::FillTrackMap ( std::map< Int_t, Int_t > &  mcMap,
const TClonesArray *  matches 
)
private

Fill map from <MC track index> to <reconstructed track index>.

Definition at line 110 of file CbmLitFindGlobalTracksIdeal.cxx.

References CbmLink::GetIndex(), and CbmMatch::GetMatchedLink().

Referenced by Exec().

◆ Finish()

void CbmLitFindGlobalTracksIdeal::Finish ( )
privatevirtual

Derived from FairTask.

Definition at line 65 of file CbmLitFindGlobalTracksIdeal.cxx.

◆ Init()

InitStatus CbmLitFindGlobalTracksIdeal::Init ( )
virtual

◆ operator=()

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

◆ ReadDataBranches()

void CbmLitFindGlobalTracksIdeal::ReadDataBranches ( )
private

Read necessary data branches from the input data files.

Definition at line 67 of file CbmLitFindGlobalTracksIdeal.cxx.

References fDet, fGlobalTracks, fMCTracks, fMuchMatches, fStsMatches, fTofHits, fTofHitsMatches, fTofMCPoints, fTrdMatches, CbmLitDetectorSetup::GetDet(), kMuch, kSts, kTof, and kTrd.

Referenced by Init().

Member Data Documentation

◆ fDet

CbmLitDetectorSetup CbmLitFindGlobalTracksIdeal::fDet
private

Definition at line 80 of file CbmLitFindGlobalTracksIdeal.h.

Referenced by CreateGlobalTracks(), Exec(), Init(), and ReadDataBranches().

◆ fEventNo

Int_t CbmLitFindGlobalTracksIdeal::fEventNo
private

Definition at line 99 of file CbmLitFindGlobalTracksIdeal.h.

Referenced by Exec().

◆ fGlobalTracks

TClonesArray* CbmLitFindGlobalTracksIdeal::fGlobalTracks
private

Definition at line 90 of file CbmLitFindGlobalTracksIdeal.h.

Referenced by CreateGlobalTracks(), and ReadDataBranches().

◆ fMcMuchMap

std::map<Int_t, Int_t> CbmLitFindGlobalTracksIdeal::fMcMuchMap
private

Definition at line 96 of file CbmLitFindGlobalTracksIdeal.h.

Referenced by CreateGlobalTracks(), and Exec().

◆ fMcStsMap

std::map<Int_t, Int_t> CbmLitFindGlobalTracksIdeal::fMcStsMap
private

Definition at line 94 of file CbmLitFindGlobalTracksIdeal.h.

Referenced by CreateGlobalTracks(), and Exec().

◆ fMcTofMap

std::map<Int_t, Int_t> CbmLitFindGlobalTracksIdeal::fMcTofMap
private

Definition at line 97 of file CbmLitFindGlobalTracksIdeal.h.

Referenced by CreateGlobalTracks(), and FillMapTof().

◆ fMCTracks

TClonesArray* CbmLitFindGlobalTracksIdeal::fMCTracks
private

Definition at line 83 of file CbmLitFindGlobalTracksIdeal.h.

Referenced by CreateGlobalTracks(), and ReadDataBranches().

◆ fMcTrdMap

std::map<Int_t, Int_t> CbmLitFindGlobalTracksIdeal::fMcTrdMap
private

Definition at line 95 of file CbmLitFindGlobalTracksIdeal.h.

Referenced by CreateGlobalTracks(), and Exec().

◆ fMuchMatches

TClonesArray* CbmLitFindGlobalTracksIdeal::fMuchMatches
private

Definition at line 85 of file CbmLitFindGlobalTracksIdeal.h.

Referenced by Exec(), and ReadDataBranches().

◆ fStsMatches

TClonesArray* CbmLitFindGlobalTracksIdeal::fStsMatches
private

Definition at line 84 of file CbmLitFindGlobalTracksIdeal.h.

Referenced by Exec(), and ReadDataBranches().

◆ fTofHits

TClonesArray* CbmLitFindGlobalTracksIdeal::fTofHits
private

Definition at line 88 of file CbmLitFindGlobalTracksIdeal.h.

Referenced by FillMapTof(), and ReadDataBranches().

◆ fTofHitsMatches

TClonesArray* CbmLitFindGlobalTracksIdeal::fTofHitsMatches
private

Definition at line 89 of file CbmLitFindGlobalTracksIdeal.h.

Referenced by FillMapTof(), and ReadDataBranches().

◆ fTofMCPoints

TClonesArray* CbmLitFindGlobalTracksIdeal::fTofMCPoints
private

Definition at line 87 of file CbmLitFindGlobalTracksIdeal.h.

Referenced by FillMapTof(), and ReadDataBranches().

◆ fTrdMatches

TClonesArray* CbmLitFindGlobalTracksIdeal::fTrdMatches
private

Definition at line 86 of file CbmLitFindGlobalTracksIdeal.h.

Referenced by Exec(), and ReadDataBranches().


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