Public Member Functions | |
CandidateType | candidateType () const override final |
void | getEventContent (const edm::EventBase &) override final |
GsfEleMVACut (const edm::ParameterSet &c) | |
result_type | operator() (const reco::GsfElectronPtr &) const override final |
void | setConsumes (edm::ConsumesCollector &) override final |
double | value (const reco::CandidatePtr &cand) const override final |
Public Member Functions inherited from CutApplicatorWithEventContentBase | |
CutApplicatorWithEventContentBase () | |
CutApplicatorWithEventContentBase (const edm::ParameterSet &c) | |
CutApplicatorWithEventContentBase (const CutApplicatorWithEventContentBase &)=delete | |
CutApplicatorWithEventContentBase & | operator= (const CutApplicatorWithEventContentBase &)=delete |
virtual | ~CutApplicatorWithEventContentBase () |
Destructor. More... | |
Public Member Functions inherited from CutApplicatorBase | |
virtual result_type | asCandidate (const argument_type &) const |
CutApplicatorBase () | |
CutApplicatorBase (const edm::ParameterSet &c) | |
CutApplicatorBase (const CutApplicatorBase &)=delete | |
virtual const std::string & | name () const |
virtual result_type | operator() (const argument_type &) const final |
virtual result_type | operator() (const pat::ElectronPtr &) const |
virtual result_type | operator() (const reco::PhotonPtr &) const |
virtual result_type | operator() (const pat::PhotonPtr &) const |
virtual result_type | operator() (const reco::MuonPtr &) const |
virtual result_type | operator() (const pat::MuonPtr &) const |
virtual result_type | operator() (const reco::PFTauPtr &) const |
virtual result_type | operator() (const pat::TauPtr &) const |
CutApplicatorBase & | operator= (const CutApplicatorBase &)=delete |
virtual | ~CutApplicatorBase () |
Destructor. More... | |
Public Member Functions inherited from candidate_functions::CandidateCut | |
CandidateCut () | |
virtual | ~CandidateCut () |
Private Attributes | |
edm::Handle< edm::ValueMap< int > > | _mvaCategoriesMap |
const std::vector< double > | _mvaCutValues |
edm::Handle< edm::ValueMap< float > > | _mvaValueMap |
Additional Inherited Members | |
Public Types inherited from CutApplicatorBase | |
enum | CandidateType { NONE, ELECTRON, MUON, PHOTON, TAU, PATELECTRON, PATMUON, PATPHOTON, PATTAU } |
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 35 of file GsfEleMVACut.cc.
References CutApplicatorWithEventContentBase::contentTags_, and edm::ParameterSet::getParameter().
|
inlinefinaloverridevirtual |
Reimplemented from CutApplicatorBase.
Definition at line 16 of file GsfEleMVACut.cc.
References CutApplicatorBase::ELECTRON.
|
finaloverridevirtual |
Implements CutApplicatorWithEventContentBase.
Definition at line 58 of file GsfEleMVACut.cc.
References _mvaCategoriesMap, _mvaValueMap, CutApplicatorWithEventContentBase::contentTags_, edm::EventBase::getByLabel(), and operator()().
|
finaloverridevirtual |
Reimplemented from CutApplicatorBase.
Definition at line 66 of file GsfEleMVACut.cc.
References _mvaCategoriesMap, _mvaCutValues, _mvaValueMap, edm::ValueMap< T >::begin(), eostools::cat(), edm::ValueMap< T >::contains(), CutApplicatorWithEventContentBase::contentTags_, Exception, edm::Ptr< T >::id(), edm::ValueMap< T >::idSize(), edm::HandleBase::isValid(), edm::Ptr< T >::key(), AlCaHLTBitMon_QueryRunRegistry::string, pat::PATObject< ObjectType >::userFloat(), pat::PATObject< ObjectType >::userInt(), and heppy_batch::val.
Referenced by getEventContent().
|
finaloverridevirtual |
Implements CutApplicatorWithEventContentBase.
Definition at line 47 of file GsfEleMVACut.cc.
References edm::ConsumesCollector::consumes(), CutApplicatorWithEventContentBase::contentTags_, and CutApplicatorWithEventContentBase::contentTokens_.
|
finaloverridevirtual |
Implements candidate_functions::CandidateCut.
Definition at line 105 of file GsfEleMVACut.cc.
References _mvaCategoriesMap, _mvaValueMap, 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(), AlCaHLTBitMon_QueryRunRegistry::string, pat::PATObject< ObjectType >::userFloat(), and heppy_batch::val.
|
private |
Definition at line 27 of file GsfEleMVACut.cc.
Referenced by getEventContent(), operator()(), and value().
|
private |
Definition at line 23 of file GsfEleMVACut.cc.
Referenced by operator()().
|
private |
Definition at line 26 of file GsfEleMVACut.cc.
Referenced by getEventContent(), operator()(), and value().