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

#include <CbmL1StsTrackFinder.h>

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

Public Member Functions

 CbmL1StsTrackFinder ()
 
 ~CbmL1StsTrackFinder ()
 
void Init ()
 
Int_t DoFind ()
 
Int_t FindTracks (CbmEvent *event)
 
void SetDefaultParticlePDG (int pdg=13)
 
void FillEloss ()
 Calculate the median energy loss for the tracks and fill the respective data members.
 
virtual void Finish ()
 
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

Int_t CopyL1Tracks (CbmEvent *event=nullptr)
 
 ClassDef (CbmL1StsTrackFinder, 1)
 
double VecMedian (std::vector< double > &vec)
 

Static Private Member Functions

static constexpr int MaxAdcVal ()
 

Detailed Description

Definition at line 32 of file CbmL1StsTrackFinder.h.

Constructor & Destructor Documentation

◆ CbmL1StsTrackFinder()

CbmL1StsTrackFinder::CbmL1StsTrackFinder ( )

Default constructor

◆ ~CbmL1StsTrackFinder()

CbmL1StsTrackFinder::~CbmL1StsTrackFinder ( )

Destructor

Definition at line 48 of file CbmL1StsTrackFinder.cxx.

Member Function Documentation

◆ CalculateEloss()

◆ ClassDef()

CbmL1StsTrackFinder::ClassDef ( CbmL1StsTrackFinder ,
1  )
private

◆ CopyL1Tracks()

◆ DoFind()

Int_t CbmL1StsTrackFinder::DoFind ( )
virtual

Track finding algorithm

Implements CbmStsTrackFinder.

Definition at line 104 of file CbmL1StsTrackFinder.cxx.

References CopyL1Tracks(), CbmStsTrackFinder::fTracks, CbmL1::Instance(), and CbmL1::Reconstruct().

◆ FillEloss()

void CbmStsTrackFinder::FillEloss ( )
inherited

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

Definition at line 111 of file CbmStsTrackFinder.cxx.

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

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

◆ FindTracks()

Int_t CbmL1StsTrackFinder::FindTracks ( CbmEvent * event)
virtual

Execute track finding on one event

Parameters
eventPointer to event object @value Number of created tracks

Implements CbmStsTrackFinder.

Definition at line 125 of file CbmL1StsTrackFinder.cxx.

References CopyL1Tracks(), CbmL1::Instance(), and CbmL1::Reconstruct().

◆ Finish()

virtual void CbmStsTrackFinder::Finish ( )
inlinevirtualinherited

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()

void CbmL1StsTrackFinder::Init ( )
virtual

Initialisation

Reimplemented from CbmStsTrackFinder.

Definition at line 53 of file CbmL1StsTrackFinder.cxx.

◆ MaxAdcVal()

static constexpr int CbmStsTrackFinder::MaxAdcVal ( )
inlinestaticconstexprprivateinherited

Definition at line 103 of file CbmStsTrackFinder.h.

Referenced by CbmStsTrackFinder::CalculateEloss().

◆ SetDefaultParticlePDG()

void CbmL1StsTrackFinder::SetDefaultParticlePDG ( int pdg = 13)

set a default particle mass for the track fit it is used during reconstruction for the multiple scattering and energy loss estimation

◆ SetDigiScheme()

void CbmStsTrackFinder::SetDigiScheme ( CbmStsDigiScheme * scheme)
inlineinherited

Modifiers

Definition at line 77 of file CbmStsTrackFinder.h.

References CbmStsTrackFinder::fDigiScheme.

◆ SetField()

void CbmStsTrackFinder::SetField ( FairField * field)
inlineinherited

Definition at line 78 of file CbmStsTrackFinder.h.

References CbmStsTrackFinder::fField.

Referenced by CbmStsFindTracks::Init().

◆ SetMvdHitArray()

void CbmStsTrackFinder::SetMvdHitArray ( TClonesArray * hits)
inlineinherited

◆ SetStsHitArray()

void CbmStsTrackFinder::SetStsHitArray ( TClonesArray * hits)
inlineinherited

◆ SetTrackArray()

void CbmStsTrackFinder::SetTrackArray ( TClonesArray * tracks)
inlineinherited

Definition at line 81 of file CbmStsTrackFinder.h.

References CbmStsTrackFinder::fTracks, and tracks.

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

◆ SetVerbose()

void CbmStsTrackFinder::SetVerbose ( Int_t verbose)
inlineinherited

Definition at line 82 of file CbmStsTrackFinder.h.

References CbmStsTrackFinder::fVerbose.

Referenced by CbmStsFindTracks::Init().

◆ VecMedian()

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

Calculate median value of a vector

Definition at line 35 of file CbmStsTrackFinder.cxx.

Referenced by CbmStsTrackFinder::CalculateEloss().

Member Data Documentation

◆ fDigiScheme

CbmStsDigiScheme* CbmStsTrackFinder::fDigiScheme
protectedinherited

Definition at line 86 of file CbmStsTrackFinder.h.

Referenced by CbmStsTrackFinder::SetDigiScheme().

◆ fField

FairField* CbmStsTrackFinder::fField
protectedinherited

Definition at line 87 of file CbmStsTrackFinder.h.

Referenced by CbmStsTrackFinder::SetField().

◆ fMvdHits

TClonesArray* CbmStsTrackFinder::fMvdHits
protectedinherited

Definition at line 88 of file CbmStsTrackFinder.h.

Referenced by CbmStsTrackFinder::SetMvdHitArray().

◆ fStsClusters

TClonesArray* CbmStsTrackFinder::fStsClusters
protectedinherited

Definition at line 91 of file CbmStsTrackFinder.h.

Referenced by CbmStsTrackFinder::CalculateEloss().

◆ fStsHits

TClonesArray* CbmStsTrackFinder::fStsHits
protectedinherited

◆ fTracks

TClonesArray* CbmStsTrackFinder::fTracks
protectedinherited

◆ fVerbose


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