![]() |
Belle II Software development
|
Interface of the vertex fitters usable by the V0Fitter. More...
#include <V0VertexFitter.h>
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. | |
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.
|
pure virtual |
Fit the V0 vertex.
| trackPlus | genfit Track of the positively-charged daughter |
| trackMinus | genfit Track of the negatively-charged daughter |
| pdgTrackPlus | PDG code of the hypothesis of the positively-charged daughter |
| pdgTrackMinus | PDG code of the hypothesis of the negatively-charged daughter |
| vertex | result of the fit is returned via reference |
Implemented in KFitV0VertexFitter, and RaveV0VertexFitter.
|
pure virtual |
Get the name this fitter is registered with in the V0VertexFitterFactory.
Implemented in KFitV0VertexFitter, and RaveV0VertexFitter.