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<O>
(
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_
edmLumisInFiles.description
description
Definition:
edmLumisInFiles.py:11
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
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
Generated for CMSSW Reference Manual by
1.8.14