forked from cms-sw/cmssw
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HeavyFlavorAnalysis consumes migration.
- Loading branch information
Volker Adler
committed
Mar 19, 2014
1 parent
a29b121
commit d582151
Showing
3 changed files
with
50 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
// | ||
// Package: Tau3MuSkim | ||
// Class: Tau3MuSkim | ||
// | ||
// | ||
/**\class Tau3MuSkim Tau3MuSkim.cc HeavyFlavorAnalysis/Skimming/plugins/Tau3MuSkim.cc | ||
Description: <one line class summary> | ||
|
@@ -11,7 +11,7 @@ | |
<Notes on implementation> | ||
*/ | ||
// | ||
// Original Author: Manuel Giffels <[email protected]> | ||
// Original Author: Manuel Giffels <[email protected]> | ||
// Created: Mon Jul 23 10:19:11 CEST 2007 | ||
// | ||
// | ||
|
@@ -26,7 +26,7 @@ | |
|
||
Tau3MuSkim::Tau3MuSkim(const edm::ParameterSet& iConfig) | ||
{ | ||
m_Tau3MuReco = new Tau3MuReco(iConfig); | ||
m_Tau3MuReco = new Tau3MuReco(iConfig, consumesCollector()); | ||
|
||
produces<reco::MuonCollection,edm::InEvent>("tau3MuCandidateMuons"); | ||
produces<reco::TrackCollection,edm::InEvent>("tau3MuCandidateTracks"); | ||
|
@@ -49,24 +49,24 @@ Tau3MuSkim::filter(edm::Event& iEvent, const edm::EventSetup& iSetup) | |
{ | ||
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; | ||
} | ||
|
||
// ------------ method called once each job just before starting event loop ------------ | ||
void | ||
void | ||
Tau3MuSkim::beginJob() | ||
{ | ||
{ | ||
} | ||
|
||
// ------------ method called once each job just after ending the event loop ------------ | ||
void | ||
Tau3MuSkim::endJob() | ||
void | ||
Tau3MuSkim::endJob() | ||
{ | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters