CMS 3D CMS Logo

ConfFitterBuilder.h
Go to the documentation of this file.
1 #ifndef _ConfFitterBuilder_H_
2 #define _ConfFitterBuilder_H_
3 
5 
10 template <class O>
12 public:
14  VertexFitterManager::Instance().registerFitter(name, []() -> AbstractConfFitter* { return new O(); }, description);
15  }
16 };
17 
18 #endif // _ConfFitterBuilder_H_
void registerFitter(const std::string &name, std::function< AbstractConfFitter *()> o, const std::string &description)
static VertexFitterManager & Instance()