CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
VertexFitterManager.h
Go to the documentation of this file.
1 #ifndef _VertexFitterManager_H_
2 #define _VertexFitterManager_H_
3 
5 #include <map>
6 #include <string>
7 #include <vector>
8 #include <functional>
9 #include <memory>
10 
16 public:
17  static VertexFitterManager& Instance();
19  std::string describe(const std::string&) const;
20 
21  std::unique_ptr<AbstractConfFitter> get(const std::string&) const;
22  std::vector<std::string> getNames() const;
23 
25  VertexFitterManager* clone() const;
26 
27 private:
30  std::map<std::string, std::function<AbstractConfFitter*()> > theAbstractConfFitters;
31  std::map<std::string, std::string> theDescription;
32 };
33 
34 #endif // _VertexFitterManager_H_
std::map< std::string, std::function< AbstractConfFitter *()> > theAbstractConfFitters
string function
Definition: callgraph.py:50
void registerFitter(const std::string &name, std::function< AbstractConfFitter *()> o, const std::string &description)
VertexFitterManager * clone() const
std::vector< std::string > getNames() const
static VertexFitterManager & Instance()
std::string describe(const std::string &) const
std::map< std::string, std::string > theDescription