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 () |
void | SetTrackType (ECbmDataType trackType) |
Sets type of tracks used for building the primary vertex. | |
Private Member Functions | |
CbmFindPrimaryVertex (const CbmFindPrimaryVertex &) | |
CbmFindPrimaryVertex & | operator= (const CbmFindPrimaryVertex &) |
ClassDef (CbmFindPrimaryVertex, 1) | |
Private Attributes | |
TStopwatch | fTimer |
CbmPrimaryVertexFinder * | fFinder |
TClonesArray * | fEvents = nullptr |
TClonesArray * | fTracks |
CbmVertex * | fPrimVert |
ECbmDataType | fTrackType = ECbmDataType::kStsTrack |
Int_t | fNofTs = 0 |
Number of processed timeslices. | |
Int_t | fNofEvents = 0 |
Number of processed events. | |
Double_t | fNofTracks = 0 |
Number of input tracks. | |
Double_t | fNofTracksUsed = 0. |
Number of tracks used for vertex finding. | |
Double_t | fTimeTot = 0. |
Total execution time [s]. | |
Definition at line 36 of file CbmFindPrimaryVertex.h.
CbmFindPrimaryVertex::CbmFindPrimaryVertex | ( | ) |
Default constructor
Definition at line 26 of file CbmFindPrimaryVertex.cxx.
CbmFindPrimaryVertex::CbmFindPrimaryVertex | ( | CbmPrimaryVertexFinder * | pvFinder | ) |
Standard constructor
pvFinder | Pointer to concrete vertex finder |
Definition at line 41 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 56 of file CbmFindPrimaryVertex.cxx.
|
virtual |
Destructor
Definition at line 70 of file CbmFindPrimaryVertex.cxx.
|
private |
|
private |
|
virtual |
Task execution
Definition at line 134 of file CbmFindPrimaryVertex.cxx.
References fEvents, fFinder, CbmPrimaryVertexFinder::FindEventVertex(), CbmPrimaryVertexFinder::FindPrimaryVertex(), fNofEvents, fNofTracks, fNofTracksUsed, fNofTs, fPrimVert, fTimeTot, fTracks, and CbmVertex::Reset().
|
virtual |
Finish
Definition at line 190 of file CbmFindPrimaryVertex.cxx.
References fEvents, fNofEvents, fNofTracks, fNofTracksUsed, fNofTs, and fTimeTot.
|
virtual |
Initialisation
Definition at line 75 of file CbmFindPrimaryVertex.cxx.
References fEvents, fFinder, fPrimVert, fTracks, fTrackType, CbmPrimaryVertexFinder::Init(), and kGlobalTrack.
|
private |
|
inline |
Sets type of tracks used for building the primary vertex.
Definition at line 77 of file CbmFindPrimaryVertex.h.
References fTrackType.
|
private |
Definition at line 82 of file CbmFindPrimaryVertex.h.
|
private |
Definition at line 81 of file CbmFindPrimaryVertex.h.
|
private |
Number of processed events.
Definition at line 88 of file CbmFindPrimaryVertex.h.
|
private |
Number of input tracks.
Definition at line 89 of file CbmFindPrimaryVertex.h.
|
private |
Number of tracks used for vertex finding.
Definition at line 90 of file CbmFindPrimaryVertex.h.
|
private |
Number of processed timeslices.
Definition at line 87 of file CbmFindPrimaryVertex.h.
|
private |
Definition at line 84 of file CbmFindPrimaryVertex.h.
|
private |
Definition at line 80 of file CbmFindPrimaryVertex.h.
|
private |
Total execution time [s].
Definition at line 91 of file CbmFindPrimaryVertex.h.
|
private |
Definition at line 83 of file CbmFindPrimaryVertex.h.
|
private |
Definition at line 85 of file CbmFindPrimaryVertex.h.
Referenced by Init(), and SetTrackType().