CMS 3D CMS Logo

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

#include <PFEGammaHeavyObjectCache.h>

Public Member Functions

 HeavyObjectCache (const edm::ParameterSet &conf)
 

Public Attributes

const std::unique_ptr< const GBRForestgbrEle_
 
const std::unique_ptr< const GBRForestgbrSingleLeg_
 

Detailed Description

Definition at line 9 of file PFEGammaHeavyObjectCache.h.

Constructor & Destructor Documentation

pfEGHelpers::HeavyObjectCache::HeavyObjectCache ( const edm::ParameterSet conf)
inline

Definition at line 11 of file PFEGammaHeavyObjectCache.h.

12  : gbrEle_ (createGBRForest(conf.getParameter<edm::FileInPath>("pf_electronID_mvaWeightFile")))
13  , gbrSingleLeg_ (createGBRForest(conf.getParameter<edm::FileInPath>("pf_convID_mvaWeightFile")))
14  {}
T getParameter(std::string const &) const
const std::unique_ptr< const GBRForest > gbrEle_
std::unique_ptr< const GBRForest > createGBRForest(const std::string &weightsFile)
const std::unique_ptr< const GBRForest > gbrSingleLeg_

Member Data Documentation

const std::unique_ptr<const GBRForest> pfEGHelpers::HeavyObjectCache::gbrEle_

Definition at line 16 of file PFEGammaHeavyObjectCache.h.

Referenced by PFEGammaAlgo::calculateEleMVA().

const std::unique_ptr<const GBRForest> pfEGHelpers::HeavyObjectCache::gbrSingleLeg_

Definition at line 17 of file PFEGammaHeavyObjectCache.h.

Referenced by PFEGammaAlgo::evaluateSingleLegMVA().