CbmRoot
|
FairTask for ideal global track reconstruction. More...
#include <CbmLitFindGlobalTracksIdeal.h>
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 &) | |
CbmLitFindGlobalTracksIdeal & | operator= (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 |
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.
Definition at line 32 of file CbmLitFindGlobalTracksIdeal.h.
CbmLitFindGlobalTracksIdeal::CbmLitFindGlobalTracksIdeal | ( | ) |
Definition at line 19 of file CbmLitFindGlobalTracksIdeal.cxx.
|
virtual |
Definition at line 41 of file CbmLitFindGlobalTracksIdeal.cxx.
|
private |
|
private |
|
private |
Create output CbmGlobalTracks and write them to output array.
Definition at line 140 of file CbmLitFindGlobalTracksIdeal.cxx.
References fDet, fGlobalTracks, fMcMuchMap, fMcStsMap, fMcTofMap, fMCTracks, fMcTrdMap, CbmLitDetectorSetup::GetDet(), kMuch, kSts, kTof, kTrd, CbmGlobalTrack::SetMuchTrackIndex(), CbmGlobalTrack::SetStsTrackIndex(), CbmGlobalTrack::SetTofHitIndex(), and CbmGlobalTrack::SetTrdTrackIndex().
Referenced by Exec().
|
virtual |
Derived from FairTask.
Definition at line 52 of file CbmLitFindGlobalTracksIdeal.cxx.
References CreateGlobalTracks(), fDet, fEventNo, FillMapTof(), FillTrackMap(), fMcMuchMap, fMcStsMap, fMcTrdMap, fMuchMatches, fStsMatches, fTrdMatches, CbmLitDetectorSetup::GetDet(), kMuch, kSts, kTof, and kTrd.
|
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().
|
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().
|
privatevirtual |
Derived from FairTask.
Definition at line 65 of file CbmLitFindGlobalTracksIdeal.cxx.
|
virtual |
Derived from FairTask.
Definition at line 43 of file CbmLitFindGlobalTracksIdeal.cxx.
References CbmLitDetectorSetup::DetermineSetup(), fDet, ReadDataBranches(), and CbmLitDetectorSetup::ToString().
|
private |
|
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().
|
private |
Definition at line 80 of file CbmLitFindGlobalTracksIdeal.h.
Referenced by CreateGlobalTracks(), Exec(), Init(), and ReadDataBranches().
|
private |
Definition at line 99 of file CbmLitFindGlobalTracksIdeal.h.
Referenced by Exec().
|
private |
Definition at line 90 of file CbmLitFindGlobalTracksIdeal.h.
Referenced by CreateGlobalTracks(), and ReadDataBranches().
|
private |
Definition at line 96 of file CbmLitFindGlobalTracksIdeal.h.
Referenced by CreateGlobalTracks(), and Exec().
|
private |
Definition at line 94 of file CbmLitFindGlobalTracksIdeal.h.
Referenced by CreateGlobalTracks(), and Exec().
|
private |
Definition at line 97 of file CbmLitFindGlobalTracksIdeal.h.
Referenced by CreateGlobalTracks(), and FillMapTof().
|
private |
Definition at line 83 of file CbmLitFindGlobalTracksIdeal.h.
Referenced by CreateGlobalTracks(), and ReadDataBranches().
|
private |
Definition at line 95 of file CbmLitFindGlobalTracksIdeal.h.
Referenced by CreateGlobalTracks(), and Exec().
|
private |
Definition at line 85 of file CbmLitFindGlobalTracksIdeal.h.
Referenced by Exec(), and ReadDataBranches().
|
private |
Definition at line 84 of file CbmLitFindGlobalTracksIdeal.h.
Referenced by Exec(), and ReadDataBranches().
|
private |
Definition at line 88 of file CbmLitFindGlobalTracksIdeal.h.
Referenced by FillMapTof(), and ReadDataBranches().
|
private |
Definition at line 89 of file CbmLitFindGlobalTracksIdeal.h.
Referenced by FillMapTof(), and ReadDataBranches().
|
private |
Definition at line 87 of file CbmLitFindGlobalTracksIdeal.h.
Referenced by FillMapTof(), and ReadDataBranches().
|
private |
Definition at line 86 of file CbmLitFindGlobalTracksIdeal.h.
Referenced by Exec(), and ReadDataBranches().