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