CbmRoot
CbmFindPrimaryVertexEvents Class Reference

Task class for PV finding. More...

#include <CbmFindPrimaryVertexEvents.h>

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

Public Member Functions

 CbmFindPrimaryVertexEvents ()
 
 CbmFindPrimaryVertexEvents (CbmPrimaryVertexFinder *pvFinder)
 
 CbmFindPrimaryVertexEvents (const CbmFindPrimaryVertexEvents &)=delete
 
CbmFindPrimaryVertexEventsoperator= (const CbmFindPrimaryVertexEvents &)=delete
 
 CbmFindPrimaryVertexEvents (const char *name, const char *title, CbmPrimaryVertexFinder *pvFinder)
 
virtual ~CbmFindPrimaryVertexEvents ()
 
virtual InitStatus Init ()
 
virtual void Exec (Option_t *opt)
 
virtual void Finish ()
 

Private Member Functions

 ClassDef (CbmFindPrimaryVertexEvents, 1)
 

Private Attributes

TStopwatch fTimer
 ROOT stopwatch. More...
 
CbmPrimaryVertexFinderfFinder
 Concrete finder instance. More...
 
TClonesArray * fEvents
 
TClonesArray * fTracks
 event array More...
 
CbmVertexfPrimVert
 track array More...
 
Int_t fNofEvents
 Total number of events processed. More...
 
Double_t fTimeTot
 Total execution time [s]. More...
 

Detailed Description

Task class for PV finding.

CbmFindPrimaryVertexEvents

Author
V.Friese v.fri.nosp@m.ese@.nosp@m.gsi.d.nosp@m.e

Input: List of CbmStsTracks Output: CbmVertex

Uses as vertex finding algorithm classes derived from CbmPrimaryVertexFinder.

Definition at line 29 of file CbmFindPrimaryVertexEvents.h.

Constructor & Destructor Documentation

◆ CbmFindPrimaryVertexEvents() [1/4]

CbmFindPrimaryVertexEvents::CbmFindPrimaryVertexEvents ( )

Default constructor

Definition at line 24 of file CbmFindPrimaryVertexEvents.cxx.

◆ CbmFindPrimaryVertexEvents() [2/4]

CbmFindPrimaryVertexEvents::CbmFindPrimaryVertexEvents ( CbmPrimaryVertexFinder pvFinder)

Standard constructor

Parameters
pvFinderPointer to concrete vertex finder

Definition at line 39 of file CbmFindPrimaryVertexEvents.cxx.

◆ CbmFindPrimaryVertexEvents() [3/4]

CbmFindPrimaryVertexEvents::CbmFindPrimaryVertexEvents ( const CbmFindPrimaryVertexEvents )
delete

◆ CbmFindPrimaryVertexEvents() [4/4]

CbmFindPrimaryVertexEvents::CbmFindPrimaryVertexEvents ( const char *  name,
const char *  title,
CbmPrimaryVertexFinder pvFinder 
)

Constructor with name and title

Parameters
nameName of task
titleTitle of task
pvFinderPointer to vertex finder concrete object

Definition at line 55 of file CbmFindPrimaryVertexEvents.cxx.

◆ ~CbmFindPrimaryVertexEvents()

CbmFindPrimaryVertexEvents::~CbmFindPrimaryVertexEvents ( )
virtual

Destructor

Definition at line 71 of file CbmFindPrimaryVertexEvents.cxx.

Member Function Documentation

◆ ClassDef()

CbmFindPrimaryVertexEvents::ClassDef ( CbmFindPrimaryVertexEvents  ,
 
)
private

◆ Exec()

void CbmFindPrimaryVertexEvents::Exec ( Option_t *  opt)
virtual

◆ Finish()

void CbmFindPrimaryVertexEvents::Finish ( )
virtual

Finish

Definition at line 141 of file CbmFindPrimaryVertexEvents.cxx.

References fNofEvents, and fTimeTot.

◆ Init()

InitStatus CbmFindPrimaryVertexEvents::Init ( )
virtual

Initialisation

Definition at line 76 of file CbmFindPrimaryVertexEvents.cxx.

References fEvents, fFinder, fPrimVert, fTracks, and CbmPrimaryVertexFinder::Init().

◆ operator=()

CbmFindPrimaryVertexEvents& CbmFindPrimaryVertexEvents::operator= ( const CbmFindPrimaryVertexEvents )
delete

Member Data Documentation

◆ fEvents

TClonesArray* CbmFindPrimaryVertexEvents::fEvents
private

Definition at line 76 of file CbmFindPrimaryVertexEvents.h.

Referenced by Exec(), and Init().

◆ fFinder

CbmPrimaryVertexFinder* CbmFindPrimaryVertexEvents::fFinder
private

Concrete finder instance.

Definition at line 75 of file CbmFindPrimaryVertexEvents.h.

Referenced by Exec(), and Init().

◆ fNofEvents

Int_t CbmFindPrimaryVertexEvents::fNofEvents
private

Total number of events processed.

Definition at line 80 of file CbmFindPrimaryVertexEvents.h.

Referenced by Exec(), and Finish().

◆ fPrimVert

CbmVertex* CbmFindPrimaryVertexEvents::fPrimVert
private

track array

Definition at line 78 of file CbmFindPrimaryVertexEvents.h.

Referenced by Exec(), and Init().

◆ fTimer

TStopwatch CbmFindPrimaryVertexEvents::fTimer
private

ROOT stopwatch.

Definition at line 74 of file CbmFindPrimaryVertexEvents.h.

Referenced by Exec().

◆ fTimeTot

Double_t CbmFindPrimaryVertexEvents::fTimeTot
private

Total execution time [s].

Definition at line 81 of file CbmFindPrimaryVertexEvents.h.

Referenced by Exec(), and Finish().

◆ fTracks

TClonesArray* CbmFindPrimaryVertexEvents::fTracks
private

event array

Definition at line 77 of file CbmFindPrimaryVertexEvents.h.

Referenced by Exec(), and Init().


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