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_
edmLumisInFiles.description
description
Definition:
edmLumisInFiles.py:11
AbstractConfReconstructor
Definition:
AbstractConfReconstructor.h:12
VertexRecoManager::Instance
static VertexRecoManager & Instance()
Definition:
VertexRecoManager.cc:39
VertexRecoManager.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
ConfRecoBuilder
Definition:
ConfRecoBuilder.h:11
VertexRecoManager::registerReconstructor
void registerReconstructor(const std::string &name, std::function< AbstractConfReconstructor *()> o, const std::string &description)
Definition:
VertexRecoManager.cc:6
Generated for CMSSW Reference Manual by
1.8.16