1 #ifndef RecoEgamma_PhotonIdentification_PhotonMVAEstimatorRun2Phys14NonTrig_H
2 #define RecoEgamma_PhotonIdentification_PhotonMVAEstimatorRun2Phys14NonTrig_H
15 #include "TMVA/Factory.h"
16 #include "TMVA/Tools.h"
17 #include "TMVA/Reader.h"
146 "PhotonMVAEstimatorRun2Phys14NonTrig");
edm::EDGetTokenT< edm::ValueMap< float > > _full5x5E5x5MapToken
const std::string getName()
edm::Handle< edm::ValueMap< float > > _phoChargedIsolationMap
edm::EDGetTokenT< double > _rhoToken
edm::Handle< edm::ValueMap< float > > _esEffSigmaRRMap
float mvaValue(const edm::Ptr< reco::Candidate > &particle)
void fillMVAVariables(const edm::Ptr< reco::Candidate > &particle)
int findCategory(const edm::Ptr< reco::Candidate > &particle)
edm::Handle< edm::ValueMap< float > > _full5x5E5x5Map
edm::EDGetTokenT< edm::ValueMap< float > > _phoChargedIsolationToken
edm::EDGetTokenT< edm::ValueMap< float > > _phoWorstChargedIsolationToken
TMVA::Reader * createSingleReader(const int iCategory, const edm::FileInPath &weightFile)
edm::EDGetTokenT< edm::ValueMap< float > > _esEffSigmaRRMapToken
void getEventContent(const edm::Event &iEvent) override
edm::EDGetTokenT< edm::ValueMap< float > > _full5x5SigmaIEtaIPhiMapToken
edm::Handle< edm::ValueMap< float > > _full5x5SigmaIEtaIPhiMap
void constrainMVAVariables()
edm::Handle< edm::ValueMap< float > > _phoPhotonIsolationMap
edm::Handle< edm::ValueMap< float > > _full5x5E2x2Map
edm::Handle< edm::ValueMap< float > > _phoWorstChargedIsolationMap
edm::Handle< edm::ValueMap< float > > _full5x5SigmaIEtaIEtaMap
PhotonMVAEstimatorRun2Phys14NonTrig(const edm::ParameterSet &conf)
edm::Handle< edm::ValueMap< float > > _full5x5E1x3Map
edm::EDGetTokenT< edm::ValueMap< float > > _full5x5SigmaIEtaIEtaMapToken
edm::EDGetTokenT< edm::ValueMap< float > > _full5x5E2x5MaxMapToken
edm::EDGetTokenT< edm::ValueMap< float > > _full5x5E1x3MapToken
edm::Handle< edm::ValueMap< float > > _full5x5E2x5MaxMap
std::vector< std::unique_ptr< TMVA::Reader > > _tmvaReaders
~PhotonMVAEstimatorRun2Phys14NonTrig()
bool isEndcapCategory(int category)
#define DEFINE_EDM_PLUGIN(factory, type, name)
void setConsumes(edm::ConsumesCollector &&) override
edm::EDGetTokenT< edm::ValueMap< float > > _phoPhotonIsolationToken
edm::Handle< double > _rho
edm::EDGetTokenT< edm::ValueMap< float > > _full5x5E2x2MapToken