BmnRoot 26.10.0-210-gc52d34b0
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
CbmFindPrimaryVertex Class Reference

#include <CbmFindPrimaryVertex.h>

Inheritance diagram for CbmFindPrimaryVertex:
Collaboration diagram for CbmFindPrimaryVertex:

Public Member Functions

 CbmFindPrimaryVertex ()
 Default constructor.
 CbmFindPrimaryVertex (CbmPrimaryVertexFinder *pvFinder)
 Standard constructor.
 CbmFindPrimaryVertex (const char *name, const char *title, CbmPrimaryVertexFinder *pvFinder)
 Constructor with name and title.
virtual ~CbmFindPrimaryVertex ()
 Destructor.
virtual InitStatus Init ()
 Initialisation.
virtual void Exec (Option_t *opt)
 Task execution.
virtual void Finish ()
 Finish.
void SetTrackBranch (TString trBranch="StsTrack")

Private Member Functions

 CbmFindPrimaryVertex (const CbmFindPrimaryVertex &)=delete
CbmFindPrimaryVertex & operator= (const CbmFindPrimaryVertex &)=delete

Private Attributes

CbmPrimaryVertexFinder * fFinder
TClonesArray * fTracks
CbmVertex * fPrimVert
TString fTrBranch

Detailed Description

Definition at line 26 of file CbmFindPrimaryVertex.h.

Constructor & Destructor Documentation

◆ CbmFindPrimaryVertex() [1/4]

CbmFindPrimaryVertex::CbmFindPrimaryVertex ( )

Definition at line 21 of file CbmFindPrimaryVertex.cxx.

References fFinder, fPrimVert, fTracks, and fTrBranch.

Referenced by CbmFindPrimaryVertex(), and operator=().

Here is the caller graph for this function:

◆ CbmFindPrimaryVertex() [2/4]

CbmFindPrimaryVertex::CbmFindPrimaryVertex ( CbmPrimaryVertexFinder * pvFinder)
Parameters
pvFinderPointer to concrete vertex finder

Definition at line 31 of file CbmFindPrimaryVertex.cxx.

References fFinder, fPrimVert, fTracks, and fTrBranch.

◆ CbmFindPrimaryVertex() [3/4]

CbmFindPrimaryVertex::CbmFindPrimaryVertex ( const char * name,
const char * title,
CbmPrimaryVertexFinder * pvFinder )
Parameters
nameName of task
titleTitle of task
pvFinderPointer to vertex finder concrete object

Definition at line 41 of file CbmFindPrimaryVertex.cxx.

References fFinder, fPrimVert, fTracks, and fTrBranch.

◆ ~CbmFindPrimaryVertex()

CbmFindPrimaryVertex::~CbmFindPrimaryVertex ( )
virtual

Definition at line 51 of file CbmFindPrimaryVertex.cxx.

References fPrimVert.

◆ CbmFindPrimaryVertex() [4/4]

CbmFindPrimaryVertex::CbmFindPrimaryVertex ( const CbmFindPrimaryVertex & )
privatedelete

References CbmFindPrimaryVertex().

Here is the call graph for this function:

Member Function Documentation

◆ Exec()

void CbmFindPrimaryVertex::Exec ( Option_t * opt)
virtual

Definition at line 100 of file CbmFindPrimaryVertex.cxx.

References fFinder, fPrimVert, fTracks, TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), and workTime.

Here is the call graph for this function:

◆ Finish()

void CbmFindPrimaryVertex::Finish ( )
virtual

Definition at line 130 of file CbmFindPrimaryVertex.cxx.

References fPrimVert, and workTime.

◆ Init()

InitStatus CbmFindPrimaryVertex::Init ( )
virtual

Definition at line 59 of file CbmFindPrimaryVertex.cxx.

References fFinder, fPrimVert, fTracks, and fTrBranch.

◆ operator=()

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

References CbmFindPrimaryVertex().

Here is the call graph for this function:

◆ SetTrackBranch()

void CbmFindPrimaryVertex::SetTrackBranch ( TString trBranch = "StsTrack")
inline

Definition at line 58 of file CbmFindPrimaryVertex.h.

References fTrBranch.

Referenced by rc_rlerr(), run_reco_aln(), run_reco_bmn(), run_reco_bmn(), run_reco_bmn(), run_reco_bmn(), and run_reco_noa().

Here is the caller graph for this function:

Member Data Documentation

◆ fFinder

CbmPrimaryVertexFinder* CbmFindPrimaryVertex::fFinder
private

◆ fPrimVert

CbmVertex* CbmFindPrimaryVertex::fPrimVert
private

◆ fTracks

TClonesArray* CbmFindPrimaryVertex::fTracks
private

◆ fTrBranch

TString CbmFindPrimaryVertex::fTrBranch
private

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