src
RecoVertex
ConfigurableVertexReco
interface
ConfFitterBuilder.h
Go to the documentation of this file.
1
#ifndef _ConfFitterBuilder_H_
2
#define _ConfFitterBuilder_H_
3
4
#include "
RecoVertex/ConfigurableVertexReco/interface/VertexFitterManager.h
"
5
10
template
<
class
O>
11
class
ConfFitterBuilder
{
12
public
:
13
ConfFitterBuilder
(
const
std::string
&
name
,
const
std::string
&
description
) {
14
VertexFitterManager::Instance
().
registerFitter
(
15
name
, []() ->
AbstractConfFitter
* {
return
new
O(); },
description
);
16
}
17
};
18
19
#endif // _ConfFitterBuilder_H_
ConfFitterBuilder
Definition:
ConfFitterBuilder.h:11
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
AbstractConfFitter
Definition:
AbstractConfFitter.h:12
VertexFitterManager.h
VertexFitterManager::registerFitter
void registerFitter(const std::string &name, std::function< AbstractConfFitter *()> o, const std::string &description)
Definition:
VertexFitterManager.cc:8
VertexFitterManager::Instance
static VertexFitterManager & Instance()
Definition:
VertexFitterManager.cc:49
makeListRunsInFiles.description
description
Definition:
makeListRunsInFiles.py:15
ConfFitterBuilder::ConfFitterBuilder
ConfFitterBuilder(const std::string &name, const std::string &description)
Definition:
ConfFitterBuilder.h:13
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
Generated for CMSSW Reference Manual by
1.8.14