CbmRoot
CbmL1GlobalTrackFinder Class Reference

#include <CbmL1GlobalTrackFinder.h>

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

Public Member Functions

 CbmL1GlobalTrackFinder ()
 
virtual ~CbmL1GlobalTrackFinder ()
 
virtual InitStatus Init ()
 
virtual void Exec (Option_t *opt)
 
virtual void Finish ()
 
void ProcessEvent (CbmEvent *event)
 
virtual Int_t DoFind ()
 
virtual Int_t FindTracks (CbmEvent *event)
 

Private Member Functions

Int_t CopyL1Tracks (CbmEvent *event=NULL)
 
Int_t CreateGlobalTrackArray (CbmEvent *event, TClonesArray *globalTracks, TClonesArray *stsTracks, TClonesArray *trdTracks, TClonesArray *muchTracks, TClonesArray *tofTracks)
 
 ClassDef (CbmL1GlobalTrackFinder, 1)
 

Private Attributes

TClonesArray * fMuchTracks
 
TClonesArray * fTrdTracks
 
TClonesArray * fTofTracks
 
TClonesArray * fGlobalTracks
 
TClonesArray * fMvdHits
 
TClonesArray * fStsHits
 
TClonesArray * fTracks
 
TClonesArray * fEvents
 
TStopwatch fTimer
 Array of CbmEvent objects. More...
 
Int_t fNofEvents
 Timer. More...
 
Double_t fNofHits
 Number of hits. More...
 
Double_t fNofTracks
 Number of tracks created. More...
 
Double_t fTime
 Total real time used for good events. More...
 
Int_t fEventNo
 

Detailed Description

Definition at line 36 of file CbmL1GlobalTrackFinder.h.

Constructor & Destructor Documentation

◆ CbmL1GlobalTrackFinder()

CbmL1GlobalTrackFinder::CbmL1GlobalTrackFinder ( )

Default constructor

◆ ~CbmL1GlobalTrackFinder()

CbmL1GlobalTrackFinder::~CbmL1GlobalTrackFinder ( )
virtual

Destructor

Definition at line 50 of file CbmL1GlobalTrackFinder.cxx.

Member Function Documentation

◆ ClassDef()

CbmL1GlobalTrackFinder::ClassDef ( CbmL1GlobalTrackFinder  ,
 
)
private

◆ CopyL1Tracks()

◆ CreateGlobalTrackArray()

◆ DoFind()

Int_t CbmL1GlobalTrackFinder::DoFind ( )
virtual

Track finding algorithm

Definition at line 377 of file CbmL1GlobalTrackFinder.cxx.

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

◆ Exec()

void CbmL1GlobalTrackFinder::Exec ( Option_t *  opt)
virtual

Definition at line 96 of file CbmL1GlobalTrackFinder.cxx.

References fEventNo, fEvents, fTracks, and 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

Definition at line 397 of file CbmL1GlobalTrackFinder.cxx.

References CreateGlobalTrackArray(), fGlobalTracks, fMuchTracks, fTofTracks, fTracks, and fTrdTracks.

Referenced by ProcessEvent().

◆ Finish()

void CbmL1GlobalTrackFinder::Finish ( )
virtual

Definition at line 418 of file CbmL1GlobalTrackFinder.cxx.

References fNofEvents, fNofHits, fNofTracks, and fTime.

◆ Init()

InitStatus CbmL1GlobalTrackFinder::Init ( )
virtual

Initialisation

Definition at line 54 of file CbmL1GlobalTrackFinder.cxx.

References fEvents, fGlobalTracks, fMuchTracks, fMvdHits, fStsHits, fTofTracks, and fTrdTracks.

◆ ProcessEvent()

void CbmL1GlobalTrackFinder::ProcessEvent ( CbmEvent event)

Definition at line 122 of file CbmL1GlobalTrackFinder.cxx.

References eventNumber, fEvents, FindTracks(), fNofEvents, fNofHits, fNofTracks, fStsHits, fTime, fTimer, and kStsHit.

Referenced by Exec().

Member Data Documentation

◆ fEventNo

Int_t CbmL1GlobalTrackFinder::fEventNo
private

Definition at line 85 of file CbmL1GlobalTrackFinder.h.

Referenced by Exec().

◆ fEvents

TClonesArray* CbmL1GlobalTrackFinder::fEvents
private

Definition at line 78 of file CbmL1GlobalTrackFinder.h.

Referenced by Exec(), Init(), and ProcessEvent().

◆ fGlobalTracks

TClonesArray* CbmL1GlobalTrackFinder::fGlobalTracks
private

Definition at line 72 of file CbmL1GlobalTrackFinder.h.

Referenced by FindTracks(), and Init().

◆ fMuchTracks

TClonesArray* CbmL1GlobalTrackFinder::fMuchTracks
private

Definition at line 69 of file CbmL1GlobalTrackFinder.h.

Referenced by FindTracks(), and Init().

◆ fMvdHits

TClonesArray* CbmL1GlobalTrackFinder::fMvdHits
private

Definition at line 74 of file CbmL1GlobalTrackFinder.h.

Referenced by Init().

◆ fNofEvents

Int_t CbmL1GlobalTrackFinder::fNofEvents
private

Timer.

Number of events with success

Definition at line 81 of file CbmL1GlobalTrackFinder.h.

Referenced by Finish(), and ProcessEvent().

◆ fNofHits

Double_t CbmL1GlobalTrackFinder::fNofHits
private

Number of hits.

Definition at line 82 of file CbmL1GlobalTrackFinder.h.

Referenced by Finish(), and ProcessEvent().

◆ fNofTracks

Double_t CbmL1GlobalTrackFinder::fNofTracks
private

Number of tracks created.

Definition at line 83 of file CbmL1GlobalTrackFinder.h.

Referenced by Finish(), and ProcessEvent().

◆ fStsHits

TClonesArray* CbmL1GlobalTrackFinder::fStsHits
private

Definition at line 75 of file CbmL1GlobalTrackFinder.h.

Referenced by Init(), and ProcessEvent().

◆ fTime

Double_t CbmL1GlobalTrackFinder::fTime
private

Total real time used for good events.

Definition at line 84 of file CbmL1GlobalTrackFinder.h.

Referenced by Finish(), and ProcessEvent().

◆ fTimer

TStopwatch CbmL1GlobalTrackFinder::fTimer
private

Array of CbmEvent objects.

Definition at line 80 of file CbmL1GlobalTrackFinder.h.

Referenced by ProcessEvent().

◆ fTofTracks

TClonesArray* CbmL1GlobalTrackFinder::fTofTracks
private

Definition at line 71 of file CbmL1GlobalTrackFinder.h.

Referenced by FindTracks(), and Init().

◆ fTracks

TClonesArray* CbmL1GlobalTrackFinder::fTracks
private

Definition at line 76 of file CbmL1GlobalTrackFinder.h.

Referenced by CopyL1Tracks(), DoFind(), Exec(), and FindTracks().

◆ fTrdTracks

TClonesArray* CbmL1GlobalTrackFinder::fTrdTracks
private

Definition at line 70 of file CbmL1GlobalTrackFinder.h.

Referenced by FindTracks(), and Init().


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