#include <EventHypothesisTools.h>
Public Member Functions | |
ByString (const std::string &cut) | |
virtual bool | operator() (const CandRefType &cand, const std::string &role) const |
virtual | ~ByString () |
Private Attributes | |
StringCutObjectSelector < reco::Candidate > | sel_ |
Definition at line 44 of file EventHypothesisTools.h.
ByString::ByString | ( | const std::string & | cut | ) |
Definition at line 43 of file EventHypothesisTools.cc.
virtual pat::eventhypothesis::ByString::~ByString | ( | ) | [inline, virtual] |
Definition at line 47 of file EventHypothesisTools.h.
{}
bool ByString::operator() | ( | const CandRefType & | cand, |
const std::string & | role | ||
) | const [virtual] |
Implements pat::eventhypothesis::ParticleFilter.
Definition at line 48 of file EventHypothesisTools.cc.
References sel_.
{ return sel_(*cand); }
Definition at line 50 of file EventHypothesisTools.h.
Referenced by operator()().