#include <HeavyFlavorAnalysis/Skimming/plugins/Tau3MuSkim.cc>
Public Member Functions | |
Tau3MuSkim (const edm::ParameterSet &) | |
~Tau3MuSkim () | |
Private Member Functions | |
virtual void | beginJob () |
virtual void | endJob () |
virtual bool | filter (edm::Event &, const edm::EventSetup &) |
Private Attributes | |
Tau3MuReco * | m_Tau3MuReco |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 21 of file Tau3MuSkim.h.
Tau3MuSkim::Tau3MuSkim | ( | const edm::ParameterSet & | iConfig | ) | [explicit] |
Definition at line 28 of file Tau3MuSkim.cc.
References m_Tau3MuReco.
{ m_Tau3MuReco = new Tau3MuReco(iConfig); produces<reco::MuonCollection,edm::InEvent>("tau3MuCandidateMuons"); produces<reco::TrackCollection,edm::InEvent>("tau3MuCandidateTracks"); }
Tau3MuSkim::~Tau3MuSkim | ( | ) |
void Tau3MuSkim::beginJob | ( | void | ) | [private, virtual] |
void Tau3MuSkim::endJob | ( | void | ) | [private, virtual] |
bool Tau3MuSkim::filter | ( | edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) | [private, virtual] |
Implements edm::EDFilter.
Definition at line 49 of file Tau3MuSkim.cc.
References accept(), Tau3MuReco::doTau3MuReco(), edm::EventSetup::get(), m_Tau3MuReco, and edm::Event::put().
{ std::auto_ptr<reco::MuonCollection> tau3MuCandidateMuons(new reco::MuonCollection); std::auto_ptr<reco::TrackCollection> tau3MuCandidateTracks(new reco::TrackCollection); bool accept = m_Tau3MuReco->doTau3MuReco(iEvent, iSetup, tau3MuCandidateMuons.get(), tau3MuCandidateTracks.get()); iEvent.put(tau3MuCandidateMuons, "tau3MuCandidateMuons"); iEvent.put(tau3MuCandidateTracks, "tau3MuCandidateTracks"); return accept; }
Tau3MuReco* Tau3MuSkim::m_Tau3MuReco [private] |
Definition at line 33 of file Tau3MuSkim.h.
Referenced by filter(), Tau3MuSkim(), and ~Tau3MuSkim().