Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
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 >
class
ConfRecoBuilder
{
11
public
:
12
ConfRecoBuilder < O >
(
const
std::string
&
name
,
const
std::string
&
description
)
13
{
14
VertexRecoManager::Instance
().
registerReconstructor
(
name
,[]()->
AbstractConfReconstructor
*{
return
new
O(); } ,
description
);
15
}
16
};
17
18
#endif // _ConfRecoBuilder_H_
ConfRecoBuilder
Definition:
ConfRecoBuilder.h:10
VertexRecoManager::Instance
static VertexRecoManager & Instance()
Definition:
VertexRecoManager.cc:45
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:77
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
AbstractConfReconstructor
Definition:
AbstractConfReconstructor.h:12
idDealer.description
tuple description
Definition:
idDealer.py:66
VertexRecoManager::registerReconstructor
void registerReconstructor(const std::string &name, std::function< AbstractConfReconstructor *()> o, const std::string &description)
Definition:
VertexRecoManager.cc:5
VertexRecoManager.h
Generated for CMSSW Reference Manual by
1.8.5