Belle II Software development
V0VertexFitterFactory.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8#pragma once
9
10#include <tracking/v0Finding/fitter/V0VertexFitter.h>
11
12#include <memory>
13#include <string>
14#include <vector>
15
16namespace Belle2 {
21
28
29 public:
30
36 static std::unique_ptr<V0VertexFitter> create(const std::string& name);
37
39 static std::vector<std::string> getNames();
40
42 static std::string getNamesAsString();
43 };
44
46}
Factory creating the V0VertexFitter selected at run time.
static std::string getNamesAsString()
Get the names of all the registered fitters as a single string, for messages and parameter descriptio...
static std::vector< std::string > getNames()
Get the names of all the registered fitters.
static std::unique_ptr< V0VertexFitter > create(const std::string &name)
Create the fitter registered under the given name.
Abstract base class for different kinds of events.