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 6 of file GsfEleMVACut.cc.
GsfEleMVACut::GsfEleMVACut | ( | const edm::ParameterSet & | c | ) |
Definition at line 39 of file GsfEleMVACut.cc.
References CutApplicatorWithEventContentBase::contentTags_, cutFormula_, edm::ParameterSet::getParameter(), and mvaCutStrings_.
|
inlinefinalvirtual |
Reimplemented from CutApplicatorBase.
Definition at line 15 of file GsfEleMVACut.cc.
References CutApplicatorBase::ELECTRON, and value().
|
finalvirtual |
Implements CutApplicatorWithEventContentBase.
Definition at line 66 of file GsfEleMVACut.cc.
References CutApplicatorWithEventContentBase::contentTags_, edm::EventBase::getByLabel(), mvaCategoriesMap_, mvaValueMap_, and operator()().
|
finalvirtual |
Reimplemented from CutApplicatorBase.
Definition at line 74 of file GsfEleMVACut.cc.
References edm::ValueMap< T >::begin(), eostools::cat(), edm::ValueMap< T >::contains(), CutApplicatorWithEventContentBase::contentTags_, cutFormula_, Exception, edm::Ptr< T >::id(), edm::ValueMap< T >::idSize(), edm::HandleBase::isValid(), edm::Ptr< T >::key(), mvaCategoriesMap_, mvaValueMap_, nCuts_, AlCaHLTBitMon_QueryRunRegistry::string, pat::PATObject< ObjectType >::userFloat(), pat::PATObject< ObjectType >::userInt(), and heppy_batch::val.
Referenced by getEventContent().
|
finalvirtual |
Implements CutApplicatorWithEventContentBase.
Definition at line 55 of file GsfEleMVACut.cc.
References edm::ConsumesCollector::consumes(), CutApplicatorWithEventContentBase::contentTags_, and CutApplicatorWithEventContentBase::contentTokens_.
|
finalprivatevirtual |
Implements candidate_functions::CandidateCut.
Definition at line 111 of file GsfEleMVACut.cc.
References edm::ValueMap< T >::begin(), edm::ValueMap< T >::contains(), CutApplicatorWithEventContentBase::contentTags_, edm::Ptr< T >::id(), edm::ValueMap< T >::idSize(), edm::HandleBase::isValid(), edm::Ptr< T >::key(), mvaCategoriesMap_, mvaValueMap_, AlCaHLTBitMon_QueryRunRegistry::string, pat::PATObject< ObjectType >::userFloat(), and heppy_batch::val.
Referenced by candidateType().
|
private |
Definition at line 25 of file GsfEleMVACut.cc.
Referenced by GsfEleMVACut(), and operator()().
|
private |
Definition at line 31 of file GsfEleMVACut.cc.
Referenced by getEventContent(), operator()(), and value().
|
private |
Definition at line 24 of file GsfEleMVACut.cc.
Referenced by GsfEleMVACut().
|
private |
Definition at line 30 of file GsfEleMVACut.cc.
Referenced by getEventContent(), operator()(), and value().
|
private |
Definition at line 27 of file GsfEleMVACut.cc.
Referenced by operator()().