Belle II Software development
V0VertexFitter Class Referenceabstract

Interface of the vertex fitters usable by the V0Fitter. More...

#include <V0VertexFitter.h>

Inheritance diagram for V0VertexFitter:
KFitV0VertexFitter RaveV0VertexFitter

Public Member Functions

virtual ~V0VertexFitter ()=default
 Destructor.
 
virtual bool fit (genfit::Track &trackPlus, genfit::Track &trackMinus, const int pdgTrackPlus, const int pdgTrackMinus, genfit::GFRaveVertex &vertex)=0
 Fit the V0 vertex.
 
virtual std::string getName () const =0
 Get the name this fitter is registered with in the V0VertexFitterFactory.
 

Detailed Description

Interface of the vertex fitters usable by the V0Fitter.

Each implementation wraps one vertex fitting tool and hides it behind the fit() function. The instances are created by the V0VertexFitterFactory, so that the tool to be used can be selected at run time with a module parameter of the V0Finder.

Definition at line 29 of file V0VertexFitter.h.

Member Function Documentation

◆ fit()

virtual bool fit ( genfit::Track & trackPlus,
genfit::Track & trackMinus,
const int pdgTrackPlus,
const int pdgTrackMinus,
genfit::GFRaveVertex & vertex )
pure virtual

Fit the V0 vertex.

Parameters
trackPlusgenfit Track of the positively-charged daughter
trackMinusgenfit Track of the negatively-charged daughter
pdgTrackPlusPDG code of the hypothesis of the positively-charged daughter
pdgTrackMinusPDG code of the hypothesis of the negatively-charged daughter
vertexresult of the fit is returned via reference
Returns
true (false) if the vertex fit has done well (failed)

Implemented in KFitV0VertexFitter, and RaveV0VertexFitter.

◆ getName()

virtual std::string getName ( ) const
pure virtual

Get the name this fitter is registered with in the V0VertexFitterFactory.

Implemented in KFitV0VertexFitter, and RaveV0VertexFitter.


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