CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
PFEGammaAlgo::GBRForests Class Reference

#include <PFEGammaAlgo.h>

Public Member Functions

 GBRForests (const edm::ParameterSet &conf)
 

Public Attributes

const std::unique_ptr< const GBRForestele_
 
const std::unique_ptr< const GBRForestsingleLeg_
 

Detailed Description

Definition at line 74 of file PFEGammaAlgo.h.

Constructor & Destructor Documentation

◆ GBRForests()

PFEGammaAlgo::GBRForests::GBRForests ( const edm::ParameterSet conf)
inline

Definition at line 76 of file PFEGammaAlgo.h.

77  : ele_(createGBRForest(conf.getParameter<edm::FileInPath>("pf_electronID_mvaWeightFile"))),
78  singleLeg_(createGBRForest(conf.getParameter<edm::FileInPath>("pf_convID_mvaWeightFile"))) {}

Member Data Documentation

◆ ele_

const std::unique_ptr<const GBRForest> PFEGammaAlgo::GBRForests::ele_

Definition at line 80 of file PFEGammaAlgo.h.

Referenced by PFEGammaAlgo::calculateEleMVA().

◆ singleLeg_

const std::unique_ptr<const GBRForest> PFEGammaAlgo::GBRForests::singleLeg_

Definition at line 81 of file PFEGammaAlgo.h.

Referenced by PFEGammaAlgo::evaluateSingleLegMVA().

createGBRForest
std::unique_ptr< const GBRForest > createGBRForest(const std::string &weightsFile)
Definition: GBRForestTools.cc:244
edm::FileInPath
Definition: FileInPath.h:64
PFEGammaAlgo::GBRForests::ele_
const std::unique_ptr< const GBRForest > ele_
Definition: PFEGammaAlgo.h:80
PFEGammaAlgo::GBRForests::singleLeg_
const std::unique_ptr< const GBRForest > singleLeg_
Definition: PFEGammaAlgo.h:81
edm::ParameterSet::getParameter
T getParameter(std::string const &) const