Public Member Functions | |
double | operator() (const RecoTauPiZero &) const |
Return a number indicating the quality of this PiZero. | |
RecoTauPiZeroStringQuality (const edm::ParameterSet &) | |
~RecoTauPiZeroStringQuality () | |
Private Attributes | |
double | failResult_ |
const StringObjectFunction < RecoTauPiZero > | function_ |
const StringCutObjectSelector < RecoTauPiZero > | selector_ |
Definition at line 22 of file RecoTauPiZeroQualityPlugins.cc.
reco::tau::RecoTauPiZeroStringQuality::RecoTauPiZeroStringQuality | ( | const edm::ParameterSet & | pset | ) | [explicit] |
Definition at line 33 of file RecoTauPiZeroQualityPlugins.cc.
: RecoTauPiZeroQualityPlugin(pset), selector_(pset.getParameter<std::string>("selection")), function_(pset.getParameter<std::string>("selectionPassFunction")), failResult_(pset.getParameter<double>("selectionFailValue")) {}
reco::tau::RecoTauPiZeroStringQuality::~RecoTauPiZeroStringQuality | ( | ) | [inline] |
Definition at line 25 of file RecoTauPiZeroQualityPlugins.cc.
{}
double reco::tau::RecoTauPiZeroStringQuality::operator() | ( | const RecoTauPiZero & | ) | const [virtual] |
Return a number indicating the quality of this PiZero.
Implements reco::tau::RecoTauPiZeroQualityPlugin.
Definition at line 39 of file RecoTauPiZeroQualityPlugins.cc.
References failResult_, function_, and selector_.
{ if(selector_(cand)) { return function_(cand); } else { return failResult_; } }
double reco::tau::RecoTauPiZeroStringQuality::failResult_ [private] |
Definition at line 30 of file RecoTauPiZeroQualityPlugins.cc.
Referenced by operator()().
const StringObjectFunction<RecoTauPiZero> reco::tau::RecoTauPiZeroStringQuality::function_ [private] |
Definition at line 29 of file RecoTauPiZeroQualityPlugins.cc.
Referenced by operator()().
const StringCutObjectSelector<RecoTauPiZero> reco::tau::RecoTauPiZeroStringQuality::selector_ [private] |
Definition at line 28 of file RecoTauPiZeroQualityPlugins.cc.
Referenced by operator()().