Main Page
Namespaces
Classes
Package Documentation
RecoLocalCalo
HcalRecAlgos
src
parsePlan1RechitCombiner.cc
Go to the documentation of this file.
1
#include "
RecoLocalCalo/HcalRecAlgos/interface/parsePlan1RechitCombiner.h
"
2
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
3
4
// Concrete "Plan 1" rechit combination algorithm headers
5
#include "
RecoLocalCalo/HcalRecAlgos/interface/SimplePlan1RechitCombiner.h
"
6
7
std::unique_ptr<AbsPlan1RechitCombiner>
8
parsePlan1RechitCombiner
(
const
edm::ParameterSet
& ps)
9
{
10
std::unique_ptr<AbsPlan1RechitCombiner>
algo
;
11
12
const
std::string
&
className
= ps.
getParameter
<
std::string
>(
"Class"
);
13
14
if
(className ==
"SimplePlan1RechitCombiner"
)
15
algo = std::unique_ptr<AbsPlan1RechitCombiner>(
new
SimplePlan1RechitCombiner
());
16
17
return
algo
;
18
}
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
SimplePlan1RechitCombiner
Definition:
SimplePlan1RechitCombiner.h:7
parsePlan1RechitCombiner.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
parsePlan1RechitCombiner
std::unique_ptr< AbsPlan1RechitCombiner > parsePlan1RechitCombiner(const edm::ParameterSet &ps)
Definition:
parsePlan1RechitCombiner.cc:8
ParameterSet.h
SimplePlan1RechitCombiner.h
edm::ParameterSet
Definition:
ParameterSet.h:36
patPFMETCorrections_cff.algo
algo
Definition:
patPFMETCorrections_cff.py:123
className
std::string className(const T &t)
Definition:
ClassName.h:30
Generated for CMSSW Reference Manual by
1.8.11