Public Member Functions | |
CandidateType | candidateType () const overridefinal |
void | getEventContent (const edm::EventBase &) overridefinal |
result_type | operator() (const reco::PhotonPtr &) const overridefinal |
PhoMVACut (const edm::ParameterSet &c) | |
void | setConsumes (edm::ConsumesCollector &) overridefinal |
double | value (const reco::CandidatePtr &cand) const overridefinal |
Public Member Functions inherited from 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 (const edm::ParameterSet &c) | |
CutApplicatorBase (const CutApplicatorBase &)=delete | |
const std::string & | name () const |
virtual result_type | operator() (const argument_type &) const final |
virtual result_type | operator() (const reco::GsfElectronPtr &) const |
virtual result_type | operator() (const pat::ElectronPtr &) 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 | |
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 PhoMVACut.cc.
PhoMVACut::PhoMVACut | ( | const edm::ParameterSet & | c | ) |
Definition at line 35 of file PhoMVACut.cc.
References CutApplicatorWithEventContentBase::contentTags_, and edm::ParameterSet::getParameter().
|
inlinefinaloverridevirtual |
Reimplemented from CutApplicatorBase.
Definition at line 16 of file PhoMVACut.cc.
References CutApplicatorBase::PHOTON.
|
finaloverridevirtual |
Implements CutApplicatorWithEventContentBase.
Definition at line 58 of file PhoMVACut.cc.
References _mvaCategoriesMap, _mvaValueMap, CutApplicatorWithEventContentBase::contentTags_, and edm::EventBase::getByLabel().
|
finaloverridevirtual |
Reimplemented from CutApplicatorBase.
Definition at line 66 of file PhoMVACut.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(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
finaloverridevirtual |
Implements CutApplicatorWithEventContentBase.
Definition at line 47 of file PhoMVACut.cc.
References edm::ConsumesCollector::consumes(), CutApplicatorWithEventContentBase::contentTags_, and CutApplicatorWithEventContentBase::contentTokens_.
|
finaloverridevirtual |
Implements candidate_functions::CandidateCut.
Definition at line 104 of file PhoMVACut.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(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 27 of file PhoMVACut.cc.
Referenced by getEventContent(), operator()(), and value().
|
private |
Definition at line 23 of file PhoMVACut.cc.
Referenced by operator()().
|
private |
Definition at line 26 of file PhoMVACut.cc.
Referenced by getEventContent(), operator()(), and value().