Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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_
getPayloadData.description
string description
Definition:
getPayloadData.py:210
ConfFitterBuilder
Definition:
ConfFitterBuilder.h:11
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:78
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
Generated for CMSSW Reference Manual by
1.8.5