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 CutApplicatorWithEventContentBase::contentTags_, cutFormula_, edm::ParameterSet::getParameter(), and mvaCutStrings_.
|
inlinefinalvirtual |
Reimplemented from CutApplicatorBase.
Definition at line 14 of file GsfEleMVACut.cc.
References CutApplicatorBase::ELECTRON, and value().
|
finalvirtual |
Implements CutApplicatorWithEventContentBase.
Definition at line 55 of file GsfEleMVACut.cc.
References CutApplicatorWithEventContentBase::contentTags_, edm::EventBase::getByLabel(), 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::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.
|
finalvirtual |
Implements CutApplicatorWithEventContentBase.
Definition at line 47 of file GsfEleMVACut.cc.
References edm::ConsumesCollector::consumes(), 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::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 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()().