CbmRoot
CbmStsFindTracks Class Reference

#include <CbmStsFindTracks.h>

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

Public Member Functions

 CbmStsFindTracks ()
 
 CbmStsFindTracks (Int_t iVerbose, CbmStsTrackFinder *finder=NULL, Bool_t useMvd=kTRUE, const char *name="STSFindTracks")
 
virtual ~CbmStsFindTracks ()
 
virtual void Exec (Option_t *opt)
 
CbmStsTrackFinderGetFinder ()
 
Bool_t MvdUsage () const
 
void UseFinder (CbmStsTrackFinder *finder)
 

Private Member Functions

virtual void SetParContainers ()
 
virtual InitStatus Init ()
 
virtual void Finish ()
 
 CbmStsFindTracks (const CbmStsFindTracks &)
 
CbmStsFindTracks operator= (const CbmStsFindTracks &)
 
 ClassDef (CbmStsFindTracks, 1)
 

Private Attributes

Bool_t fUseMvd
 
CbmGeoStsPar * fGeoPar
 
CbmStsDigiPar * fDigiPar
 
FairField * fField
 
CbmStsTrackFinderfFinder
 
TClonesArray * fMvdHits
 
TClonesArray * fStsHits
 
TClonesArray * fTracks
 
TStopwatch fTimer
 
Int_t fNEvents
 
Int_t fNEventsFailed
 
Double_t fTime
 
Double_t fNTracks
 

Detailed Description

Definition at line 34 of file CbmStsFindTracks.h.

Constructor & Destructor Documentation

◆ CbmStsFindTracks() [1/3]

CbmStsFindTracks::CbmStsFindTracks ( )

Default constructor

Definition at line 34 of file CbmStsFindTracks.cxx.

◆ CbmStsFindTracks() [2/3]

CbmStsFindTracks::CbmStsFindTracks ( Int_t  iVerbose,
CbmStsTrackFinder finder = NULL,
Bool_t  useMvd = kTRUE,
const char *  name = "STSFindTracks" 
)

Standard constructor

Parameters
verboseVerbosity level
nameTask name
finderPointer to STS track finder concrete class
useMvdInclude MVD hits in track finding

Definition at line 57 of file CbmStsFindTracks.cxx.

References fFinder.

◆ ~CbmStsFindTracks()

CbmStsFindTracks::~CbmStsFindTracks ( )
virtual

Destructor

Definition at line 86 of file CbmStsFindTracks.cxx.

References fFinder, and fTracks.

◆ CbmStsFindTracks() [3/3]

CbmStsFindTracks::CbmStsFindTracks ( const CbmStsFindTracks )
private

Member Function Documentation

◆ ClassDef()

CbmStsFindTracks::ClassDef ( CbmStsFindTracks  ,
 
)
private

◆ Exec()

void CbmStsFindTracks::Exec ( Option_t *  opt)
virtual

Task execution

Definition at line 95 of file CbmStsFindTracks.cxx.

References CbmStsTrackFinder::DoFind(), fFinder, fNEvents, fNTracks, fStsHits, fTime, fTimer, and fTracks.

◆ Finish()

void CbmStsFindTracks::Finish ( )
privatevirtual

Finish at the end of each event

Definition at line 210 of file CbmStsFindTracks.cxx.

References fFinder, CbmStsTrackFinder::Finish(), fNEvents, fNEventsFailed, fNTracks, and fTime.

◆ GetFinder()

CbmStsTrackFinder* CbmStsFindTracks::GetFinder ( )
inline

Accessors

Definition at line 62 of file CbmStsFindTracks.h.

References fFinder.

◆ Init()

◆ MvdUsage()

Bool_t CbmStsFindTracks::MvdUsage ( ) const
inline

Return if Mvd is used or not

Definition at line 65 of file CbmStsFindTracks.h.

References fUseMvd.

Referenced by CbmL1::Init().

◆ operator=()

CbmStsFindTracks CbmStsFindTracks::operator= ( const CbmStsFindTracks )
private

◆ SetParContainers()

void CbmStsFindTracks::SetParContainers ( )
privatevirtual

Number of tracks created Get parameter containers

Definition at line 123 of file CbmStsFindTracks.cxx.

References fDigiPar, and fGeoPar.

◆ UseFinder()

void CbmStsFindTracks::UseFinder ( CbmStsTrackFinder finder)
inline

Set concrete track finder

Definition at line 68 of file CbmStsFindTracks.h.

References fFinder.

Member Data Documentation

◆ fDigiPar

CbmStsDigiPar* CbmStsFindTracks::fDigiPar
private

Definition at line 77 of file CbmStsFindTracks.h.

Referenced by SetParContainers().

◆ fField

FairField* CbmStsFindTracks::fField
private

Definition at line 79 of file CbmStsFindTracks.h.

Referenced by Init().

◆ fFinder

CbmStsTrackFinder* CbmStsFindTracks::fFinder
private

◆ fGeoPar

CbmGeoStsPar* CbmStsFindTracks::fGeoPar
private

Definition at line 76 of file CbmStsFindTracks.h.

Referenced by SetParContainers().

◆ fMvdHits

TClonesArray* CbmStsFindTracks::fMvdHits
private

Definition at line 81 of file CbmStsFindTracks.h.

Referenced by Init().

◆ fNEvents

Int_t CbmStsFindTracks::fNEvents
private

Definition at line 85 of file CbmStsFindTracks.h.

Referenced by Exec(), and Finish().

◆ fNEventsFailed

Int_t CbmStsFindTracks::fNEventsFailed
private

Number of events with success

Definition at line 86 of file CbmStsFindTracks.h.

Referenced by Finish().

◆ fNTracks

Double_t CbmStsFindTracks::fNTracks
private

Total real time used for good events

Definition at line 88 of file CbmStsFindTracks.h.

Referenced by Exec(), and Finish().

◆ fStsHits

TClonesArray* CbmStsFindTracks::fStsHits
private

Definition at line 82 of file CbmStsFindTracks.h.

Referenced by Exec(), and Init().

◆ fTime

Double_t CbmStsFindTracks::fTime
private

Number of events with failure

Definition at line 87 of file CbmStsFindTracks.h.

Referenced by Exec(), and Finish().

◆ fTimer

TStopwatch CbmStsFindTracks::fTimer
private

Definition at line 84 of file CbmStsFindTracks.h.

Referenced by Exec().

◆ fTracks

TClonesArray* CbmStsFindTracks::fTracks
private

Definition at line 83 of file CbmStsFindTracks.h.

Referenced by Exec(), Init(), and ~CbmStsFindTracks().

◆ fUseMvd

Bool_t CbmStsFindTracks::fUseMvd
private

Definition at line 75 of file CbmStsFindTracks.h.

Referenced by Init(), and MvdUsage().


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