CbmRoot
CbmPVFinderIdeal Class Reference

#include <CbmPVFinderIdeal.h>

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

Public Member Functions

 CbmPVFinderIdeal ()
 
virtual ~CbmPVFinderIdeal ()
 
virtual void Init ()
 
virtual Int_t FindPrimaryVertex (TClonesArray *tracks, CbmVertex *vertex)
 
virtual Int_t FindEventVertex (CbmEvent *event, TClonesArray *tracks)
 
 ClassDef (CbmPrimaryVertexFinder, 1)
 

Private Member Functions

 CbmPVFinderIdeal (const CbmPVFinderIdeal &)
 
CbmPVFinderIdealoperator= (const CbmPVFinderIdeal &)
 
 ClassDef (CbmPVFinderIdeal, 1)
 

Private Attributes

TClonesArray * fMCTracks
 

Detailed Description

CbmPVFinderIdeal

Author
V.Friese v.fri.nosp@m.ese@.nosp@m.gsi.d.nosp@m.e

Ideal primary vertex finder. It takes the start vertex of primary MCTracks. Warning: This works only if the MC input tracks really start from the primary vertex and are not displaced by hand. The primary vertex should ideally be taken from the appropriate MC class, which is not yet implemented.

Definition at line 26 of file CbmPVFinderIdeal.h.

Constructor & Destructor Documentation

◆ CbmPVFinderIdeal() [1/2]

CbmPVFinderIdeal::CbmPVFinderIdeal ( )

Default constructor

Definition at line 23 of file CbmPVFinderIdeal.cxx.

◆ ~CbmPVFinderIdeal()

CbmPVFinderIdeal::~CbmPVFinderIdeal ( )
virtual

Destructor

Definition at line 29 of file CbmPVFinderIdeal.cxx.

◆ CbmPVFinderIdeal() [2/2]

CbmPVFinderIdeal::CbmPVFinderIdeal ( const CbmPVFinderIdeal )
private

Member Function Documentation

◆ ClassDef() [1/2]

CbmPrimaryVertexFinder::ClassDef ( CbmPrimaryVertexFinder  ,
 
)
inherited

◆ ClassDef() [2/2]

CbmPVFinderIdeal::ClassDef ( CbmPVFinderIdeal  ,
 
)
private

◆ FindEventVertex()

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

Primary vertex finding for one event

Parameters
eventPointer to event object
tracksTClonesArray of CbmStsTracks

Implements CbmPrimaryVertexFinder.

Definition at line 95 of file CbmPVFinderIdeal.cxx.

◆ FindPrimaryVertex()

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

◆ Init()

void CbmPVFinderIdeal::Init ( )
virtual

Initialisation

Reimplemented from CbmPrimaryVertexFinder.

Definition at line 34 of file CbmPVFinderIdeal.cxx.

References fMCTracks.

◆ operator=()

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

Member Data Documentation

◆ fMCTracks

TClonesArray* CbmPVFinderIdeal::fMCTracks
private

Array of MCTracks

Definition at line 53 of file CbmPVFinderIdeal.h.

Referenced by FindPrimaryVertex(), and Init().


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