CbmRoot
|
#include <CbmFindPrimaryVertex.h>
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 &) | |
CbmFindPrimaryVertex & | operator= (const CbmFindPrimaryVertex &) |
ClassDef (CbmFindPrimaryVertex, 1) | |
Private Attributes | |
TStopwatch | fTimer |
CbmPrimaryVertexFinder * | fFinder |
TClonesArray * | fTracks |
CbmVertex * | fPrimVert |
Int_t | fNofEvents |
Total number of events processed. More... | |
Double_t | fTimeTot |
Total execution time [s]. More... | |
Definition at line 31 of file CbmFindPrimaryVertex.h.
CbmFindPrimaryVertex::CbmFindPrimaryVertex | ( | ) |
Default constructor
Definition at line 21 of file CbmFindPrimaryVertex.cxx.
CbmFindPrimaryVertex::CbmFindPrimaryVertex | ( | CbmPrimaryVertexFinder * | pvFinder | ) |
Standard constructor
pvFinder | Pointer to concrete vertex finder |
Definition at line 35 of file CbmFindPrimaryVertex.cxx.
CbmFindPrimaryVertex::CbmFindPrimaryVertex | ( | const char * | name, |
const char * | title, | ||
CbmPrimaryVertexFinder * | pvFinder | ||
) |
Constructor with name and title
name | Name of task |
title | Title of task |
pvFinder | Pointer to vertex finder concrete object |
Definition at line 49 of file CbmFindPrimaryVertex.cxx.
|
virtual |
Destructor
Definition at line 63 of file CbmFindPrimaryVertex.cxx.
|
private |
|
private |
|
virtual |
Task execution
Definition at line 109 of file CbmFindPrimaryVertex.cxx.
References fFinder, CbmPrimaryVertexFinder::FindPrimaryVertex(), fNofEvents, fPrimVert, fTimer, fTimeTot, fTracks, CbmVertex::GetNTracks(), CbmVertex::Reset(), and CbmVertex::ToString().
|
virtual |
Finish
Definition at line 138 of file CbmFindPrimaryVertex.cxx.
References fNofEvents, fPrimVert, fTimeTot, and CbmVertex::Reset().
|
virtual |
Initialisation
Definition at line 68 of file CbmFindPrimaryVertex.cxx.
References fFinder, fPrimVert, fTracks, and CbmPrimaryVertexFinder::Init().
|
private |
|
private |
Definition at line 73 of file CbmFindPrimaryVertex.h.
|
private |
Total number of events processed.
Definition at line 77 of file CbmFindPrimaryVertex.h.
|
private |
Definition at line 75 of file CbmFindPrimaryVertex.h.
|
private |
Definition at line 72 of file CbmFindPrimaryVertex.h.
Referenced by Exec().
|
private |
Total execution time [s].
Definition at line 78 of file CbmFindPrimaryVertex.h.
|
private |
Definition at line 74 of file CbmFindPrimaryVertex.h.