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

#include <CbmLitTrackFinderBranch.h>

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

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

Detailed Description

Definition at line 32 of file CbmLitTrackFinderBranch.h.

Constructor & Destructor Documentation

◆ CbmLitTrackFinderBranch()

CbmLitTrackFinderBranch::CbmLitTrackFinderBranch ( )

Constructor.

Definition at line 30 of file CbmLitTrackFinderBranch.cxx.

◆ ~CbmLitTrackFinderBranch()

CbmLitTrackFinderBranch::~CbmLitTrackFinderBranch ( )
virtual

Destructor.

Definition at line 52 of file CbmLitTrackFinderBranch.cxx.

Member Function Documentation

◆ ArrangeHits()

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

◆ CopyToOutput()

void CbmLitTrackFinderBranch::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 274 of file CbmLitTrackFinderBranch.cxx.

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

Referenced by DoFind().

◆ DoFind()

◆ FollowTracks()

◆ InitTrackSeeds()

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

Initialize track seeds.

Parameters
[in]itBeginIterator to the first track seed.
[in]itEndIterator 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().

◆ RemoveHits()

void CbmLitTrackFinderBranch::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 261 of file CbmLitTrackFinderBranch.cxx.

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

Referenced by DoFind().

◆ SetChiSqPixelHitCut()

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

Definition at line 59 of file CbmLitTrackFinderBranch.h.

References fChiSqPixelHitCut.

Referenced by CbmLitToolFactory::CreateTrackFinder().

◆ SetChiSqStripHitCut()

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

Definition at line 58 of file CbmLitTrackFinderBranch.h.

References fChiSqStripHitCut.

Referenced by CbmLitToolFactory::CreateTrackFinder().

◆ SetFilter()

void CbmLitTrackFinderBranch::SetFilter ( TrackUpdatePtr filter)
inline

Definition at line 52 of file CbmLitTrackFinderBranch.h.

References fFilter.

Referenced by CbmLitToolFactory::CreateTrackFinder().

◆ SetFinalSelection()

void CbmLitTrackFinderBranch::SetFinalSelection ( TrackSelectionPtr finalSelection)
inline

Definition at line 50 of file CbmLitTrackFinderBranch.h.

References fFinalSelection.

Referenced by CbmLitToolFactory::CreateTrackFinder().

◆ SetMaxNofMissingHits()

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

Definition at line 56 of file CbmLitTrackFinderBranch.h.

References fMaxNofMissingHits.

Referenced by CbmLitToolFactory::CreateTrackFinder().

◆ SetNofIterations()

void CbmLitTrackFinderBranch::SetNofIterations ( Int_t nofIterations)
inline

Definition at line 55 of file CbmLitTrackFinderBranch.h.

References fNofIterations.

Referenced by CbmLitToolFactory::CreateTrackFinder().

◆ SetNofStations()

void CbmLitTrackFinderBranch::SetNofStations ( Int_t nofStations)
inline

Definition at line 54 of file CbmLitTrackFinderBranch.h.

References fNofStations.

Referenced by CbmLitToolFactory::CreateTrackFinder().

◆ SetPDG()

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

Definition at line 57 of file CbmLitTrackFinderBranch.h.

References fPDG.

Referenced by CbmLitToolFactory::CreateTrackFinder().

◆ SetPropagator()

void CbmLitTrackFinderBranch::SetPropagator ( TrackPropagatorPtr propagator)
inline

Definition at line 53 of file CbmLitTrackFinderBranch.h.

References fPropagator.

Referenced by CbmLitToolFactory::CreateTrackFinder().

◆ SetSeedSelection()

void CbmLitTrackFinderBranch::SetSeedSelection ( TrackSelectionPtr seedSelection)
inline

Definition at line 51 of file CbmLitTrackFinderBranch.h.

References fSeedSelection.

Referenced by CbmLitToolFactory::CreateTrackFinder().

◆ SetSigmaCoef()

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

Definition at line 60 of file CbmLitTrackFinderBranch.h.

References fSigmaCoef.

Referenced by CbmLitToolFactory::CreateTrackFinder().

Member Data Documentation

◆ fChiSqPixelHitCut

vector<litfloat> CbmLitTrackFinderBranch::fChiSqPixelHitCut
private

Definition at line 115 of file CbmLitTrackFinderBranch.h.

Referenced by FollowTracks(), and SetChiSqPixelHitCut().

◆ fChiSqStripHitCut

vector<litfloat> CbmLitTrackFinderBranch::fChiSqStripHitCut
private

Definition at line 114 of file CbmLitTrackFinderBranch.h.

Referenced by FollowTracks(), and SetChiSqStripHitCut().

◆ fFilter

TrackUpdatePtr CbmLitTrackFinderBranch::fFilter
private

Definition at line 102 of file CbmLitTrackFinderBranch.h.

Referenced by FollowTracks(), and SetFilter().

◆ fFinalSelection

TrackSelectionPtr CbmLitTrackFinderBranch::fFinalSelection
private

Definition at line 100 of file CbmLitTrackFinderBranch.h.

Referenced by DoFind(), and SetFinalSelection().

◆ fHitData

CbmLitHitData CbmLitTrackFinderBranch::fHitData
private

Definition at line 93 of file CbmLitTrackFinderBranch.h.

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

◆ fIteration

Int_t CbmLitTrackFinderBranch::fIteration
private

Definition at line 106 of file CbmLitTrackFinderBranch.h.

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

◆ fMaxNofBranches

Int_t CbmLitTrackFinderBranch::fMaxNofBranches
private

Definition at line 111 of file CbmLitTrackFinderBranch.h.

Referenced by FollowTracks().

◆ fMaxNofHitsInValidationGate

Int_t CbmLitTrackFinderBranch::fMaxNofHitsInValidationGate
private

Definition at line 109 of file CbmLitTrackFinderBranch.h.

Referenced by FollowTracks().

◆ fMaxNofMissingHits

vector<Int_t> CbmLitTrackFinderBranch::fMaxNofMissingHits
private

Definition at line 112 of file CbmLitTrackFinderBranch.h.

Referenced by FollowTracks(), and SetMaxNofMissingHits().

◆ fNofIterations

Int_t CbmLitTrackFinderBranch::fNofIterations
private

Definition at line 105 of file CbmLitTrackFinderBranch.h.

Referenced by DoFind(), and SetNofIterations().

◆ fNofStations

Int_t CbmLitTrackFinderBranch::fNofStations
private

Definition at line 104 of file CbmLitTrackFinderBranch.h.

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

◆ fPDG

vector<Int_t> CbmLitTrackFinderBranch::fPDG
private

Definition at line 113 of file CbmLitTrackFinderBranch.h.

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

◆ fPropagator

TrackPropagatorPtr CbmLitTrackFinderBranch::fPropagator
private

Definition at line 101 of file CbmLitTrackFinderBranch.h.

Referenced by FollowTracks(), and SetPropagator().

◆ fSeedSelection

TrackSelectionPtr CbmLitTrackFinderBranch::fSeedSelection
private

Definition at line 99 of file CbmLitTrackFinderBranch.h.

Referenced by InitTrackSeeds(), and SetSeedSelection().

◆ fSigmaCoef

vector<litfloat> CbmLitTrackFinderBranch::fSigmaCoef
private

Definition at line 116 of file CbmLitTrackFinderBranch.h.

Referenced by FollowTracks(), and SetSigmaCoef().

◆ fTracks

TrackPtrVector CbmLitTrackFinderBranch::fTracks
private

Definition at line 97 of file CbmLitTrackFinderBranch.h.

Referenced by DoFind(), and InitTrackSeeds().

◆ fUsedHitsSet

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

Definition at line 94 of file CbmLitTrackFinderBranch.h.

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

◆ fUsedSeedsSet

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

Definition at line 95 of file CbmLitTrackFinderBranch.h.

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


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