CbmRoot
Loading...
Searching...
No Matches
CbmPVFinderKFGlobal Class Reference

Implementation of the primary vertex finder using KF utility. More...

#include <CbmPVFinderKFGlobal.h>

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

Public Member Functions

 CbmPVFinderKFGlobal ()=default
 Default constructor.
 
 ~CbmPVFinderKFGlobal ()=default
 Destructior.
 
virtual Int_t FindPrimaryVertex (TClonesArray *tracks, CbmVertex *vertex)
 Execution of PV finding.
 
virtual Int_t FindEventVertex (CbmEvent *event, TClonesArray *tracks)
 Execution of PV finding.
 
 ClassDef (CbmPVFinderKFGlobal, 1)
 
virtual void Init ()
 
 ClassDef (CbmPrimaryVertexFinder, 1)
 

Detailed Description

Implementation of the primary vertex finder using KF utility.

Definition at line 18 of file CbmPVFinderKFGlobal.h.

Constructor & Destructor Documentation

◆ CbmPVFinderKFGlobal()

CbmPVFinderKFGlobal::CbmPVFinderKFGlobal ( )
default

Default constructor.

◆ ~CbmPVFinderKFGlobal()

CbmPVFinderKFGlobal::~CbmPVFinderKFGlobal ( )
default

Destructior.

Member Function Documentation

◆ ClassDef() [1/2]

CbmPrimaryVertexFinder::ClassDef ( CbmPrimaryVertexFinder ,
1  )
inherited

◆ ClassDef() [2/2]

CbmPVFinderKFGlobal::ClassDef ( CbmPVFinderKFGlobal ,
1  )

◆ FindEventVertex()

Int_t CbmPVFinderKFGlobal::FindEventVertex ( CbmEvent * event,
TClonesArray * tracks )
virtual

◆ FindPrimaryVertex()

Int_t CbmPVFinderKFGlobal::FindPrimaryVertex ( TClonesArray * tracks,
CbmVertex * vertex )
virtual

Execution of PV finding.

Parameters
tracksTClonesArray of CbmStsTracks
vertexPrimary vertex (output)
eventPointer to event object

Implements CbmPrimaryVertexFinder.

Definition at line 26 of file CbmPVFinderKFGlobal.cxx.

References CbmKFPrimaryVertexFinder::AddTrack(), CbmKFPrimaryVertexFinder::Fit(), CbmKFTrack::GetCovMatrix(), CbmVertex::GetNTracks(), CbmKFTrack::GetTrack(), CbmKFVertexInterface::GetVertex(), CbmKFTrack::SetGlobalTrack(), and tracks.

◆ Init()

virtual void CbmPrimaryVertexFinder::Init ( )
inlinevirtualinherited

Initialisation (virtual). If needed, to be implemented in the derived class. Else no action.

Reimplemented in CbmPVFinderIdeal.

Definition at line 47 of file CbmPrimaryVertexFinder.h.

Referenced by CbmFindPrimaryVertex::Init(), and CbmFindPrimaryVertexEvents::Init().


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