25 std::vector<StringObjectFunction<reco::GsfElectron>>
cutFormula_;
84 cat = (*mvaCategoriesMap_)[cand];
85 val = (*mvaValueMap_)[cand];
94 cat = (*mvaCategoriesMap_)[cand];
95 val = (*mvaValueMap_)[cand];
102 <<
" found a particle with a category larger than max configured " << std::endl;
119 val = (*mvaValueMap_)[cand];
127 val = (*mvaValueMap_)[cand];
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
result_type operator()(const reco::GsfElectronPtr &) const final
edm::Handle< edm::ValueMap< int > > mvaCategoriesMap_
double value(const reco::CandidatePtr &cand) const final
std::unordered_map< std::string, edm::EDGetToken > contentTokens_
GsfEleMVACut(const edm::ParameterSet &c)
void setConsumes(edm::ConsumesCollector &) final
std::vector< StringObjectFunction< reco::GsfElectron > > cutFormula_
std::unordered_map< std::string, edm::InputTag > contentTags_
float userFloat(const std::string &key) const
bool contains(ProductID id) const
void getEventContent(const edm::EventBase &) final
int32_t userInt(const std::string &key) const
const_iterator begin() const
ProductID id() const
Accessor for product ID.
bool getByLabel(InputTag const &, Handle< T > &) const
CandidateType candidateType() const final
#define DEFINE_EDM_PLUGIN(factory, type, name)
edm::Handle< edm::ValueMap< float > > mvaValueMap_
const std::vector< std::string > mvaCutStrings_