Main Page
Namespaces
Classes
Package Documentation
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 >
class
ConfFitterBuilder
{
11
public
:
12
ConfFitterBuilder < O >
(
const
std::string
&
name
,
const
std::string
&
description
)
13
{
14
VertexFitterManager::Instance
().
registerFitter
( name, []()->
AbstractConfFitter
*{
return
new
O();},
description
);
15
}
16
};
17
18
#endif // _ConfFitterBuilder_H_
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ConfFitterBuilder
Definition:
ConfFitterBuilder.h:10
AbstractConfFitter
Definition:
AbstractConfFitter.h:12
VertexFitterManager.h
heppy_report.description
description
Definition:
heppy_report.py:47
VertexFitterManager::registerFitter
void registerFitter(const std::string &name, std::function< AbstractConfFitter *()> o, const std::string &description)
Definition:
VertexFitterManager.cc:8
dataset.name
name
Definition:
dataset.py:45
VertexFitterManager::Instance
static VertexFitterManager & Instance()
Definition:
VertexFitterManager.cc:55
Generated for CMSSW Reference Manual by
1.8.11