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
gsfidhelper::HeavyObjectCache Class Reference

Public Member Functions

 HeavyObjectCache (const edm::ParameterSet &config)
 

Public Attributes

std::unique_ptr< const
ElectronMVAEstimator
mvaID_
 

Detailed Description

Definition at line 44 of file ElectronIdMVABased.cc.

Constructor & Destructor Documentation

gsfidhelper::HeavyObjectCache::HeavyObjectCache ( const edm::ParameterSet config)
inline

Definition at line 46 of file ElectronIdMVABased.cc.

References looper::cfg, and edm::ParameterSet::getParameter().

46  {
47  std::vector<std::string> mvaWeightFileEleID =
48  config.getParameter<std::vector<std::string> >("HZZmvaWeightFile");
50  cfg.vweightsfiles = mvaWeightFileEleID;
51  mvaID_.reset( new ElectronMVAEstimator(cfg) );
52  }
T getParameter(std::string const &) const
tuple cfg
Definition: looper.py:293
std::unique_ptr< const ElectronMVAEstimator > mvaID_

Member Data Documentation

std::unique_ptr<const ElectronMVAEstimator> gsfidhelper::HeavyObjectCache::mvaID_

Definition at line 53 of file ElectronIdMVABased.cc.