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.
|
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, and hgcalPerformanceValidation::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, and hgcalPerformanceValidation::val.
Referenced by Types.int32::__nonzero__(), Types.uint32::__nonzero__(), Types.int64::__nonzero__(), Types.uint64::__nonzero__(), Types.double::__nonzero__(), Types.bool::__nonzero__(), Types.string::__nonzero__(), Types.string::configValue(), Types.FileInPath::configValue(), Types.int32::insertInto(), Types.uint32::insertInto(), Types.int64::insertInto(), Types.uint64::insertInto(), Types.double::insertInto(), Types.bool::insertInto(), Types.string::insertInto(), Types.FileInPath::insertInto(), Types.vint32::insertInto(), Types.vuint32::insertInto(), Types.vint64::insertInto(), Types.vuint64::insertInto(), Types.vdouble::insertInto(), Types.vbool::insertInto(), and Types.vstring::insertInto().
|
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()().