File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed
JetMETCorrections/IsolatedParticles/test Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 2020
2121// user include files
2222#include " FWCore/Framework/interface/Frameworkfwd.h"
23- #include " FWCore/Framework/interface/EDAnalyzer.h"
23+ #include " FWCore/Framework/interface/one/ EDAnalyzer.h"
2424
2525#include " FWCore/Framework/interface/Event.h"
2626#include " FWCore/Framework/interface/EventSetup.h"
7777#include " TH1F.h"
7878#include < TFile.h>
7979
80- class TestIsoSimTracks : public edm ::EDAnalyzer {
80+ class TestIsoSimTracks : public edm ::one:: EDAnalyzer<> {
8181public:
8282 explicit TestIsoSimTracks (const edm::ParameterSet&);
83- virtual ~TestIsoSimTracks (){};
8483
85- virtual void analyze (const edm::Event&, const edm::EventSetup&);
86- void endJob (void ) ;
84+ void analyze (const edm::Event&, const edm::EventSetup&) override ;
85+ void endJob () override ;
8786
8887private:
8988 TFile* m_Hfile;
Original file line number Diff line number Diff line change 2020
2121// user include files
2222#include " FWCore/Framework/interface/Frameworkfwd.h"
23- #include " FWCore/Framework/interface/EDAnalyzer.h"
23+ #include " FWCore/Framework/interface/one/ EDAnalyzer.h"
2424
2525#include " FWCore/Framework/interface/Event.h"
2626#include " FWCore/Framework/interface/EventSetup.h"
9191using namespace std ;
9292using namespace reco ;
9393
94- class TestIsoTracks : public edm ::EDAnalyzer {
94+ class TestIsoTracks : public edm ::one:: EDAnalyzer<> {
9595public:
9696 explicit TestIsoTracks (const edm::ParameterSet&);
97- virtual ~TestIsoTracks (){};
9897
9998 void setPrimaryVertex (const reco::Vertex& a) { theRecVertex = a; }
10099 void setTracksFromPrimaryVertex (vector<reco::Track>& a) { theTrack = a; }
101- virtual void analyze (const edm::Event&, const edm::EventSetup&);
102- void endJob (void ) ;
100+ void analyze (const edm::Event&, const edm::EventSetup&) override ;
101+ void endJob () override ;
103102
104103private:
105104 TFile* m_Hfile;
You can’t perform that action at this time.
0 commit comments