CMS 3D CMS Logo

GsfEleEBEECut.cc
Go to the documentation of this file.
5 
7 public:
9  : CutApplicatorBase(c), cutFormula_(c.getParameter<std::string>("cutString")), cutValue_(c, "cutValue") {}
10 
12 
13  double value(const reco::CandidatePtr& cand) const final {
15  return cutFormula_(*ele);
16  }
17 
19 
20 private:
23 };
24 
GsfEleEBEECut::cutFormula_
StringObjectFunction< reco::GsfElectron > cutFormula_
Definition: GsfEleEBEECut.cc:21
StringObjectFunction< reco::GsfElectron >
GsfEleEBEECut::value
double value(const reco::CandidatePtr &cand) const final
Definition: GsfEleEBEECut.cc:13
EBEECutValues.h
GsfEleEBEECut::candidateType
CandidateType candidateType() const final
Definition: GsfEleEBEECut.cc:18
watchdog.const
const
Definition: watchdog.py:83
GsfEleEBEECut::cutValue_
const EBEECutValuesT< double > cutValue_
Definition: GsfEleEBEECut.cc:22
candidate_functions::CandidateCut::result_type
bool result_type
Definition: CandidateCut.h:11
GsfElectron.h
DEFINE_EDM_PLUGIN
#define DEFINE_EDM_PLUGIN(factory, type, name)
Definition: PluginFactory.h:124
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
GsfEleEBEECut::operator()
result_type operator()(const reco::GsfElectronPtr &cand) const final
Definition: GsfEleEBEECut.cc:11
edm::ParameterSet
Definition: ParameterSet.h:47
CutApplicatorBase::CandidateType
CandidateType
Definition: CutApplicatorBase.h:47
edmplugin::PluginFactory
Definition: PluginFactory.h:34
cand
Definition: decayParser.h:32
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
edm::Ptr< reco::GsfElectron >
CutApplicatorBase
Definition: CutApplicatorBase.h:45
std
Definition: JetResolutionObject.h:76
EBEECutValuesT< double >
GsfEleEBEECut::GsfEleEBEECut
GsfEleEBEECut(const edm::ParameterSet &c)
Definition: GsfEleEBEECut.cc:8
CutApplicatorBase.h
StringObjectFunction.h
CutApplicatorBase::ELECTRON
Definition: CutApplicatorBase.h:47
GsfEleEBEECut
Definition: GsfEleEBEECut.cc:6