CbmRoot
|
#include <CbmLitFindGlobalTracks.h>
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 &) | |
CbmLitFindGlobalTracks & | operator= (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 |
CbmVertex * | fPrimVertex |
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 |
Definition at line 39 of file CbmLitFindGlobalTracks.h.
CbmLitFindGlobalTracks::CbmLitFindGlobalTracks | ( | ) |
|
virtual |
Destructor.
Definition at line 78 of file CbmLitFindGlobalTracks.cxx.
|
private |
|
private |
Definition at line 341 of file CbmLitFindGlobalTracks.cxx.
References fGlobalTracks, fMuchPixelHits, fMuchTracks, fPrimVertex, fStsHits, fStsTracks, fTofHits, fTofTracks, fTrdHits, fTrdTracks, CbmTrack::GetHitIndex(), CbmTrack::GetHitType(), CbmGlobalTrack::GetMuchTrackIndex(), CbmTrack::GetNofHits(), CbmStsTrack::GetNofStsHits(), CbmGlobalTrack::GetStsTrackIndex(), CbmGlobalTrack::GetTofHitIndex(), CbmTofTrack::GetTofHitIndex(), CbmTofTrack::GetTrackIndex(), CbmGlobalTrack::GetTrdTrackIndex(), CbmVertex::GetX(), CbmPixelHit::GetX(), CbmVertex::GetY(), CbmPixelHit::GetY(), CbmHit::GetZ(), CbmVertex::GetZ(), i, kMuchPixelHit, kTofTrack, CbmGlobalTrack::SetLength(), CbmTofTrack::SetTrackLength(), sqrt(), and ToIntegralType().
Referenced by Exec().
|
private |
Definition at line 481 of file CbmLitFindGlobalTracks.cxx.
References CbmKFParticleInterface::ExtrapolateTrackToPV(), fGlobalTracks, fPrimVertex, fStsTracks, CbmGlobalTrack::GetStsTrackIndex(), i, kGlobalTrack, and CbmGlobalTrack::SetParamPrimaryVertex().
Referenced by Exec().
|
private |
|
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().
|
private |
Convert input data from CBMROOT data classes to LIT data classes.
Definition at line 295 of file CbmLitFindGlobalTracks.cxx.
References fDet, fLitHits, fLitStsTracks, fLitTofHits, fMuchPixelHits, fStsTracks, fTofHits, fTrdHits, CbmLitDetectorSetup::GetDet(), CbmLitTrackingGeometryConstructor::GetNofMuchStations(), CbmLitHit::GetStation(), CbmLitHit::GetSystem(), CbmLitConverter::HitArrayToHitVector(), i, CbmLitTrackingGeometryConstructor::Instance(), kLITTRD, kMuch, kMuchPixelHit, kTofHit, kTrd, kTrdHit, CbmLitHit::SetDetectorId(), and CbmLitConverter::StsTrackArrayToTrackVector().
Referenced by Exec().
|
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().
|
virtual |
Inherited from FairTask.
Definition at line 100 of file CbmLitFindGlobalTracks.cxx.
References CalculateLength(), CalculatePrimaryVertexParameters(), ClearArrays(), ConvertInputData(), ConvertOutputData(), fEventNo, fEvents, fGlobalTracks, fMuchTracks, fTofTracks, fTrdTracks, and RunTrackReconstruction().
|
virtual |
Inherited from FairTask.
Definition at line 137 of file CbmLitFindGlobalTracks.cxx.
References PrintStopwatchStatistics().
|
virtual |
Inherited from FairTask.
Definition at line 80 of file CbmLitFindGlobalTracks.cxx.
References CbmLitDetectorSetup::DetermineSetup(), fDet, fMergerWatch, fTrackingWatch, InitTrackReconstruction(), ReadInputBranches(), RegisterOutputBranches(), and CbmLitDetectorSetup::ToString().
|
private |
Create and initialize track finder and track merger objects.
Definition at line 257 of file CbmLitFindGlobalTracks.cxx.
References CbmLitToolFactory::CreateHitToTrackMerger(), CbmLitToolFactory::CreateTrackFinder(), CbmLitToolFactory::CreateTrackFitter(), CbmLitToolFactory::CreateTrackPropagator(), fDet, fFinder, fFitter, fFitterType, fMerger, fMergerType, fPropagator, fTrackingType, CbmLitDetectorSetup::GetDet(), CbmLitDetectorSetup::GetElectronSetup(), and kTof.
Referenced by Init().
|
private |
|
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().
|
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().
|
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().
|
private |
Run the track reconstruction.
Definition at line 520 of file CbmLitFindGlobalTracks.cxx.
References fDet, fFinder, fFitter, fLitHits, fLitOutputTofTracks, fLitOutputTracks, fLitStsTracks, fLitTofHits, fMerger, fMergerWatch, fTrackingWatch, CbmLitDetectorSetup::GetDet(), kLITGOODMERGE, kMuch, kTof, kTrd, and SelectTracksForTofMerging().
Referenced by Exec().
|
private |
Select tracks for further merging with TOF.
Definition at line 565 of file CbmLitFindGlobalTracks.cxx.
References fLitOutputTracks, CbmLitTrack::GetHit(), CbmLitTrack::GetNofHits(), CbmLitTrackingGeometryConstructor::GetNofMuchTrdStations(), CbmLitTrack::GetQuality(), CbmLitHit::GetStation(), CbmLitTrackingGeometryConstructor::Instance(), kLITBAD, kLITGOODMERGE, and CbmLitTrack::SetQuality().
Referenced by RunTrackReconstruction().
|
inline |
Definition at line 76 of file CbmLitFindGlobalTracks.h.
References fFitterType.
|
inline |
Definition at line 75 of file CbmLitFindGlobalTracks.h.
References fMergerType.
|
virtual |
Inherited from FairTask.
Definition at line 135 of file CbmLitFindGlobalTracks.cxx.
|
inline |
Definition at line 72 of file CbmLitFindGlobalTracks.h.
References fTrackingType.
|
private |
Definition at line 134 of file CbmLitFindGlobalTracks.h.
Referenced by ConvertInputData(), Init(), InitTrackReconstruction(), ReadInputBranches(), RegisterOutputBranches(), and RunTrackReconstruction().
|
private |
Definition at line 187 of file CbmLitFindGlobalTracks.h.
Referenced by Exec().
|
private |
Definition at line 144 of file CbmLitFindGlobalTracks.h.
Referenced by Exec(), and ReadInputBranches().
|
private |
Definition at line 161 of file CbmLitFindGlobalTracks.h.
Referenced by InitTrackReconstruction(), and RunTrackReconstruction().
|
private |
Definition at line 163 of file CbmLitFindGlobalTracks.h.
Referenced by InitTrackReconstruction(), and RunTrackReconstruction().
|
private |
Definition at line 181 of file CbmLitFindGlobalTracks.h.
Referenced by InitTrackReconstruction(), and SetFitterType().
|
private |
Definition at line 149 of file CbmLitFindGlobalTracks.h.
Referenced by CalculateLength(), CalculatePrimaryVertexParameters(), ConvertOutputData(), Exec(), and RegisterOutputBranches().
|
private |
Definition at line 155 of file CbmLitFindGlobalTracks.h.
Referenced by ClearArrays(), ConvertInputData(), and RunTrackReconstruction().
|
private |
Definition at line 158 of file CbmLitFindGlobalTracks.h.
Referenced by ClearArrays(), ConvertOutputData(), and RunTrackReconstruction().
|
private |
Definition at line 157 of file CbmLitFindGlobalTracks.h.
Referenced by ClearArrays(), ConvertOutputData(), RunTrackReconstruction(), and SelectTracksForTofMerging().
|
private |
Definition at line 154 of file CbmLitFindGlobalTracks.h.
Referenced by ClearArrays(), ConvertInputData(), and RunTrackReconstruction().
|
private |
Definition at line 156 of file CbmLitFindGlobalTracks.h.
Referenced by ClearArrays(), ConvertInputData(), and RunTrackReconstruction().
|
private |
Definition at line 162 of file CbmLitFindGlobalTracks.h.
Referenced by InitTrackReconstruction(), and RunTrackReconstruction().
|
private |
Definition at line 177 of file CbmLitFindGlobalTracks.h.
Referenced by InitTrackReconstruction(), and SetMergerType().
|
private |
Definition at line 185 of file CbmLitFindGlobalTracks.h.
Referenced by Init(), PrintStopwatchStatistics(), and RunTrackReconstruction().
|
private |
Definition at line 141 of file CbmLitFindGlobalTracks.h.
Referenced by CalculateLength(), ConvertInputData(), and ReadInputBranches().
|
private |
Definition at line 146 of file CbmLitFindGlobalTracks.h.
Referenced by CalculateLength(), ConvertOutputData(), Exec(), and RegisterOutputBranches().
|
private |
Definition at line 138 of file CbmLitFindGlobalTracks.h.
Referenced by ReadInputBranches().
|
private |
Definition at line 151 of file CbmLitFindGlobalTracks.h.
Referenced by CalculateLength(), CalculatePrimaryVertexParameters(), and ReadInputBranches().
|
private |
Definition at line 167 of file CbmLitFindGlobalTracks.h.
Referenced by InitTrackReconstruction().
|
private |
Definition at line 140 of file CbmLitFindGlobalTracks.h.
Referenced by CalculateLength(), and ReadInputBranches().
|
private |
Definition at line 139 of file CbmLitFindGlobalTracks.h.
Referenced by CalculateLength(), CalculatePrimaryVertexParameters(), ConvertInputData(), ConvertOutputData(), and ReadInputBranches().
|
private |
Definition at line 143 of file CbmLitFindGlobalTracks.h.
Referenced by CalculateLength(), ConvertInputData(), and ReadInputBranches().
|
private |
Definition at line 148 of file CbmLitFindGlobalTracks.h.
Referenced by CalculateLength(), ConvertOutputData(), Exec(), and RegisterOutputBranches().
|
private |
Definition at line 173 of file CbmLitFindGlobalTracks.h.
Referenced by InitTrackReconstruction(), and SetTrackingType().
|
private |
Definition at line 184 of file CbmLitFindGlobalTracks.h.
Referenced by Init(), PrintStopwatchStatistics(), and RunTrackReconstruction().
|
private |
Definition at line 142 of file CbmLitFindGlobalTracks.h.
Referenced by CalculateLength(), ConvertInputData(), and ReadInputBranches().
|
private |
Definition at line 147 of file CbmLitFindGlobalTracks.h.
Referenced by CalculateLength(), ConvertOutputData(), Exec(), and RegisterOutputBranches().