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

#include <CbmLitTrackSelectionCuts.h>

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

Public Member Functions

 CbmLitTrackSelectionCuts ()
 
 CbmLitTrackSelectionCuts (litfloat maxChiSq, int minLastPlaneId, int minNofHits, litfloat minMomentum)
 
virtual ~CbmLitTrackSelectionCuts ()
 
virtual LitStatus DoSelect (TrackPtrIterator itBegin, TrackPtrIterator itEnd)
 Main function to be implemented for concrete track selection algorithm.
 
virtual LitStatus DoSelect (TrackPtrVector &tracks)
 Main function to be implemented for concrete track selection algorithm.
 
litfloat GetMaxChiSq () const
 
int GetMinLastPlaneId () const
 
int GetMinNofHits () const
 
litfloat GetMinMomentum () const
 
void SetMaxChiSq (litfloat maxChiSq)
 
void SetMinLastPlaneId (int minLastPlaneId)
 
void SetMinNofHits (int minNofHits)
 
void SetMinMomentum (litfloat minMomentum)
 

Private Attributes

litfloat fMaxChiSq
 
int fMinLastPlaneId
 
int fMinNofHits
 
litfloat fMinMomentum
 

Detailed Description

Definition at line 13 of file CbmLitTrackSelectionCuts.h.

Constructor & Destructor Documentation

◆ CbmLitTrackSelectionCuts() [1/2]

CbmLitTrackSelectionCuts::CbmLitTrackSelectionCuts ( )

Definition at line 12 of file CbmLitTrackSelectionCuts.cxx.

◆ CbmLitTrackSelectionCuts() [2/2]

CbmLitTrackSelectionCuts::CbmLitTrackSelectionCuts ( litfloat maxChiSq,
int minLastPlaneId,
int minNofHits,
litfloat minMomentum )

Definition at line 20 of file CbmLitTrackSelectionCuts.cxx.

◆ ~CbmLitTrackSelectionCuts()

CbmLitTrackSelectionCuts::~CbmLitTrackSelectionCuts ( )
virtual

Definition at line 29 of file CbmLitTrackSelectionCuts.cxx.

Member Function Documentation

◆ DoSelect() [1/2]

LitStatus CbmLitTrackSelectionCuts::DoSelect ( TrackPtrIterator itBegin,
TrackPtrIterator itEnd )
virtual

Main function to be implemented for concrete track selection algorithm.

Parameters
[in]itBeginIterator to first track.
[in]itEndIterator to last track.
Returns
Status code.

Implements CbmLitTrackSelection.

Definition at line 31 of file CbmLitTrackSelectionCuts.cxx.

References fMaxChiSq, fMinLastPlaneId, fMinMomentum, fMinNofHits, kLITBAD, and kLITSUCCESS.

Referenced by DoSelect().

◆ DoSelect() [2/2]

LitStatus CbmLitTrackSelectionCuts::DoSelect ( TrackPtrVector & tracks)
virtual

Main function to be implemented for concrete track selection algorithm.

Parameters
tracksInput track array.
Returns
Status code.

Implements CbmLitTrackSelection.

Definition at line 63 of file CbmLitTrackSelectionCuts.cxx.

References DoSelect(), and tracks.

◆ GetMaxChiSq()

litfloat CbmLitTrackSelectionCuts::GetMaxChiSq ( ) const
inline

Definition at line 31 of file CbmLitTrackSelectionCuts.h.

References fMaxChiSq.

◆ GetMinLastPlaneId()

int CbmLitTrackSelectionCuts::GetMinLastPlaneId ( ) const
inline

Definition at line 34 of file CbmLitTrackSelectionCuts.h.

References fMinLastPlaneId.

◆ GetMinMomentum()

litfloat CbmLitTrackSelectionCuts::GetMinMomentum ( ) const
inline

Definition at line 40 of file CbmLitTrackSelectionCuts.h.

References fMinMomentum.

◆ GetMinNofHits()

int CbmLitTrackSelectionCuts::GetMinNofHits ( ) const
inline

Definition at line 37 of file CbmLitTrackSelectionCuts.h.

References fMinNofHits.

◆ SetMaxChiSq()

void CbmLitTrackSelectionCuts::SetMaxChiSq ( litfloat maxChiSq)
inline

Definition at line 43 of file CbmLitTrackSelectionCuts.h.

References fMaxChiSq.

Referenced by CbmLitToolFactory::CreateTrackSelection().

◆ SetMinLastPlaneId()

void CbmLitTrackSelectionCuts::SetMinLastPlaneId ( int minLastPlaneId)
inline

Definition at line 46 of file CbmLitTrackSelectionCuts.h.

References fMinLastPlaneId.

◆ SetMinMomentum()

void CbmLitTrackSelectionCuts::SetMinMomentum ( litfloat minMomentum)
inline

Definition at line 52 of file CbmLitTrackSelectionCuts.h.

References fMinMomentum.

Referenced by CbmLitToolFactory::CreateTrackSelection().

◆ SetMinNofHits()

void CbmLitTrackSelectionCuts::SetMinNofHits ( int minNofHits)
inline

Definition at line 49 of file CbmLitTrackSelectionCuts.h.

References fMinNofHits.

Member Data Documentation

◆ fMaxChiSq

litfloat CbmLitTrackSelectionCuts::fMaxChiSq
private

Definition at line 56 of file CbmLitTrackSelectionCuts.h.

Referenced by DoSelect(), GetMaxChiSq(), and SetMaxChiSq().

◆ fMinLastPlaneId

int CbmLitTrackSelectionCuts::fMinLastPlaneId
private

Definition at line 58 of file CbmLitTrackSelectionCuts.h.

Referenced by DoSelect(), GetMinLastPlaneId(), and SetMinLastPlaneId().

◆ fMinMomentum

litfloat CbmLitTrackSelectionCuts::fMinMomentum
private

Definition at line 62 of file CbmLitTrackSelectionCuts.h.

Referenced by DoSelect(), GetMinMomentum(), and SetMinMomentum().

◆ fMinNofHits

int CbmLitTrackSelectionCuts::fMinNofHits
private

Definition at line 60 of file CbmLitTrackSelectionCuts.h.

Referenced by DoSelect(), GetMinNofHits(), and SetMinNofHits().


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