Main Page
Namespaces
Classes
Package Documentation
src
RecoEgamma
EgammaElectronAlgos
src
GsfElectronAlgoHeavyObjectCache.cc
Go to the documentation of this file.
1
#include "
RecoEgamma/EgammaElectronAlgos/interface/GsfElectronAlgoHeavyObjectCache.h
"
2
3
namespace
gsfAlgoHelpers
{
4
HeavyObjectCache::HeavyObjectCache
(
const
edm::ParameterSet
& conf) {
5
// soft electron MVA
6
SoftElectronMVAEstimator::Configuration
sconfig;
7
sconfig.
vweightsfiles
=
8
conf.
getParameter
<std::vector<std::string> >(
"SoftElecMVAFilesString"
);
9
sElectronMVAEstimator
.reset(
new
SoftElectronMVAEstimator
(sconfig));
10
// isolated electron MVA
11
ElectronMVAEstimator::Configuration
iconfig;
12
iconfig.
vweightsfiles
=
13
conf.
getParameter
<std::vector<std::string> >(
"ElecMVAFilesString"
);
14
iElectronMVAEstimator
.reset(
new
ElectronMVAEstimator
(iconfig));
15
}
16
}
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
gsfAlgoHelpers::HeavyObjectCache::sElectronMVAEstimator
std::unique_ptr< const SoftElectronMVAEstimator > sElectronMVAEstimator
Definition:
GsfElectronAlgoHeavyObjectCache.h:13
SoftElectronMVAEstimator::Configuration
Definition:
SoftElectronMVAEstimator.h:18
SoftElectronMVAEstimator::Configuration::vweightsfiles
std::vector< std::string > vweightsfiles
Definition:
SoftElectronMVAEstimator.h:19
ElectronMVAEstimator
Definition:
ElectronMVAEstimator.h:10
gsfAlgoHelpers::HeavyObjectCache::HeavyObjectCache
HeavyObjectCache(const edm::ParameterSet &)
Definition:
GsfElectronAlgoHeavyObjectCache.cc:4
gsfAlgoHelpers
Definition:
GsfElectronAlgoHeavyObjectCache.h:9
ElectronMVAEstimator::Configuration
Definition:
ElectronMVAEstimator.h:12
ElectronMVAEstimator::Configuration::vweightsfiles
std::vector< std::string > vweightsfiles
Definition:
ElectronMVAEstimator.h:13
GsfElectronAlgoHeavyObjectCache.h
SoftElectronMVAEstimator
Definition:
SoftElectronMVAEstimator.h:14
edm::ParameterSet
Definition:
ParameterSet.h:36
gsfAlgoHelpers::HeavyObjectCache::iElectronMVAEstimator
std::unique_ptr< const ElectronMVAEstimator > iElectronMVAEstimator
Definition:
GsfElectronAlgoHeavyObjectCache.h:14
Generated for CMSSW Reference Manual by
1.8.11