CbmRoot
Loading...
Searching...
No Matches
CbmLitTrackFinderNN Class Reference

#include <CbmLitTrackFinderNN.h>

Inheritance diagram for CbmLitTrackFinderNN:
[legend]
Collaboration diagram for CbmLitTrackFinderNN:
[legend]

Public Member Functions

 CbmLitTrackFinderNN ()
 Constructor.
 
virtual ~CbmLitTrackFinderNN ()
 Destructor.
 
virtual LitStatus DoFind (HitPtrVector &hits, TrackPtrVector &trackSeeds, TrackPtrVector &tracks)
 Inherited from CbmLitTrackFinder.
 
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.
 
void FollowTracks (TrackPtrIterator itBegin, TrackPtrIterator itEnd)
 Follow tracks through detector.
 
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

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< litfloatfChiSqStripHitCut
 
vector< litfloatfChiSqPixelHitCut
 
vector< litfloatfSigmaCoef
 

Detailed Description

Definition at line 28 of file CbmLitTrackFinderNN.h.

Constructor & Destructor Documentation

◆ CbmLitTrackFinderNN()

CbmLitTrackFinderNN::CbmLitTrackFinderNN ( )

Constructor.

Definition at line 35 of file CbmLitTrackFinderNN.cxx.

◆ ~CbmLitTrackFinderNN()

CbmLitTrackFinderNN::~CbmLitTrackFinderNN ( )
virtual

Destructor.

Definition at line 55 of file CbmLitTrackFinderNN.cxx.

Member Function Documentation

◆ ArrangeHits()

void CbmLitTrackFinderNN::ArrangeHits ( HitPtrIterator itBegin,
HitPtrIterator itEnd )
protected

◆ CopyToOutput()

void CbmLitTrackFinderNN::CopyToOutput ( TrackPtrIterator itBegin,
TrackPtrIterator itEnd,
TrackPtrVector & tracks )
protected

Copy tracks to output array.

Parameters
[in]Iteratorto the first track.
[in]Iteratorto the last track.
[out]Outputtrack array.

Definition at line 231 of file CbmLitTrackFinderNN.cxx.

References CbmLitTrack::CheckParams(), fUsedSeedsSet, CbmLitTrack::GetPreviousTrackId(), CbmLitTrack::GetQuality(), kLITBAD, and tracks.

Referenced by DoFind().

◆ DoFind()

◆ FollowTracks()

◆ InitTrackSeeds()

void CbmLitTrackFinderNN::InitTrackSeeds ( TrackPtrIterator itBegin,
TrackPtrIterator itEnd )
protected

Initialize track seeds and copy to local array.

Parameters
[in]itBeginIterator to the first track seed.
[in]itEndIterator to the last track seed.

Definition at line 103 of file CbmLitTrackFinderNN.cxx.

References fIteration, fPDG, fSeedSelection, fTracks, fUsedSeedsSet, CbmLitTrack::GetPreviousTrackId(), CbmLitTrack::GetQuality(), kLITBAD, kLITGOOD, CbmLitTrack::SetChi2(), and CbmLitTrack::SetPDG().

Referenced by DoFind().

◆ RemoveHits()

void CbmLitTrackFinderNN::RemoveHits ( TrackPtrIterator itBegin,
TrackPtrIterator itEnd )
protected

Write already used hits to a used hits set.

Parameters
[in]Iteratorto the first track.
[in]Iteratorto the last track.

Definition at line 218 of file CbmLitTrackFinderNN.cxx.

References fUsedHitsSet, CbmLitTrack::GetHit(), CbmLitTrack::GetNofHits(), CbmLitTrack::GetQuality(), CbmLitHit::GetRefId(), and kLITBAD.

Referenced by DoFind().

◆ SetChiSqPixelHitCut()

void CbmLitTrackFinderNN::SetChiSqPixelHitCut ( const vector< litfloat > & chiSqPixelHitCut)
inline

Definition at line 55 of file CbmLitTrackFinderNN.h.

References fChiSqPixelHitCut.

Referenced by CbmLitToolFactory::CreateTrackFinder().

◆ SetChiSqStripHitCut()

void CbmLitTrackFinderNN::SetChiSqStripHitCut ( const vector< litfloat > & chiSqStripHitCut)
inline

Definition at line 54 of file CbmLitTrackFinderNN.h.

References fChiSqStripHitCut.

Referenced by CbmLitToolFactory::CreateTrackFinder().

◆ SetFilter()

void CbmLitTrackFinderNN::SetFilter ( TrackUpdatePtr filter)
inline

Definition at line 49 of file CbmLitTrackFinderNN.h.

References fFilter.

Referenced by CbmLitToolFactory::CreateTrackFinder().

◆ SetFinalSelection()

void CbmLitTrackFinderNN::SetFinalSelection ( TrackSelectionPtr finalSelection)
inline

Definition at line 47 of file CbmLitTrackFinderNN.h.

References fFinalSelection.

Referenced by CbmLitToolFactory::CreateTrackFinder().

◆ SetMaxNofMissingHits()

void CbmLitTrackFinderNN::SetMaxNofMissingHits ( const vector< Int_t > & maxNofMissingHits)
inline

Definition at line 52 of file CbmLitTrackFinderNN.h.

References fMaxNofMissingHits.

Referenced by CbmLitToolFactory::CreateTrackFinder().

◆ SetNofIterations()

void CbmLitTrackFinderNN::SetNofIterations ( Int_t nofIterations)
inline

Definition at line 51 of file CbmLitTrackFinderNN.h.

References fNofIterations.

Referenced by CbmLitToolFactory::CreateTrackFinder().

◆ SetNofStations()

void CbmLitTrackFinderNN::SetNofStations ( Int_t nofStations)
inline

Definition at line 50 of file CbmLitTrackFinderNN.h.

References fNofStations.

Referenced by CbmLitToolFactory::CreateTrackFinder().

◆ SetPDG()

void CbmLitTrackFinderNN::SetPDG ( const vector< Int_t > & pdg)
inline

Definition at line 53 of file CbmLitTrackFinderNN.h.

References fPDG.

Referenced by CbmLitToolFactory::CreateTrackFinder().

◆ SetPropagator()

void CbmLitTrackFinderNN::SetPropagator ( TrackPropagatorPtr propagator)
inline

Definition at line 48 of file CbmLitTrackFinderNN.h.

References fPropagator.

Referenced by CbmLitToolFactory::CreateTrackFinder().

◆ SetSeedSelection()

void CbmLitTrackFinderNN::SetSeedSelection ( TrackSelectionPtr seedSelection)
inline

Definition at line 46 of file CbmLitTrackFinderNN.h.

References fSeedSelection.

Referenced by CbmLitToolFactory::CreateTrackFinder().

◆ SetSigmaCoef()

void CbmLitTrackFinderNN::SetSigmaCoef ( const vector< litfloat > & sigmaCoef)
inline

Definition at line 56 of file CbmLitTrackFinderNN.h.

References fSigmaCoef.

Referenced by CbmLitToolFactory::CreateTrackFinder().

Member Data Documentation

◆ fChiSqPixelHitCut

vector<litfloat> CbmLitTrackFinderNN::fChiSqPixelHitCut
private

Definition at line 108 of file CbmLitTrackFinderNN.h.

Referenced by FollowTracks(), and SetChiSqPixelHitCut().

◆ fChiSqStripHitCut

vector<litfloat> CbmLitTrackFinderNN::fChiSqStripHitCut
private

Definition at line 107 of file CbmLitTrackFinderNN.h.

Referenced by FollowTracks(), and SetChiSqStripHitCut().

◆ fFilter

TrackUpdatePtr CbmLitTrackFinderNN::fFilter
private

Definition at line 99 of file CbmLitTrackFinderNN.h.

Referenced by FollowTracks(), and SetFilter().

◆ fFinalSelection

TrackSelectionPtr CbmLitTrackFinderNN::fFinalSelection
private

Definition at line 97 of file CbmLitTrackFinderNN.h.

Referenced by DoFind(), and SetFinalSelection().

◆ fHitData

CbmLitHitData CbmLitTrackFinderNN::fHitData
private

Definition at line 92 of file CbmLitTrackFinderNN.h.

Referenced by ArrangeHits(), DoFind(), and FollowTracks().

◆ fIteration

Int_t CbmLitTrackFinderNN::fIteration
private

Definition at line 103 of file CbmLitTrackFinderNN.h.

Referenced by DoFind(), FollowTracks(), and InitTrackSeeds().

◆ fMaxNofMissingHits

vector<Int_t> CbmLitTrackFinderNN::fMaxNofMissingHits
private

Definition at line 105 of file CbmLitTrackFinderNN.h.

Referenced by FollowTracks(), and SetMaxNofMissingHits().

◆ fNofIterations

Int_t CbmLitTrackFinderNN::fNofIterations
private

Definition at line 102 of file CbmLitTrackFinderNN.h.

Referenced by DoFind(), and SetNofIterations().

◆ fNofStations

Int_t CbmLitTrackFinderNN::fNofStations
private

Definition at line 101 of file CbmLitTrackFinderNN.h.

Referenced by DoFind(), FollowTracks(), and SetNofStations().

◆ fPDG

vector<Int_t> CbmLitTrackFinderNN::fPDG
private

Definition at line 106 of file CbmLitTrackFinderNN.h.

Referenced by FollowTracks(), InitTrackSeeds(), and SetPDG().

◆ fPropagator

TrackPropagatorPtr CbmLitTrackFinderNN::fPropagator
private

Definition at line 98 of file CbmLitTrackFinderNN.h.

Referenced by FollowTracks(), and SetPropagator().

◆ fSeedSelection

TrackSelectionPtr CbmLitTrackFinderNN::fSeedSelection
private

Definition at line 96 of file CbmLitTrackFinderNN.h.

Referenced by InitTrackSeeds(), and SetSeedSelection().

◆ fSigmaCoef

vector<litfloat> CbmLitTrackFinderNN::fSigmaCoef
private

Definition at line 109 of file CbmLitTrackFinderNN.h.

Referenced by FollowTracks(), and SetSigmaCoef().

◆ fTracks

TrackPtrVector CbmLitTrackFinderNN::fTracks
private

Definition at line 91 of file CbmLitTrackFinderNN.h.

Referenced by DoFind(), and InitTrackSeeds().

◆ fUsedHitsSet

std::set<Int_t> CbmLitTrackFinderNN::fUsedHitsSet
private

Definition at line 93 of file CbmLitTrackFinderNN.h.

Referenced by ArrangeHits(), DoFind(), and RemoveHits().

◆ fUsedSeedsSet

std::set<Int_t> CbmLitTrackFinderNN::fUsedSeedsSet
private

Definition at line 94 of file CbmLitTrackFinderNN.h.

Referenced by CopyToOutput(), DoFind(), and InitTrackSeeds().


The documentation for this class was generated from the following files: