Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PhysicsTools/JetMCAlgos: fix clang warning hides overloaded virtual #17020

Merged
merged 1 commit into from Dec 20, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
39 changes: 0 additions & 39 deletions PhysicsTools/JetMCAlgos/plugins/GenHFHadronMatcher.cc
Expand Up @@ -64,14 +64,7 @@ class GenHFHadronMatcher : public edm::EDProducer
static void fillDescriptions ( edm::ConfigurationDescriptions& descriptions );

private:
virtual void beginJob() ;
virtual void produce( edm::Event&, const edm::EventSetup& );
virtual void endJob() ;

virtual void beginRun( edm::Run&, edm::EventSetup const& );
virtual void endRun( edm::Run&, edm::EventSetup const& );
virtual void beginLuminosityBlock( edm::LuminosityBlock&, edm::EventSetup const& );
virtual void endLuminosityBlock( edm::LuminosityBlock&, edm::EventSetup const& );

std::vector<int> findHadronJets( const reco::GenParticleCollection* genParticles, const reco::JetFlavourInfoMatchingCollection* jetFlavourInfos,
std::vector<int> &hadIndex, std::vector<reco::GenParticle> &hadMothersGenPart,
Expand Down Expand Up @@ -233,38 +226,6 @@ void GenHFHadronMatcher::produce ( edm::Event& evt, const edm::EventSetup& setup
evt.put(std::move(hadBHadronId), "gen"+flavourStr_+"HadBHadronId" );
}

// ------------ method called once each job just before starting event loop ------------
void GenHFHadronMatcher::beginJob()
{
}

// ------------ method called once each job just after ending the event loop ------------
void GenHFHadronMatcher::endJob()
{
}

// ------------ method called when starting to processes a run ------------
void GenHFHadronMatcher::beginRun ( edm::Run&, edm::EventSetup const& )
{
}

// ------------ method called when ending the processing of a run ------------
void
GenHFHadronMatcher::endRun ( edm::Run&, edm::EventSetup const& )
{
}

// ------------ method called when starting to processes a luminosity block ------------
void GenHFHadronMatcher::beginLuminosityBlock ( edm::LuminosityBlock&, edm::EventSetup const& )
{
}

// ------------ method called when ending the processing of a luminosity block ------------
void GenHFHadronMatcher::endLuminosityBlock ( edm::LuminosityBlock&, edm::EventSetup const& )
{
}



/**
* @brief identify the jets that contain b-hadrons
Expand Down