RecoVertex
ConfigurableVertexReco
interface
VertexRecoManager.h
Go to the documentation of this file.
1
#ifndef _VertexRecoManager_H_
2
#define _VertexRecoManager_H_
3
4
#include "
RecoVertex/ConfigurableVertexReco/interface/AbstractConfReconstructor.h
"
5
#include <map>
6
#include <string>
7
#include <functional>
8
#include <memory>
9
14
class
VertexRecoManager
{
15
public
:
16
static
VertexRecoManager
&
Instance
();
17
void
registerReconstructor
(
const
std::string
&
name
,
18
std::function
<
AbstractConfReconstructor
*()>
o
,
19
const
std::string
&
description
);
20
std::string
describe
(
const
std::string
&)
const
;
21
22
std::unique_ptr<AbstractConfReconstructor>
get
(
const
std::string
&)
const
;
23
std::vector<std::string>
getNames
()
const
;
24
25
~VertexRecoManager
();
26
VertexRecoManager
*
clone
()
const
;
27
28
private
:
29
VertexRecoManager
(
const
VertexRecoManager
&);
30
VertexRecoManager
();
31
std::map
<
std::string
,
std::function
<
AbstractConfReconstructor
*()> >
theAbstractConfReconstructors
;
32
std::map<std::string, std::string>
theDescription
;
33
};
34
35
#endif // _VertexRecoManager_H_
edmLumisInFiles.description
description
Definition:
edmLumisInFiles.py:11
VertexRecoManager::theDescription
std::map< std::string, std::string > theDescription
Definition:
VertexRecoManager.h:32
VertexRecoManager::get
std::unique_ptr< AbstractConfReconstructor > get(const std::string &) const
Definition:
VertexRecoManager.cc:46
VertexRecoManager::describe
std::string describe(const std::string &) const
Definition:
VertexRecoManager.cc:15
VertexRecoManager::~VertexRecoManager
~VertexRecoManager()
Definition:
VertexRecoManager.cc:13
AbstractConfReconstructor
Definition:
AbstractConfReconstructor.h:12
VertexRecoManager::theAbstractConfReconstructors
std::map< std::string, std::function< AbstractConfReconstructor *()> > theAbstractConfReconstructors
Definition:
VertexRecoManager.h:31
EcalTangentSkim_cfg.o
o
Definition:
EcalTangentSkim_cfg.py:36
VertexRecoManager
Definition:
VertexRecoManager.h:14
VertexRecoManager::Instance
static VertexRecoManager & Instance()
Definition:
VertexRecoManager.cc:39
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
VertexRecoManager::getNames
std::vector< std::string > getNames() const
Definition:
VertexRecoManager.cc:54
VertexRecoManager::VertexRecoManager
VertexRecoManager()
Definition:
VertexRecoManager.cc:63
HiBiasedCentrality_cfi.function
function
Definition:
HiBiasedCentrality_cfi.py:4
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
genParticles_cff.map
map
Definition:
genParticles_cff.py:11
VertexRecoManager::clone
VertexRecoManager * clone() const
Definition:
VertexRecoManager.cc:23
VertexRecoManager::registerReconstructor
void registerReconstructor(const std::string &name, std::function< AbstractConfReconstructor *()> o, const std::string &description)
Definition:
VertexRecoManager.cc:6
AbstractConfReconstructor.h
Generated for CMSSW Reference Manual by
1.8.16