Public Member Functions | |
double | operator() (const reco::PFTauRef &) const |
RecoTauRandomCleanerPlugin (const edm::ParameterSet &pset) | |
virtual | ~RecoTauRandomCleanerPlugin () |
Private Attributes | |
unsigned int | seed_ |
Definition at line 16 of file RecoTauRandomCleanerPlugin.cc.
reco::tau::RecoTauRandomCleanerPlugin::RecoTauRandomCleanerPlugin | ( | const edm::ParameterSet & | pset | ) |
Definition at line 26 of file RecoTauRandomCleanerPlugin.cc.
References edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), and seed_.
:RecoTauCleanerPlugin(pset) { seed_ = pset.exists("seed") ? pset.getParameter<unsigned int>("seed") : 1234; }
virtual reco::tau::RecoTauRandomCleanerPlugin::~RecoTauRandomCleanerPlugin | ( | ) | [inline, virtual] |
Definition at line 19 of file RecoTauRandomCleanerPlugin.cc.
{}
double reco::tau::RecoTauRandomCleanerPlugin::operator() | ( | const reco::PFTauRef & | tau | ) | const [virtual] |
Implements reco::tau::RecoTauCleanerPlugin.
Definition at line 31 of file RecoTauRandomCleanerPlugin.cc.
References convertSQLitetoXML_cfg::output, and seed_.
unsigned int reco::tau::RecoTauRandomCleanerPlugin::seed_ [private] |
Definition at line 23 of file RecoTauRandomCleanerPlugin.cc.
Referenced by operator()(), and RecoTauRandomCleanerPlugin().