CbmRoot
Loading...
Searching...
No Matches
CbmStsTrackFinder Class Referenceabstract

#include <CbmStsTrackFinder.h>

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

Public Member Functions

 CbmStsTrackFinder ()
 
virtual ~CbmStsTrackFinder ()
 
virtual void Init ()
 
virtual Int_t DoFind ()=0
 
void FillEloss ()
 Calculate the median energy loss for the tracks and fill the respective data members.
 
virtual void Finish ()
 
virtual Int_t FindTracks (CbmEvent *event)=0
 
void SetDigiScheme (CbmStsDigiScheme *scheme)
 
void SetField (FairField *field)
 
void SetMvdHitArray (TClonesArray *hits)
 
void SetStsHitArray (TClonesArray *hits)
 
void SetTrackArray (TClonesArray *tracks)
 
void SetVerbose (Int_t verbose)
 

Protected Member Functions

double CalculateEloss (CbmStsTrack *cbmStsTrack)
 

Protected Attributes

CbmStsDigiScheme * fDigiScheme
 
FairField * fField
 
TClonesArray * fMvdHits
 
TClonesArray * fStsHits
 
TClonesArray * fTracks
 
TClonesArray * fStsClusters
 
Int_t fVerbose
 

Private Member Functions

double VecMedian (std::vector< double > &vec)
 
 CbmStsTrackFinder (const CbmStsTrackFinder &)
 
CbmStsTrackFinderoperator= (const CbmStsTrackFinder &)
 
 ClassDef (CbmStsTrackFinder, 1)
 

Static Private Member Functions

static constexpr int MaxAdcVal ()
 

Detailed Description

Definition at line 34 of file CbmStsTrackFinder.h.

Constructor & Destructor Documentation

◆ CbmStsTrackFinder() [1/2]

CbmStsTrackFinder::CbmStsTrackFinder ( )

Default constructor

Definition at line 23 of file CbmStsTrackFinder.cxx.

◆ ~CbmStsTrackFinder()

virtual CbmStsTrackFinder::~CbmStsTrackFinder ( )
inlinevirtual

Destructor

Definition at line 42 of file CbmStsTrackFinder.h.

◆ CbmStsTrackFinder() [2/2]

CbmStsTrackFinder::CbmStsTrackFinder ( const CbmStsTrackFinder & )
private

Member Function Documentation

◆ CalculateEloss()

◆ ClassDef()

CbmStsTrackFinder::ClassDef ( CbmStsTrackFinder ,
1  )
private

◆ DoFind()

virtual Int_t CbmStsTrackFinder::DoFind ( )
pure virtual

Abstract method DoFind. To be implemented in the concrete class. Task: Read the hit array and fill the track array, pointers to which are private members and set by the task

@value Number of tracks created

Implemented in CbmL1GlobalTrackFinder, CbmL1StsTrackFinder, and CbmStsTrackFinderIdeal.

Referenced by CbmStsFindTracks::Exec().

◆ FillEloss()

void CbmStsTrackFinder::FillEloss ( )

Calculate the median energy loss for the tracks and fill the respective data members.

Definition at line 111 of file CbmStsTrackFinder.cxx.

References CalculateEloss(), fTracks, and CbmStsTrack::SetELoss().

Referenced by CbmStsFindTracks::Exec(), and CbmStsFindTracksEvents::ProcessEvent().

◆ FindTracks()

virtual Int_t CbmStsTrackFinder::FindTracks ( CbmEvent * event)
pure virtual

Track finding in one event (abstract)

Parameters
eventPointer to event object
nTracksNumber of StsTrack objects created

Implemented in CbmL1GlobalTrackFinder, CbmL1StsTrackFinder, and CbmStsTrackFinderIdeal.

Referenced by CbmStsFindTracksEvents::ProcessEvent().

◆ Finish()

virtual void CbmStsTrackFinder::Finish ( )
inlinevirtual

Virtual method Finish. If needed, to be implemented in the concrete class. Executed at the end of the run.

Definition at line 66 of file CbmStsTrackFinder.h.

Referenced by CbmStsFindTracks::Finish().

◆ Init()

virtual void CbmStsTrackFinder::Init ( )
inlinevirtual

Virtual method Init. If needed, to be implemented in the concrete class. Else no action.

Reimplemented in CbmL1GlobalTrackFinder, CbmL1StsTrackFinder, and CbmStsTrackFinderIdeal.

Definition at line 48 of file CbmStsTrackFinder.h.

Referenced by CbmStsFindTracks::Init(), and CbmStsFindTracksEvents::Init().

◆ MaxAdcVal()

static constexpr int CbmStsTrackFinder::MaxAdcVal ( )
inlinestaticconstexprprivate

Definition at line 103 of file CbmStsTrackFinder.h.

Referenced by CalculateEloss().

◆ operator=()

CbmStsTrackFinder & CbmStsTrackFinder::operator= ( const CbmStsTrackFinder & )
private

◆ SetDigiScheme()

void CbmStsTrackFinder::SetDigiScheme ( CbmStsDigiScheme * scheme)
inline

Modifiers

Definition at line 77 of file CbmStsTrackFinder.h.

References fDigiScheme.

◆ SetField()

void CbmStsTrackFinder::SetField ( FairField * field)
inline

Definition at line 78 of file CbmStsTrackFinder.h.

References fField.

Referenced by CbmStsFindTracks::Init().

◆ SetMvdHitArray()

void CbmStsTrackFinder::SetMvdHitArray ( TClonesArray * hits)
inline

◆ SetStsHitArray()

void CbmStsTrackFinder::SetStsHitArray ( TClonesArray * hits)
inline

◆ SetTrackArray()

void CbmStsTrackFinder::SetTrackArray ( TClonesArray * tracks)
inline

Definition at line 81 of file CbmStsTrackFinder.h.

References fTracks, and tracks.

Referenced by CbmStsFindTracks::Init(), and CbmStsFindTracksEvents::Init().

◆ SetVerbose()

void CbmStsTrackFinder::SetVerbose ( Int_t verbose)
inline

Definition at line 82 of file CbmStsTrackFinder.h.

References fVerbose.

Referenced by CbmStsFindTracks::Init().

◆ VecMedian()

double CbmStsTrackFinder::VecMedian ( std::vector< double > & vec)
private

Calculate median value of a vector

Definition at line 35 of file CbmStsTrackFinder.cxx.

Referenced by CalculateEloss().

Member Data Documentation

◆ fDigiScheme

CbmStsDigiScheme* CbmStsTrackFinder::fDigiScheme
protected

Definition at line 86 of file CbmStsTrackFinder.h.

Referenced by SetDigiScheme().

◆ fField

FairField* CbmStsTrackFinder::fField
protected

Definition at line 87 of file CbmStsTrackFinder.h.

Referenced by SetField().

◆ fMvdHits

TClonesArray* CbmStsTrackFinder::fMvdHits
protected

Definition at line 88 of file CbmStsTrackFinder.h.

Referenced by SetMvdHitArray().

◆ fStsClusters

TClonesArray* CbmStsTrackFinder::fStsClusters
protected

Definition at line 91 of file CbmStsTrackFinder.h.

Referenced by CalculateEloss().

◆ fStsHits

TClonesArray* CbmStsTrackFinder::fStsHits
protected

◆ fTracks

◆ fVerbose


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