34 "GsfEleMVAExpoScalingCut");
65 CutApplicatorBase::result_type
77 cat = (*mvaCategoriesMap_)[cand];
78 val = (*mvaValueMap_)[cand];
87 cat = (*mvaCategoriesMap_)[cand];
88 val = (*mvaValueMap_)[cand];
95 <<
" found a particle with a category larger than max configured " << std::endl;
104 return mvaValue > c -
exp(- cand->
pt() /
tau) * A;;
115 val = (*mvaValueMap_)[cand];
123 val = (*mvaValueMap_)[cand];
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
double value(const reco::CandidatePtr &cand) const final
std::unordered_map< std::string, edm::EDGetToken > contentTokens_
double pt() const final
transverse momentum
std::unordered_map< std::string, edm::InputTag > contentTags_
float userFloat(const std::string &key) const
bool contains(ProductID id) const
CandidateType candidateType() const final
result_type operator()(const reco::GsfElectronPtr &) const final
int32_t userInt(const std::string &key) const
const_iterator begin() const
edm::Handle< edm::ValueMap< int > > mvaCategoriesMap_
edm::Handle< edm::ValueMap< float > > mvaValueMap_
ProductID id() const
Accessor for product ID.
bool getByLabel(InputTag const &, Handle< T > &) const
GsfEleMVAExpoScalingCut(const edm::ParameterSet &c)
#define DEFINE_EDM_PLUGIN(factory, type, name)
void setConsumes(edm::ConsumesCollector &) final
void getEventContent(const edm::EventBase &) final
const std::vector< double > mvaCutValues