CbmRoot
|
#include <CbmLitTrackFinderNN.h>
Public Member Functions | |
CbmLitTrackFinderNN () | |
Constructor. More... | |
virtual | ~CbmLitTrackFinderNN () |
Destructor. More... | |
virtual LitStatus | DoFind (HitPtrVector &hits, TrackPtrVector &trackSeeds, TrackPtrVector &tracks) |
Inherited from CbmLitTrackFinder. More... | |
void | SetSeedSelection (TrackSelectionPtr seedSelection) |
void | SetFinalSelection (TrackSelectionPtr finalSelection) |
void | SetPropagator (TrackPropagatorPtr propagator) |
void | SetFilter (TrackUpdatePtr filter) |
void | SetNofStations (Int_t nofStations) |
void | SetNofIterations (Int_t nofIterations) |
void | SetMaxNofMissingHits (const vector< Int_t > &maxNofMissingHits) |
void | SetPDG (const vector< Int_t > &pdg) |
void | SetChiSqStripHitCut (const vector< litfloat > &chiSqStripHitCut) |
void | SetChiSqPixelHitCut (const vector< litfloat > &chiSqPixelHitCut) |
void | SetSigmaCoef (const vector< litfloat > &sigmaCoef) |
Protected Member Functions | |
void | ArrangeHits (HitPtrIterator itBegin, HitPtrIterator itEnd) |
void | InitTrackSeeds (TrackPtrIterator itBegin, TrackPtrIterator itEnd) |
Initialize track seeds and copy to local array. More... | |
void | FollowTracks (TrackPtrIterator itBegin, TrackPtrIterator itEnd) |
Follow tracks through detector. More... | |
void | RemoveHits (TrackPtrIterator itBegin, TrackPtrIterator itEnd) |
Write already used hits to a used hits set. More... | |
void | CopyToOutput (TrackPtrIterator itBegin, TrackPtrIterator itEnd, TrackPtrVector &tracks) |
Copy tracks to output array. More... | |
Private Attributes | |
TrackPtrVector | fTracks |
CbmLitHitData | fHitData |
std::set< Int_t > | fUsedHitsSet |
std::set< Int_t > | fUsedSeedsSet |
TrackSelectionPtr | fSeedSelection |
TrackSelectionPtr | fFinalSelection |
TrackPropagatorPtr | fPropagator |
TrackUpdatePtr | fFilter |
Int_t | fNofStations |
Int_t | fNofIterations |
Int_t | fIteration |
vector< Int_t > | fMaxNofMissingHits |
vector< Int_t > | fPDG |
vector< litfloat > | fChiSqStripHitCut |
vector< litfloat > | fChiSqPixelHitCut |
vector< litfloat > | fSigmaCoef |
Definition at line 23 of file CbmLitTrackFinderNN.h.
CbmLitTrackFinderNN::CbmLitTrackFinderNN | ( | ) |
Constructor.
Definition at line 31 of file CbmLitTrackFinderNN.cxx.
|
virtual |
Destructor.
Definition at line 49 of file CbmLitTrackFinderNN.cxx.
|
protected |
Definition at line 87 of file CbmLitTrackFinderNN.cxx.
References CbmLitHitData::AddHit(), CbmLitHitData::Arrange(), fHitData, fUsedHitsSet, and CbmLitHit::GetRefId().
Referenced by DoFind().
|
protected |
Copy tracks to output array.
[in] | Iterator | to the first track. |
[in] | Iterator | to the last track. |
[out] | Output | track array. |
Definition at line 239 of file CbmLitTrackFinderNN.cxx.
References CbmLitTrack::CheckParams(), fUsedSeedsSet, CbmLitTrack::GetPreviousTrackId(), CbmLitTrack::GetQuality(), kLITBAD, and tracks.
Referenced by DoFind().
|
virtual |
Inherited from CbmLitTrackFinder.
Implements CbmLitTrackFinder.
Definition at line 51 of file CbmLitTrackFinderNN.cxx.
References ArrangeHits(), CbmLitHitData::Clear(), CopyToOutput(), fFinalSelection, fHitData, fIteration, fNofIterations, fNofStations, FollowTracks(), fTracks, fUsedHitsSet, fUsedSeedsSet, hits, InitTrackSeeds(), kLITSUCCESS, RemoveHits(), CbmLitHitData::SetNofStations(), and tracks.
|
protected |
Follow tracks through detector.
[in] | itBegin | Iterator to the first track. |
[in] | itEnd | Iterator to the last track. |
Definition at line 120 of file CbmLitTrackFinderNN.cxx.
References CbmLitTrack::AddHit(), fChiSqPixelHitCut, fChiSqStripHitCut, fFilter, fHitData, first, fIteration, fMaxNofMissingHits, fNofStations, fPDG, fPropagator, fSigmaCoef, CbmLitHitData::GetBinByZPos(), CbmLitTrack::GetChi2(), CbmLitTrackParam::GetCovariance(), CbmLitHitData::GetHits(), CbmLitHitData::GetMaxErrT(), CbmLitHitData::GetMaxErrX(), CbmLitHitData::GetMaxErrY(), CbmLitHitData::GetMinZPos(), CbmLitTrack::GetNofMissingHits(), CbmLitTrack::GetParamLast(), CbmLitHit::GetT(), CbmLitTrackParam::GetTime(), CbmLitHit::GetType(), CbmLitPixelHit::GetX(), CbmLitTrackParam::GetX(), CbmLitPixelHit::GetY(), CbmLitTrackParam::GetY(), CbmLitHit::GetZ(), CbmLitHitData::GetZPosBins(), CbmLitHitData::GetZPosByBin(), hits, kLITERROR, kLITPIXELHIT, kLITSTRIPHIT, max(), lit::NDF(), CbmLitTrack::SetChi2(), CbmLitTrack::SetLastStationId(), CbmLitTrack::SetNDF(), CbmLitTrack::SetNofMissingHits(), CbmLitTrack::SetParamLast(), and sqrt().
Referenced by DoFind().
|
protected |
Initialize track seeds and copy to local array.
[in] | itBegin | Iterator to the first track seed. |
[in] | itEnd | Iterator to the last track seed. |
Definition at line 99 of file CbmLitTrackFinderNN.cxx.
References fIteration, fPDG, fSeedSelection, fTracks, fUsedSeedsSet, CbmLitTrack::GetPreviousTrackId(), CbmLitTrack::GetQuality(), kLITBAD, kLITGOOD, CbmLitTrack::SetChi2(), and CbmLitTrack::SetPDG().
Referenced by DoFind().
|
protected |
Write already used hits to a used hits set.
[in] | Iterator | to the first track. |
[in] | Iterator | to the last track. |
Definition at line 228 of file CbmLitTrackFinderNN.cxx.
References fUsedHitsSet, CbmLitTrack::GetHit(), CbmLitTrack::GetNofHits(), CbmLitTrack::GetQuality(), CbmLitHit::GetRefId(), and kLITBAD.
Referenced by DoFind().
|
inline |
Definition at line 62 of file CbmLitTrackFinderNN.h.
References fChiSqPixelHitCut.
Referenced by CbmLitToolFactory::CreateTrackFinder().
|
inline |
Definition at line 59 of file CbmLitTrackFinderNN.h.
References fChiSqStripHitCut.
Referenced by CbmLitToolFactory::CreateTrackFinder().
|
inline |
Definition at line 52 of file CbmLitTrackFinderNN.h.
References fFilter.
Referenced by CbmLitToolFactory::CreateTrackFinder().
|
inline |
Definition at line 46 of file CbmLitTrackFinderNN.h.
References fFinalSelection.
Referenced by CbmLitToolFactory::CreateTrackFinder().
|
inline |
Definition at line 55 of file CbmLitTrackFinderNN.h.
References fMaxNofMissingHits.
Referenced by CbmLitToolFactory::CreateTrackFinder().
|
inline |
Definition at line 54 of file CbmLitTrackFinderNN.h.
References fNofIterations.
Referenced by CbmLitToolFactory::CreateTrackFinder().
|
inline |
Definition at line 53 of file CbmLitTrackFinderNN.h.
References fNofStations.
Referenced by CbmLitToolFactory::CreateTrackFinder().
|
inline |
Definition at line 58 of file CbmLitTrackFinderNN.h.
References fPDG.
Referenced by CbmLitToolFactory::CreateTrackFinder().
|
inline |
Definition at line 49 of file CbmLitTrackFinderNN.h.
References fPropagator.
Referenced by CbmLitToolFactory::CreateTrackFinder().
|
inline |
Definition at line 43 of file CbmLitTrackFinderNN.h.
References fSeedSelection.
Referenced by CbmLitToolFactory::CreateTrackFinder().
|
inline |
Definition at line 65 of file CbmLitTrackFinderNN.h.
References fSigmaCoef.
Referenced by CbmLitToolFactory::CreateTrackFinder().
|
private |
Definition at line 122 of file CbmLitTrackFinderNN.h.
Referenced by FollowTracks(), and SetChiSqPixelHitCut().
|
private |
Definition at line 121 of file CbmLitTrackFinderNN.h.
Referenced by FollowTracks(), and SetChiSqStripHitCut().
|
private |
Definition at line 112 of file CbmLitTrackFinderNN.h.
Referenced by FollowTracks(), and SetFilter().
|
private |
Definition at line 110 of file CbmLitTrackFinderNN.h.
Referenced by DoFind(), and SetFinalSelection().
|
private |
Definition at line 105 of file CbmLitTrackFinderNN.h.
Referenced by ArrangeHits(), DoFind(), and FollowTracks().
|
private |
Definition at line 116 of file CbmLitTrackFinderNN.h.
Referenced by DoFind(), FollowTracks(), and InitTrackSeeds().
|
private |
Definition at line 119 of file CbmLitTrackFinderNN.h.
Referenced by FollowTracks(), and SetMaxNofMissingHits().
|
private |
Definition at line 115 of file CbmLitTrackFinderNN.h.
Referenced by DoFind(), and SetNofIterations().
|
private |
Definition at line 114 of file CbmLitTrackFinderNN.h.
Referenced by DoFind(), FollowTracks(), and SetNofStations().
|
private |
Definition at line 120 of file CbmLitTrackFinderNN.h.
Referenced by FollowTracks(), InitTrackSeeds(), and SetPDG().
|
private |
Definition at line 111 of file CbmLitTrackFinderNN.h.
Referenced by FollowTracks(), and SetPropagator().
|
private |
Definition at line 109 of file CbmLitTrackFinderNN.h.
Referenced by InitTrackSeeds(), and SetSeedSelection().
|
private |
Definition at line 124 of file CbmLitTrackFinderNN.h.
Referenced by FollowTracks(), and SetSigmaCoef().
|
private |
Definition at line 104 of file CbmLitTrackFinderNN.h.
Referenced by DoFind(), and InitTrackSeeds().
|
private |
Definition at line 106 of file CbmLitTrackFinderNN.h.
Referenced by ArrangeHits(), DoFind(), and RemoveHits().
|
private |
Definition at line 107 of file CbmLitTrackFinderNN.h.
Referenced by CopyToOutput(), DoFind(), and InitTrackSeeds().