CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
GsfElectronAlgo::HeavyObjectCache Class Reference

#include <GsfElectronAlgo.h>

Public Member Functions

 HeavyObjectCache (const edm::ParameterSet &)
 

Public Attributes

std::unique_ptr< const ElectronMVAEstimatoriElectronMVAEstimator
 
std::unique_ptr< const SoftElectronMVAEstimatorsElectronMVAEstimator
 

Detailed Description

Definition at line 55 of file GsfElectronAlgo.h.

Constructor & Destructor Documentation

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

Definition at line 38 of file GsfElectronAlgo.cc.

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

38  {
39  // soft electron MVA
41  sconfig.vweightsfiles = conf.getParameter<std::vector<std::string>>("SoftElecMVAFilesString");
43  // isolated electron MVA
45  iconfig.vweightsfiles = conf.getParameter<std::vector<std::string>>("ElecMVAFilesString");
46  iElectronMVAEstimator.reset(new ElectronMVAEstimator(iconfig));
47 }
T getParameter(std::string const &) const
std::unique_ptr< const ElectronMVAEstimator > iElectronMVAEstimator
std::vector< std::string > vweightsfiles
std::unique_ptr< const SoftElectronMVAEstimator > sElectronMVAEstimator

Member Data Documentation

std::unique_ptr<const ElectronMVAEstimator> GsfElectronAlgo::HeavyObjectCache::iElectronMVAEstimator

Definition at line 59 of file GsfElectronAlgo.h.

Referenced by GEDGsfElectronProducer::setMVAOutputs().

std::unique_ptr<const SoftElectronMVAEstimator> GsfElectronAlgo::HeavyObjectCache::sElectronMVAEstimator