CbmRoot
CbmFindPrimaryVertex Class Reference

#include <CbmFindPrimaryVertex.h>

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

Public Member Functions

 CbmFindPrimaryVertex ()
 
 CbmFindPrimaryVertex (CbmPrimaryVertexFinder *pvFinder)
 
 CbmFindPrimaryVertex (const char *name, const char *title, CbmPrimaryVertexFinder *pvFinder)
 
virtual ~CbmFindPrimaryVertex ()
 
virtual InitStatus Init ()
 
virtual void Exec (Option_t *opt)
 
virtual void Finish ()
 

Private Member Functions

 CbmFindPrimaryVertex (const CbmFindPrimaryVertex &)
 
CbmFindPrimaryVertexoperator= (const CbmFindPrimaryVertex &)
 
 ClassDef (CbmFindPrimaryVertex, 1)
 

Private Attributes

TStopwatch fTimer
 
CbmPrimaryVertexFinderfFinder
 
TClonesArray * fTracks
 
CbmVertexfPrimVert
 
Int_t fNofEvents
 Total number of events processed. More...
 
Double_t fTimeTot
 Total execution time [s]. More...
 

Detailed Description

Definition at line 31 of file CbmFindPrimaryVertex.h.

Constructor & Destructor Documentation

◆ CbmFindPrimaryVertex() [1/4]

CbmFindPrimaryVertex::CbmFindPrimaryVertex ( )

Default constructor

Definition at line 21 of file CbmFindPrimaryVertex.cxx.

◆ CbmFindPrimaryVertex() [2/4]

CbmFindPrimaryVertex::CbmFindPrimaryVertex ( CbmPrimaryVertexFinder pvFinder)

Standard constructor

Parameters
pvFinderPointer to concrete vertex finder

Definition at line 35 of file CbmFindPrimaryVertex.cxx.

◆ CbmFindPrimaryVertex() [3/4]

CbmFindPrimaryVertex::CbmFindPrimaryVertex ( 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 49 of file CbmFindPrimaryVertex.cxx.

◆ ~CbmFindPrimaryVertex()

CbmFindPrimaryVertex::~CbmFindPrimaryVertex ( )
virtual

Destructor

Definition at line 63 of file CbmFindPrimaryVertex.cxx.

◆ CbmFindPrimaryVertex() [4/4]

CbmFindPrimaryVertex::CbmFindPrimaryVertex ( const CbmFindPrimaryVertex )
private

Member Function Documentation

◆ ClassDef()

CbmFindPrimaryVertex::ClassDef ( CbmFindPrimaryVertex  ,
 
)
private

◆ Exec()

void CbmFindPrimaryVertex::Exec ( Option_t *  opt)
virtual

◆ Finish()

void CbmFindPrimaryVertex::Finish ( )
virtual

Finish

Definition at line 138 of file CbmFindPrimaryVertex.cxx.

References fNofEvents, fPrimVert, fTimeTot, and CbmVertex::Reset().

◆ Init()

InitStatus CbmFindPrimaryVertex::Init ( )
virtual

Initialisation

Definition at line 68 of file CbmFindPrimaryVertex.cxx.

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

◆ operator=()

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

Member Data Documentation

◆ fFinder

CbmPrimaryVertexFinder* CbmFindPrimaryVertex::fFinder
private

Definition at line 73 of file CbmFindPrimaryVertex.h.

Referenced by Exec(), and Init().

◆ fNofEvents

Int_t CbmFindPrimaryVertex::fNofEvents
private

Total number of events processed.

Definition at line 77 of file CbmFindPrimaryVertex.h.

Referenced by Exec(), and Finish().

◆ fPrimVert

CbmVertex* CbmFindPrimaryVertex::fPrimVert
private

Definition at line 75 of file CbmFindPrimaryVertex.h.

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

◆ fTimer

TStopwatch CbmFindPrimaryVertex::fTimer
private

Definition at line 72 of file CbmFindPrimaryVertex.h.

Referenced by Exec().

◆ fTimeTot

Double_t CbmFindPrimaryVertex::fTimeTot
private

Total execution time [s].

Definition at line 78 of file CbmFindPrimaryVertex.h.

Referenced by Exec(), and Finish().

◆ fTracks

TClonesArray* CbmFindPrimaryVertex::fTracks
private

Definition at line 74 of file CbmFindPrimaryVertex.h.

Referenced by Exec(), and Init().


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