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

#include <CbmL1GlobalTrackFinder.h>

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

Public Member Functions

 CbmL1GlobalTrackFinder ()
 
virtual ~CbmL1GlobalTrackFinder ()
 
virtual void Init ()
 
virtual Int_t DoFind ()
 
virtual Int_t FindTracks (CbmEvent *event)
 
void SetDefaultParticlePDG (int pdg=13)
 
void SetGlobalTracksArray (TClonesArray *tracks)
 
void SetStsTracksArray (TClonesArray *tracks)
 
void SetMuchTracksArray (TClonesArray *tracks)
 
void SetTrdTracksArray (TClonesArray *tracks)
 
void SetTofTracksArray (TClonesArray *tracks)
 
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

TClonesArray * fGlobalTracks
 
TClonesArray * fStsTracks
 
TClonesArray * fMuchTracks
 
TClonesArray * fTrdTracks
 
TClonesArray * fTofTracks
 
CbmStsDigiScheme * fDigiScheme
 
FairField * fField
 
TClonesArray * fMvdHits
 
TClonesArray * fStsHits
 
TClonesArray * fTracks
 
TClonesArray * fStsClusters
 
Int_t fVerbose
 

Private Member Functions

Int_t CopyL1Tracks (CbmEvent *event=nullptr)
 
void CbmL1TrackToCbmTrack (CbmL1Track T, CbmTrack *track, int systemIdT)
 
void CbmL1TrackToCbmStsTrack (CbmL1Track T, CbmStsTrack *track)
 
void CbmL1TrackToCbmMuchTrack (CbmL1Track T, CbmMuchTrack *track, int systemIdT)
 
void CbmL1TrackToCbmTrdTrack (CbmL1Track T, CbmTrdTrack *track, int systemIdT)
 
void CbmL1TrackToCbmTofTrack (CbmL1Track T, CbmTofTrack *track, int systemIdT)
 
 CbmL1GlobalTrackFinder (const CbmL1GlobalTrackFinder &)
 
CbmL1GlobalTrackFinderoperator= (const CbmL1GlobalTrackFinder &)
 
 ClassDef (CbmL1GlobalTrackFinder, 1)
 
double VecMedian (std::vector< double > &vec)
 

Static Private Member Functions

static constexpr int MaxAdcVal ()
 

Detailed Description

Definition at line 39 of file CbmL1GlobalTrackFinder.h.

Constructor & Destructor Documentation

◆ CbmL1GlobalTrackFinder() [1/2]

CbmL1GlobalTrackFinder::CbmL1GlobalTrackFinder ( )

Default constructor

◆ ~CbmL1GlobalTrackFinder()

CbmL1GlobalTrackFinder::~CbmL1GlobalTrackFinder ( )
virtual

Destructor

Definition at line 57 of file CbmL1GlobalTrackFinder.cxx.

◆ CbmL1GlobalTrackFinder() [2/2]

CbmL1GlobalTrackFinder::CbmL1GlobalTrackFinder ( const CbmL1GlobalTrackFinder & )
private

Member Function Documentation

◆ CalculateEloss()

◆ CbmL1TrackToCbmMuchTrack()

void CbmL1GlobalTrackFinder::CbmL1TrackToCbmMuchTrack ( CbmL1Track T,
CbmMuchTrack * track,
int systemIdT )
private

◆ CbmL1TrackToCbmStsTrack()

◆ CbmL1TrackToCbmTofTrack()

void CbmL1GlobalTrackFinder::CbmL1TrackToCbmTofTrack ( CbmL1Track T,
CbmTofTrack * track,
int systemIdT )
private

◆ CbmL1TrackToCbmTrack()

void CbmL1GlobalTrackFinder::CbmL1TrackToCbmTrack ( CbmL1Track T,
CbmTrack * track,
int systemIdT )
private

◆ CbmL1TrackToCbmTrdTrack()

void CbmL1GlobalTrackFinder::CbmL1TrackToCbmTrdTrack ( CbmL1Track T,
CbmTrdTrack * track,
int systemIdT )
private

◆ ClassDef()

CbmL1GlobalTrackFinder::ClassDef ( CbmL1GlobalTrackFinder ,
1  )
private

◆ CopyL1Tracks()

◆ DoFind()

Int_t CbmL1GlobalTrackFinder::DoFind ( )
virtual

Track finding algorithm

Implements CbmStsTrackFinder.

Definition at line 265 of file CbmL1GlobalTrackFinder.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 CbmL1GlobalTrackFinder::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 286 of file CbmL1GlobalTrackFinder.cxx.

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

Referenced by CbmGlobalFindTracksEvents::ProcessEvent(), and CbmL1GlobalFindTracksEvents::ProcessEvent().

◆ 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 CbmL1GlobalTrackFinder::Init ( )
virtual

Initialisation

Reimplemented from CbmStsTrackFinder.

Definition at line 61 of file CbmL1GlobalTrackFinder.cxx.

Referenced by CbmGlobalFindTracksEvents::Init(), and CbmL1GlobalFindTracksEvents::Init().

◆ MaxAdcVal()

static constexpr int CbmStsTrackFinder::MaxAdcVal ( )
inlinestaticconstexprprivateinherited

Definition at line 103 of file CbmStsTrackFinder.h.

Referenced by CbmStsTrackFinder::CalculateEloss().

◆ operator=()

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

◆ SetDefaultParticlePDG()

void CbmL1GlobalTrackFinder::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

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

Definition at line 301 of file CbmL1GlobalTrackFinder.cxx.

References CbmL1::fpAlgo, CbmL1::Instance(), and cbm::algo::ca::Framework::SetDefaultParticleMass().

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

◆ SetGlobalTracksArray()

void CbmL1GlobalTrackFinder::SetGlobalTracksArray ( TClonesArray * tracks)
inline

◆ SetMuchTracksArray()

void CbmL1GlobalTrackFinder::SetMuchTracksArray ( TClonesArray * tracks)
inline

◆ SetMvdHitArray()

void CbmStsTrackFinder::SetMvdHitArray ( TClonesArray * hits)
inlineinherited

◆ SetStsHitArray()

void CbmStsTrackFinder::SetStsHitArray ( TClonesArray * hits)
inlineinherited

◆ SetStsTracksArray()

void CbmL1GlobalTrackFinder::SetStsTracksArray ( TClonesArray * tracks)
inline

◆ SetTofTracksArray()

void CbmL1GlobalTrackFinder::SetTofTracksArray ( TClonesArray * tracks)
inline

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

◆ SetTrdTracksArray()

void CbmL1GlobalTrackFinder::SetTrdTracksArray ( TClonesArray * tracks)
inline

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

◆ fGlobalTracks

TClonesArray* CbmL1GlobalTrackFinder::fGlobalTracks
protected

Definition at line 75 of file CbmL1GlobalTrackFinder.h.

Referenced by CopyL1Tracks(), and SetGlobalTracksArray().

◆ fMuchTracks

TClonesArray* CbmL1GlobalTrackFinder::fMuchTracks
protected

Definition at line 77 of file CbmL1GlobalTrackFinder.h.

Referenced by CopyL1Tracks(), and SetMuchTracksArray().

◆ 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

◆ fStsTracks

TClonesArray* CbmL1GlobalTrackFinder::fStsTracks
protected

Definition at line 76 of file CbmL1GlobalTrackFinder.h.

Referenced by CopyL1Tracks(), and SetStsTracksArray().

◆ fTofTracks

TClonesArray* CbmL1GlobalTrackFinder::fTofTracks
protected

Definition at line 79 of file CbmL1GlobalTrackFinder.h.

Referenced by CopyL1Tracks(), and SetTofTracksArray().

◆ fTracks

◆ fTrdTracks

TClonesArray* CbmL1GlobalTrackFinder::fTrdTracks
protected

Definition at line 78 of file CbmL1GlobalTrackFinder.h.

Referenced by CopyL1Tracks(), and SetTrdTracksArray().

◆ fVerbose


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