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().
|
inlinefinalvirtual |
Reimplemented from CutApplicatorBase.
Definition at line 16 of file PhoMVACut.cc.
References CutApplicatorBase::PHOTON.
|
finalvirtual |
Implements CutApplicatorWithEventContentBase.
Definition at line 58 of file PhoMVACut.cc.
References _mvaCategoriesMap, _mvaValueMap, CutApplicatorWithEventContentBase::contentTags_, edm::EventBase::getByLabel(), and operator()().
|
finalvirtual |
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(), AlCaHLTBitMon_QueryRunRegistry::string, pat::PATObject< ObjectType >::userFloat(), pat::PATObject< ObjectType >::userInt(), and heppy_batch::val.
Referenced by getEventContent().
|
finalvirtual |
Implements CutApplicatorWithEventContentBase.
Definition at line 47 of file PhoMVACut.cc.
References edm::ConsumesCollector::consumes(), CutApplicatorWithEventContentBase::contentTags_, and CutApplicatorWithEventContentBase::contentTokens_.
|
finalvirtual |
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(), AlCaHLTBitMon_QueryRunRegistry::string, pat::PATObject< ObjectType >::userFloat(), and heppy_batch::val.
|
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().