CbmRoot
|
#include <CbmLitTrackFinderBranch.h>
Public Member Functions | |
CbmLitTrackFinderBranch () | |
Constructor. | |
virtual | ~CbmLitTrackFinderBranch () |
Destructor. | |
LitStatus | DoFind (HitPtrVector &hits, TrackPtrVector &trackSeeds, TrackPtrVector &tracks) |
Inherited from CbmLitTrackFinder. | |
void | SetFinalSelection (TrackSelectionPtr finalSelection) |
void | SetSeedSelection (TrackSelectionPtr seedSelection) |
void | SetFilter (TrackUpdatePtr filter) |
void | SetPropagator (TrackPropagatorPtr propagator) |
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. | |
void | FollowTracks (TrackPtrIterator itBegin, TrackPtrIterator itEnd) |
Main track following procedure. | |
void | RemoveHits (TrackPtrIterator itBegin, TrackPtrIterator itEnd) |
Write already used hits to a used hits set. | |
void | CopyToOutput (TrackPtrIterator itBegin, TrackPtrIterator itEnd, TrackPtrVector &tracks) |
Copy tracks to output array. | |
Private Attributes | |
CbmLitHitData | fHitData |
std::set< Int_t > | fUsedHitsSet |
std::set< Int_t > | fUsedSeedsSet |
TrackPtrVector | fTracks |
TrackSelectionPtr | fSeedSelection |
TrackSelectionPtr | fFinalSelection |
TrackPropagatorPtr | fPropagator |
TrackUpdatePtr | fFilter |
Int_t | fNofStations |
Int_t | fNofIterations |
Int_t | fIteration |
Int_t | fMaxNofHitsInValidationGate |
Int_t | fMaxNofBranches |
vector< Int_t > | fMaxNofMissingHits |
vector< Int_t > | fPDG |
vector< litfloat > | fChiSqStripHitCut |
vector< litfloat > | fChiSqPixelHitCut |
vector< litfloat > | fSigmaCoef |
Definition at line 32 of file CbmLitTrackFinderBranch.h.
CbmLitTrackFinderBranch::CbmLitTrackFinderBranch | ( | ) |
Constructor.
Definition at line 30 of file CbmLitTrackFinderBranch.cxx.
|
virtual |
Destructor.
Definition at line 52 of file CbmLitTrackFinderBranch.cxx.
|
protected |
Definition at line 81 of file CbmLitTrackFinderBranch.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 274 of file CbmLitTrackFinderBranch.cxx.
References CbmLitTrack::CheckParams(), fUsedSeedsSet, CbmLitTrack::GetPreviousTrackId(), CbmLitTrack::GetQuality(), kLITBAD, and tracks.
Referenced by DoFind().
|
virtual |
Inherited from CbmLitTrackFinder.
Implements CbmLitTrackFinder.
Definition at line 54 of file CbmLitTrackFinderBranch.cxx.
References ArrangeHits(), CbmLitHitData::Clear(), CopyToOutput(), fFinalSelection, fHitData, fIteration, fNofIterations, fNofStations, FollowTracks(), fTracks, fUsedHitsSet, fUsedSeedsSet, hits, InitTrackSeeds(), kLITSUCCESS, RemoveHits(), CbmLitHitData::SetNofStations(), and tracks.
|
protected |
Main track following procedure.
Definition at line 116 of file CbmLitTrackFinderBranch.cxx.
References CbmLitTrack::AddHit(), counter, CbmLitQualitySort::DoSortChiSqOverNDF(), fChiSqPixelHitCut, fChiSqStripHitCut, fFilter, fHitData, first, fIteration, fMaxNofBranches, fMaxNofHitsInValidationGate, 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, lit::NDF(), CbmLitTrack::SetChi2(), CbmLitTrack::SetLastStationId(), CbmLitTrack::SetNDF(), CbmLitTrack::SetNofMissingHits(), CbmLitTrack::SetParamLast(), and sqrt().
Referenced by DoFind().
|
protected |
Initialize track seeds.
[in] | itBegin | Iterator to the first track seed. |
[in] | itEnd | Iterator to the last track seed. |
Definition at line 93 of file CbmLitTrackFinderBranch.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 261 of file CbmLitTrackFinderBranch.cxx.
References fUsedHitsSet, CbmLitTrack::GetHit(), CbmLitTrack::GetNofHits(), CbmLitTrack::GetQuality(), CbmLitHit::GetRefId(), and kLITBAD.
Referenced by DoFind().
|
inline |
Definition at line 59 of file CbmLitTrackFinderBranch.h.
References fChiSqPixelHitCut.
Referenced by CbmLitToolFactory::CreateTrackFinder().
|
inline |
Definition at line 58 of file CbmLitTrackFinderBranch.h.
References fChiSqStripHitCut.
Referenced by CbmLitToolFactory::CreateTrackFinder().
|
inline |
Definition at line 52 of file CbmLitTrackFinderBranch.h.
References fFilter.
Referenced by CbmLitToolFactory::CreateTrackFinder().
|
inline |
Definition at line 50 of file CbmLitTrackFinderBranch.h.
References fFinalSelection.
Referenced by CbmLitToolFactory::CreateTrackFinder().
|
inline |
Definition at line 56 of file CbmLitTrackFinderBranch.h.
References fMaxNofMissingHits.
Referenced by CbmLitToolFactory::CreateTrackFinder().
|
inline |
Definition at line 55 of file CbmLitTrackFinderBranch.h.
References fNofIterations.
Referenced by CbmLitToolFactory::CreateTrackFinder().
|
inline |
Definition at line 54 of file CbmLitTrackFinderBranch.h.
References fNofStations.
Referenced by CbmLitToolFactory::CreateTrackFinder().
|
inline |
Definition at line 57 of file CbmLitTrackFinderBranch.h.
References fPDG.
Referenced by CbmLitToolFactory::CreateTrackFinder().
|
inline |
Definition at line 53 of file CbmLitTrackFinderBranch.h.
References fPropagator.
Referenced by CbmLitToolFactory::CreateTrackFinder().
|
inline |
Definition at line 51 of file CbmLitTrackFinderBranch.h.
References fSeedSelection.
Referenced by CbmLitToolFactory::CreateTrackFinder().
|
inline |
Definition at line 60 of file CbmLitTrackFinderBranch.h.
References fSigmaCoef.
Referenced by CbmLitToolFactory::CreateTrackFinder().
|
private |
Definition at line 115 of file CbmLitTrackFinderBranch.h.
Referenced by FollowTracks(), and SetChiSqPixelHitCut().
|
private |
Definition at line 114 of file CbmLitTrackFinderBranch.h.
Referenced by FollowTracks(), and SetChiSqStripHitCut().
|
private |
Definition at line 102 of file CbmLitTrackFinderBranch.h.
Referenced by FollowTracks(), and SetFilter().
|
private |
Definition at line 100 of file CbmLitTrackFinderBranch.h.
Referenced by DoFind(), and SetFinalSelection().
|
private |
Definition at line 93 of file CbmLitTrackFinderBranch.h.
Referenced by ArrangeHits(), DoFind(), and FollowTracks().
|
private |
Definition at line 106 of file CbmLitTrackFinderBranch.h.
Referenced by DoFind(), FollowTracks(), and InitTrackSeeds().
|
private |
Definition at line 111 of file CbmLitTrackFinderBranch.h.
Referenced by FollowTracks().
|
private |
Definition at line 109 of file CbmLitTrackFinderBranch.h.
Referenced by FollowTracks().
|
private |
Definition at line 112 of file CbmLitTrackFinderBranch.h.
Referenced by FollowTracks(), and SetMaxNofMissingHits().
|
private |
Definition at line 105 of file CbmLitTrackFinderBranch.h.
Referenced by DoFind(), and SetNofIterations().
|
private |
Definition at line 104 of file CbmLitTrackFinderBranch.h.
Referenced by DoFind(), FollowTracks(), and SetNofStations().
|
private |
Definition at line 113 of file CbmLitTrackFinderBranch.h.
Referenced by FollowTracks(), InitTrackSeeds(), and SetPDG().
|
private |
Definition at line 101 of file CbmLitTrackFinderBranch.h.
Referenced by FollowTracks(), and SetPropagator().
|
private |
Definition at line 99 of file CbmLitTrackFinderBranch.h.
Referenced by InitTrackSeeds(), and SetSeedSelection().
|
private |
Definition at line 116 of file CbmLitTrackFinderBranch.h.
Referenced by FollowTracks(), and SetSigmaCoef().
|
private |
Definition at line 97 of file CbmLitTrackFinderBranch.h.
Referenced by DoFind(), and InitTrackSeeds().
|
private |
Definition at line 94 of file CbmLitTrackFinderBranch.h.
Referenced by ArrangeHits(), DoFind(), and RemoveHits().
|
private |
Definition at line 95 of file CbmLitTrackFinderBranch.h.
Referenced by CopyToOutput(), DoFind(), and InitTrackSeeds().