Skip to content

Commit

Permalink
Merge pull request #16983 from gartung/CalibCalorimetry-HcalAlgos-tes…
Browse files Browse the repository at this point in the history
…t-fix-clang-warnings

CalibCalorimetry/HcalAlgos/test fix clang warning hides overloaded virtual function
  • Loading branch information
davidlange6 committed Jan 8, 2017
2 parents 59988d8 + 3d41627 commit 77c0d68
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions CalibCalorimetry/HcalAlgos/test/MapTester.cc
Expand Up @@ -54,9 +54,7 @@ class MapTester : public edm::EDAnalyzer {
bool generateTextfiles_;
bool generateEmap_;

virtual void beginRun(const edm::EventSetup&) ;
virtual void analyze(const edm::Event&, const edm::EventSetup&);
virtual void endJob() ;

// ----------member data ---------------------------
};
Expand All @@ -74,18 +72,10 @@ MapTester::~MapTester()

}

// ------------ method called to for each event ------------
void
MapTester::analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup)
{
using namespace edm;
beginRun(iSetup);
}


// ------------ method called once each job just before starting event loop ------------
// ------------ method called to for each event ------------
void
MapTester::beginRun(const edm::EventSetup& iSetup)
MapTester::analyze( const edm::Event& iEvent, const edm::EventSetup& iSetup)
{
char tempbuff[128];

Expand Down Expand Up @@ -126,10 +116,5 @@ MapTester::beginRun(const edm::EventSetup& iSetup)
HcalDbASCIIIO::dumpObject(outStream,myemap);}
}

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

//define this as a plug-in
DEFINE_FWK_MODULE(MapTester);

0 comments on commit 77c0d68

Please sign in to comment.