Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
RecoVertex
ConfigurableVertexReco
interface
ConfRecoBuilder.h
Go to the documentation of this file.
1
#ifndef _ConfRecoBuilder_H_
2
#define _ConfRecoBuilder_H_
3
4
#include "
RecoVertex/ConfigurableVertexReco/interface/VertexRecoManager.h
"
5
10
template
<
class
O>
11
class
ConfRecoBuilder
{
12
public
:
13
ConfRecoBuilder<O>
(
const
std::string
&
name
,
const
std::string
&
description
) {
14
VertexRecoManager::Instance
().
registerReconstructor
(
15
name
, []() ->
AbstractConfReconstructor
* {
return
new
O(); },
description
);
16
}
17
};
18
19
#endif // _ConfRecoBuilder_H_
ConfRecoBuilder
Definition:
ConfRecoBuilder.h:11
getPayloadData.description
string description
Definition:
getPayloadData.py:210
VertexRecoManager::Instance
static VertexRecoManager & Instance()
Definition:
VertexRecoManager.cc:39
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:78
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
AbstractConfReconstructor
Definition:
AbstractConfReconstructor.h:12
VertexRecoManager::registerReconstructor
void registerReconstructor(const std::string &name, std::function< AbstractConfReconstructor *()> o, const std::string &description)
Definition:
VertexRecoManager.cc:6
VertexRecoManager.h
Generated for CMSSW Reference Manual by
1.8.5