Public Member Functions | |
double | operator() (const PFTauRef &tau) const |
RecoTauStringCleanerPlugin (const edm::ParameterSet &) | |
~RecoTauStringCleanerPlugin () | |
Private Attributes | |
double | failResult_ |
const StringObjectFunction< PFTau > | function_ |
const StringCutObjectSelector < PFTau > | selector_ |
Definition at line 24 of file RecoTauStringCleanerPlugin.cc.
reco::tau::RecoTauStringCleanerPlugin::RecoTauStringCleanerPlugin | ( | const edm::ParameterSet & | pset | ) | [explicit] |
Definition at line 35 of file RecoTauStringCleanerPlugin.cc.
: RecoTauCleanerPlugin(pset), selector_(pset.getParameter<std::string>("selection")), function_(pset.getParameter<std::string>("selectionPassFunction")), failResult_(pset.getParameter<double>("selectionFailValue")) {}
reco::tau::RecoTauStringCleanerPlugin::~RecoTauStringCleanerPlugin | ( | ) | [inline] |
Definition at line 27 of file RecoTauStringCleanerPlugin.cc.
{}
double reco::tau::RecoTauStringCleanerPlugin::operator() | ( | const PFTauRef & | tau | ) | const [virtual] |
Implements reco::tau::RecoTauCleanerPlugin.
Definition at line 41 of file RecoTauStringCleanerPlugin.cc.
References failResult_, function_, and selector_.
{ if(selector_(*cand)) return function_(*cand); else return failResult_; }
double reco::tau::RecoTauStringCleanerPlugin::failResult_ [private] |
Definition at line 32 of file RecoTauStringCleanerPlugin.cc.
Referenced by operator()().
const StringObjectFunction<PFTau> reco::tau::RecoTauStringCleanerPlugin::function_ [private] |
Definition at line 31 of file RecoTauStringCleanerPlugin.cc.
Referenced by operator()().
const StringCutObjectSelector<PFTau> reco::tau::RecoTauStringCleanerPlugin::selector_ [private] |
Definition at line 30 of file RecoTauStringCleanerPlugin.cc.
Referenced by operator()().