Private Member Functions | |
double | value (const reco::CandidatePtr &cand) const final |
Private Attributes | |
std::vector< StringObjectFunction< reco::GsfElectron > > | cutFormula_ |
edm::Handle< edm::ValueMap< int > > | mvaCategoriesMap_ |
const std::vector< std::string > | mvaCutStrings_ |
edm::Handle< edm::ValueMap< float > > | mvaValueMap_ |
const int | nCuts_ |
Additional Inherited Members | |
Public Types inherited from CutApplicatorBase | |
enum | CandidateType { NONE, ELECTRON, MUON, PHOTON, TAU, PATELECTRON, PATMUON, PATPHOTON, PATTAU } |
Public Types inherited from candidate_functions::CandidateCut | |
using | argument_type = reco::CandidatePtr |
using | result_type = bool |
Protected Attributes inherited from CutApplicatorWithEventContentBase | |
std::unordered_map< std::string, edm::InputTag > | contentTags_ |
std::unordered_map< std::string, edm::EDGetToken > | contentTokens_ |
Definition at line 5 of file GsfEleMVACut.cc.
GsfEleMVACut::GsfEleMVACut | ( | const edm::ParameterSet & | c | ) |
Definition at line 32 of file GsfEleMVACut.cc.
References HltBtagPostValidation_cff::c, CutApplicatorWithEventContentBase::contentTags_, cutFormula_, and mvaCutStrings_.
|
inlinefinalvirtual |
Reimplemented from CutApplicatorBase.
Definition at line 14 of file GsfEleMVACut.cc.
References CutApplicatorBase::ELECTRON.
|
finalvirtual |
Implements CutApplicatorWithEventContentBase.
Definition at line 55 of file GsfEleMVACut.cc.
References CutApplicatorWithEventContentBase::contentTags_, ev, mvaCategoriesMap_, and mvaValueMap_.
|
finalvirtual |
Reimplemented from CutApplicatorBase.
Definition at line 60 of file GsfEleMVACut.cc.
References edm::ValueMap< T >::begin(), eostools::cat(), edm::ValueMap< T >::contains(), CutApplicatorWithEventContentBase::contentTags_, cutFormula_, Exception, edm::ValueMap< T >::idSize(), edm::HandleBase::isValid(), mvaCategoriesMap_, mvaValueMap_, nCuts_, AlCaHLTBitMon_QueryRunRegistry::string, and heppy_batch::val.
|
finalvirtual |
Implements CutApplicatorWithEventContentBase.
Definition at line 47 of file GsfEleMVACut.cc.
References CutApplicatorWithEventContentBase::contentTags_, and CutApplicatorWithEventContentBase::contentTokens_.
|
finalprivatevirtual |
Implements candidate_functions::CandidateCut.
Definition at line 95 of file GsfEleMVACut.cc.
References edm::ValueMap< T >::begin(), edm::ValueMap< T >::contains(), CutApplicatorWithEventContentBase::contentTags_, edm::ValueMap< T >::idSize(), edm::HandleBase::isValid(), mvaCategoriesMap_, mvaValueMap_, AlCaHLTBitMon_QueryRunRegistry::string, and heppy_batch::val.
|
private |
Definition at line 21 of file GsfEleMVACut.cc.
Referenced by GsfEleMVACut(), and operator()().
|
private |
Definition at line 27 of file GsfEleMVACut.cc.
Referenced by getEventContent(), operator()(), and value().
|
private |
Definition at line 20 of file GsfEleMVACut.cc.
Referenced by GsfEleMVACut().
|
private |
Definition at line 26 of file GsfEleMVACut.cc.
Referenced by getEventContent(), operator()(), and value().
|
private |
Definition at line 23 of file GsfEleMVACut.cc.
Referenced by operator()().