#include <RecoTauPluginsCommon.h>
Public Member Functions | |
virtual void | beginEvent () |
const edm::Event * | evt () const |
const edm::EventSetup * | evtSetup () const |
RecoTauEventHolderPlugin (const edm::ParameterSet &pset) | |
void | setup (const edm::Event &, const edm::EventSetup &) |
virtual | ~RecoTauEventHolderPlugin () |
Private Attributes | |
const edm::EventSetup * | es_ |
const edm::Event * | evt_ |
Definition at line 40 of file RecoTauPluginsCommon.h.
reco::tau::RecoTauEventHolderPlugin::RecoTauEventHolderPlugin | ( | const edm::ParameterSet & | pset | ) | [explicit] |
Definition at line 13 of file RecoTauPluginsCommon.cc.
:RecoTauNamedPlugin(pset),evt_(NULL),es_(NULL) {}
virtual reco::tau::RecoTauEventHolderPlugin::~RecoTauEventHolderPlugin | ( | ) | [inline, virtual] |
Definition at line 45 of file RecoTauPluginsCommon.h.
{}
virtual void reco::tau::RecoTauEventHolderPlugin::beginEvent | ( | ) | [inline, virtual] |
Reimplemented in reco::tau::RecoTauDiscriminationBinnedIsolation, reco::tau::RecoTauBuilderPlugin, reco::tau::RecoTauModifierPlugin, reco::tau::RecoTauCleanerPlugin, reco::tau::RecoTauDiscriminantPlugin, reco::tau::RecoTauPiZeroBuilderPlugin, reco::tau::RecoTauDiscriminantCleanerPlugin, reco::tau::RecoTauDiscriminantFromDiscriminator, reco::tau::RecoTauEnergyRecoveryPlugin, reco::tau::RecoTauImpactParameterSignificancePlugin, reco::tau::RecoTauPiZeroStripPlugin, reco::tau::RecoTauPiZeroStripPlugin2, reco::tau::RecoTauTagInfoWorkaroundModifer, tautools::RecoTauDecayModeTruthMatchPlugin, tautools::RecoTauDistanceFromTruthPlugin, and reco::tau::RecoTauObjectEmbedder< T >.
Definition at line 52 of file RecoTauPluginsCommon.h.
Referenced by setup().
{}
const edm::Event * reco::tau::RecoTauEventHolderPlugin::evt | ( | ) | const |
Definition at line 16 of file RecoTauPluginsCommon.cc.
References evt_.
Referenced by tautools::RecoTauDistanceFromTruthPlugin::beginEvent(), reco::tau::RecoTauEnergyRecoveryPlugin::beginEvent(), tautools::RecoTauDecayModeTruthMatchPlugin::beginEvent(), reco::tau::RecoTauImpactParameterSignificancePlugin::beginEvent(), reco::tau::RecoTauDiscriminantCleanerPlugin::beginEvent(), reco::tau::RecoTauTagInfoWorkaroundModifer::beginEvent(), reco::tau::RecoTauDiscriminantFromDiscriminator::beginEvent(), reco::tau::RecoTauBuilderPlugin::beginEvent(), reco::tau::RecoTauPiZeroStripPlugin2::beginEvent(), reco::tau::RecoTauDiscriminationBinnedIsolation::beginEvent(), reco::tau::RecoTauPiZeroStripPlugin::beginEvent(), and setup().
{ return evt_; }
const edm::EventSetup * reco::tau::RecoTauEventHolderPlugin::evtSetup | ( | ) | const |
Definition at line 17 of file RecoTauPluginsCommon.cc.
References es_.
Referenced by reco::tau::RecoTauImpactParameterSignificancePlugin::beginEvent().
{ return es_; }
void reco::tau::RecoTauEventHolderPlugin::setup | ( | const edm::Event & | evt, |
const edm::EventSetup & | es | ||
) |
Definition at line 19 of file RecoTauPluginsCommon.cc.
References beginEvent(), es_, evt(), and evt_.
Referenced by RecoTauPiZeroProducer::produce().
{ evt_ = &evt; es_ = &es; // Call the virtual beginEvent() function this->beginEvent(); }
const edm::EventSetup* reco::tau::RecoTauEventHolderPlugin::es_ [private] |
Definition at line 55 of file RecoTauPluginsCommon.h.
Referenced by evtSetup(), and setup().
const edm::Event* reco::tau::RecoTauEventHolderPlugin::evt_ [private] |
Definition at line 54 of file RecoTauPluginsCommon.h.