CbmRoot
|
#include <CbmLitFindGlobalTracks.h>
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 &) | |
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 |
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 |
Definition at line 41 of file CbmLitFindGlobalTracks.h.
CbmLitFindGlobalTracks::CbmLitFindGlobalTracks | ( | ) |
Constructor.
Definition at line 49 of file CbmLitFindGlobalTracks.cxx.
|
virtual |
Destructor.
Definition at line 94 of file CbmLitFindGlobalTracks.cxx.
|
private |
|
private |
Definition at line 407 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(), CbmStsTrack::GetStsHitIndex(), CbmGlobalTrack::GetStsTrackIndex(), CbmGlobalTrack::GetTofHitIndex(), CbmTofTrack::GetTofHitIndex(), CbmTofTrack::GetTrackIndex(), CbmGlobalTrack::GetTrdTrackIndex(), CbmPixelHit::GetX(), CbmVertex::GetX(), CbmPixelHit::GetY(), CbmVertex::GetY(), CbmHit::GetZ(), CbmVertex::GetZ(), kMuchPixelHit, kTofTrack, CbmGlobalTrack::SetLength(), CbmTofTrack::SetTrackLength(), and ToIntegralType().
Referenced by Exec().
|
private |
Definition at line 542 of file CbmLitFindGlobalTracks.cxx.
References CbmKFParticleInterface::ExtrapolateTrackToPV(), fGlobalTracks, fPrimVertex, fStsTracks, CbmGlobalTrack::GetStsTrackIndex(), kGlobalTrack, and CbmGlobalTrack::SetParamPrimaryVertex().
Referenced by Exec().
|
private |
|
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().
|
private |
Convert input data from CBMROOT data classes to LIT data classes.
Definition at line 372 of file CbmLitFindGlobalTracks.cxx.
References fDet, fLitHits, fLitStsTracks, fLitTofHits, fMuchPixelHits, fStsTracks, fTofHits, fTrdHits, CbmLitDetectorSetup::GetDet(), CbmLitTrackingGeometryConstructor::GetNofMuchStations(), CbmLitHit::GetStation(), CbmLitHit::GetSystem(), CbmLitConverter::HitArrayToHitVector(), 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 401 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 117 of file CbmLitFindGlobalTracks.cxx.
References CalculateLength(), CalculatePrimaryVertexParameters(), ClearArrays(), ConvertInputData(), ConvertOutputData(), fEventNo, fEvents, fGlobalTracks, fMuchPixelHits, fMuchTracks, fNofEvents, fNofGlbTracks, fNofMuchHits, fNofStsTracks, fNofTofHits, fNofTrdHits, fNofTs, fStsTracks, fTime, fTofHits, fTofTracks, fTrdHits, fTrdTracks, nTofHits, and RunTrackReconstruction().
|
virtual |
Inherited from FairTask.
Definition at line 190 of file CbmLitFindGlobalTracks.cxx.
References fEvents, fNofEvents, fNofGlbTracks, fNofMuchHits, fNofStsTracks, fNofTofHits, fNofTrdHits, fNofTs, fTime, and PrintStopwatchStatistics().
|
virtual |
Inherited from FairTask.
Definition at line 96 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 330 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 634 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 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().
|
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().
|
private |
Run the track reconstruction.
Definition at line 579 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 619 of file CbmLitFindGlobalTracks.cxx.
References fLitOutputTracks, CbmLitTrack::GetQuality(), 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.
Referenced by cbm::reco::offline::TaskFactory::RegisterGlobalTracking().
|
virtual |
Inherited from FairTask.
Definition at line 188 of file CbmLitFindGlobalTracks.cxx.
|
inline |
Definition at line 74 of file CbmLitFindGlobalTracks.h.
References fTrackingType.
Referenced by cbm::reco::offline::TaskFactory::RegisterGlobalTracking().
|
private |
Definition at line 134 of file CbmLitFindGlobalTracks.h.
Referenced by ConvertInputData(), Init(), InitTrackReconstruction(), ReadInputBranches(), RegisterOutputBranches(), and RunTrackReconstruction().
|
private |
Definition at line 196 of file CbmLitFindGlobalTracks.h.
Referenced by Exec().
|
private |
Definition at line 144 of file CbmLitFindGlobalTracks.h.
Referenced by Exec(), Finish(), 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(), Exec(), 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 189 of file CbmLitFindGlobalTracks.h.
|
private |
Definition at line 194 of file CbmLitFindGlobalTracks.h.
|
private |
Definition at line 191 of file CbmLitFindGlobalTracks.h.
|
private |
Definition at line 190 of file CbmLitFindGlobalTracks.h.
|
private |
Definition at line 193 of file CbmLitFindGlobalTracks.h.
|
private |
Definition at line 192 of file CbmLitFindGlobalTracks.h.
|
private |
Definition at line 188 of file CbmLitFindGlobalTracks.h.
|
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(), Exec(), and ReadInputBranches().
|
private |
Definition at line 195 of file CbmLitFindGlobalTracks.h.
|
private |
Definition at line 143 of file CbmLitFindGlobalTracks.h.
Referenced by CalculateLength(), ConvertInputData(), Exec(), 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(), Exec(), and ReadInputBranches().
|
private |
Definition at line 147 of file CbmLitFindGlobalTracks.h.
Referenced by CalculateLength(), ConvertOutputData(), Exec(), and RegisterOutputBranches().