Main Page
Namespaces
Classes
Package Documentation
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
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
VertexRecoManager::Instance
static VertexRecoManager & Instance()
Definition:
VertexRecoManager.cc:45
AbstractConfReconstructor
Definition:
AbstractConfReconstructor.h:12
heppy_report.description
description
Definition:
heppy_report.py:44
dataset.name
name
Definition:
dataset.py:45
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.11