76 cat = (*_mvaCategoriesMap)[cand];
77 val = (*_mvaValueMap)[cand];
86 cat = (*_mvaCategoriesMap)[cand];
87 val = (*_mvaValueMap)[cand];
94 <<
" found a particle with a category larger than max configured " << std::endl;
101 return mvaValue > cutValue;
112 val = (*_mvaValueMap)[cand];
120 val = (*_mvaValueMap)[cand];
double value(const reco::CandidatePtr &cand) const final
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
PhoMVACut(const edm::ParameterSet &c)
std::unordered_map< std::string, edm::EDGetToken > contentTokens_
std::unordered_map< std::string, edm::InputTag > contentTags_
edm::Handle< edm::ValueMap< float > > _mvaValueMap
float userFloat(const std::string &key) const
void getEventContent(const edm::EventBase &) final
bool contains(ProductID id) const
result_type operator()(const reco::PhotonPtr &) const final
const std::vector< double > _mvaCutValues
void setConsumes(edm::ConsumesCollector &) 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
#define DEFINE_EDM_PLUGIN(factory, type, name)
edm::Handle< edm::ValueMap< int > > _mvaCategoriesMap
CandidateType candidateType() const final