![]() |
Belle II Software development
|
Factory creating the V0VertexFitter selected at run time. More...
#include <V0VertexFitterFactory.h>
Static Public Member Functions | |
| static std::unique_ptr< V0VertexFitter > | create (const std::string &name) |
| Create the fitter registered under the given name. | |
| static std::vector< std::string > | getNames () |
| Get the names of all the registered fitters. | |
| static std::string | getNamesAsString () |
| Get the names of all the registered fitters as a single string, for messages and parameter descriptions. | |
Factory creating the V0VertexFitter selected at run time.
To make a new fitter selectable: implement the V0VertexFitter interface and add one line to the registry in V0VertexFitterFactory.cc, nothing else has to be touched.
Definition at line 27 of file V0VertexFitterFactory.h.
|
static |
Create the fitter registered under the given name.
Aborts with a fatal message if the name is not registered.
| name | name of the fitter, as returned by getNames() |
Definition at line 37 of file V0VertexFitterFactory.cc.
|
static |
Get the names of all the registered fitters.
Definition at line 49 of file V0VertexFitterFactory.cc.
|
static |
Get the names of all the registered fitters as a single string, for messages and parameter descriptions.
Definition at line 56 of file V0VertexFitterFactory.cc.