test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
gsfAlgoHelpers::HeavyObjectCache Class Reference

#include <GsfElectronAlgoHeavyObjectCache.h>

Public Member Functions

 HeavyObjectCache (const edm::ParameterSet &)
 

Public Attributes

std::unique_ptr< const
ElectronMVAEstimator
iElectronMVAEstimator
 
std::unique_ptr< const
SoftElectronMVAEstimator
sElectronMVAEstimator
 

Detailed Description

Definition at line 10 of file GsfElectronAlgoHeavyObjectCache.h.

Constructor & Destructor Documentation

gsfAlgoHelpers::HeavyObjectCache::HeavyObjectCache ( const edm::ParameterSet conf)

Definition at line 4 of file GsfElectronAlgoHeavyObjectCache.cc.

References edm::ParameterSet::getParameter(), iElectronMVAEstimator, sElectronMVAEstimator, ElectronMVAEstimator::Configuration::vweightsfiles, and SoftElectronMVAEstimator::Configuration::vweightsfiles.

4  {
5  // soft electron MVA
7  sconfig.vweightsfiles =
8  conf.getParameter<std::vector<std::string> >("SoftElecMVAFilesString");
10  // isolated electron MVA
12  iconfig.vweightsfiles =
13  conf.getParameter<std::vector<std::string> >("ElecMVAFilesString");
14  iElectronMVAEstimator.reset(new ElectronMVAEstimator(iconfig));
15  }
T getParameter(std::string const &) const
std::unique_ptr< const SoftElectronMVAEstimator > sElectronMVAEstimator
std::vector< std::string > vweightsfiles
std::unique_ptr< const ElectronMVAEstimator > iElectronMVAEstimator

Member Data Documentation

std::unique_ptr<const ElectronMVAEstimator> gsfAlgoHelpers::HeavyObjectCache::iElectronMVAEstimator
std::unique_ptr<const SoftElectronMVAEstimator> gsfAlgoHelpers::HeavyObjectCache::sElectronMVAEstimator