CMS 3D CMS Logo

List of all members | Public Member Functions
ElectronMVAEstimatorRun2Fall17Iso Class Reference

#include <ElectronMVAEstimatorRun2Fall17Iso.h>

Inheritance diagram for ElectronMVAEstimatorRun2Fall17Iso:
ElectronMVAEstimatorRun2Fall17 AnyMVAEstimatorRun2Base

Public Member Functions

 ElectronMVAEstimatorRun2Fall17Iso (const edm::ParameterSet &conf)
 
 ~ElectronMVAEstimatorRun2Fall17Iso () override
 
- Public Member Functions inherited from ElectronMVAEstimatorRun2Fall17
void constrainMVAVariables (std::vector< float > &) const
 
 ElectronMVAEstimatorRun2Fall17 (const edm::ParameterSet &conf, bool withIso)
 
 ElectronMVAEstimatorRun2Fall17 (const std::string &mvaTag, const std::string &mvaName, bool withIso, const std::string &conversionsTag="reducedEgamma:reducedConversions", const std::string &beamspotTag="offlineBeamSpot", const double ptSplit=10., const double ebSplit=0.800, const double ebeeSplit=1.479, const bool debug=false)
 
std::vector< float > fillMVAVariables (const edm::Ptr< reco::Candidate > &particle, const edm::Event &) const override
 
std::vector< float > fillMVAVariables (const reco::GsfElectron *particle, const edm::Handle< reco::ConversionCollection > conversions, const reco::BeamSpot *beamSpot, const edm::Handle< double > rho) const
 
int findCategory (const edm::Ptr< reco::Candidate > &particle) const override
 
int findCategory (const reco::GsfElectron *particle) const
 
const std::string & getName () const final
 
int getNCategories () const override
 
const std::string & getTag () const final
 
void init (const std::vector< std::string > &weightFileNames)
 
float mvaValue (const edm::Ptr< reco::Candidate > &particle, const edm::Event &) const override
 
float mvaValue (const reco::GsfElectron *particle, const edm::EventBase &) const
 
float mvaValue (const int iCategory, const std::vector< float > &vars) const
 
void setClips (const std::vector< double > &clipsLowerValues, const std::vector< double > &clipsUpperValues)
 
void setConsumes (edm::ConsumesCollector &&) const final
 
 ~ElectronMVAEstimatorRun2Fall17 () override
 
- Public Member Functions inherited from AnyMVAEstimatorRun2Base
 AnyMVAEstimatorRun2Base (const edm::ParameterSet &conf)
 
virtual void getEventContent (const edm::Event &iEvent) const final
 
template<typename... Args>
std::vector< float > packMVAVariables (const Args...args) const
 
virtual ~AnyMVAEstimatorRun2Base ()
 

Additional Inherited Members

- Public Attributes inherited from AnyMVAEstimatorRun2Base
const edm::ParameterSet _conf
 
- Protected Types inherited from ElectronMVAEstimatorRun2Fall17
enum  MVACategories_ {
  UNDEFINED = -1, CAT_EB1_PTLow = 0, CAT_EB2_PTLow = 1, CAT_EE_PTLow = 2,
  CAT_EB1_PTHig = 3, CAT_EB2_PTHig = 4, CAT_EE_PTHig = 5
}
 
- Protected Attributes inherited from ElectronMVAEstimatorRun2Fall17
const edm::InputTag beamSpotLabel_
 
std::vector< ClipclipsLower_
 
std::vector< ClipclipsUpper_
 
const edm::InputTag conversionsLabelAOD_
 
const edm::InputTag conversionsLabelMiniAOD_
 
bool debug_
 
double ebeeSplit_
 
double ebSplit_
 
std::vector< std::unique_ptr< const GBRForest > > gbrForests_
 
const std::string methodName_
 
const std::string name_
 
const int nCategories_ = 6
 
const int nVar_ = 22
 
double ptSplit_
 
const edm::InputTag rhoLabel_
 
const std::string tag_
 
std::vector< std::string > varNames_
 
bool withIso_
 

Detailed Description

Definition at line 6 of file ElectronMVAEstimatorRun2Fall17Iso.h.

Constructor & Destructor Documentation

ElectronMVAEstimatorRun2Fall17Iso::ElectronMVAEstimatorRun2Fall17Iso ( const edm::ParameterSet conf)
inline

Definition at line 10 of file ElectronMVAEstimatorRun2Fall17Iso.h.

10 : ElectronMVAEstimatorRun2Fall17(conf, true) {} // True for with isolation
ElectronMVAEstimatorRun2Fall17(const edm::ParameterSet &conf, bool withIso)
ElectronMVAEstimatorRun2Fall17Iso::~ElectronMVAEstimatorRun2Fall17Iso ( )
inlineoverride

Definition at line 11 of file ElectronMVAEstimatorRun2Fall17Iso.h.

11 {}