37 _mvaCutValues(c.getParameter<std::vector<double> >(
"mvaCuts"))
64 CutApplicatorBase::result_type
76 cat = (*_mvaCategoriesMap)[cand];
77 val = (*_mvaValueMap)[cand];
86 cat = (*_mvaCategoriesMap)[cand];
87 val = (*_mvaValueMap)[cand];
95 <<
" found a particle with a category larger than max configured " << std::endl;
102 return mvaValue > cutValue;
113 val = (*_mvaValueMap)[cand];
121 val = (*_mvaValueMap)[cand];
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
CandidateType candidateType() const overridefinal
std::unordered_map< std::string, edm::EDGetToken > contentTokens_
edm::Handle< edm::ValueMap< float > > _mvaValueMap
GsfEleMVACut(const edm::ParameterSet &c)
void setConsumes(edm::ConsumesCollector &) overridefinal
result_type operator()(const reco::GsfElectronPtr &) const overridefinal
std::unordered_map< std::string, edm::InputTag > contentTags_
void getEventContent(const edm::EventBase &) overridefinal
bool contains(ProductID id) const
double value(const reco::CandidatePtr &cand) const overridefinal
edm::Handle< edm::ValueMap< int > > _mvaCategoriesMap
const_iterator begin() const
ProductID id() const
Accessor for product ID.
const std::vector< double > _mvaCutValues
bool getByLabel(InputTag const &, Handle< T > &) const
#define DEFINE_EDM_PLUGIN(factory, type, name)