Skip to content

Commit

Permalink
Restore legacy code for DQMFileLoader.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunanda Banerjee committed Jan 4, 2022
1 parent ac80bd8 commit 1ddead7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Validation/RecoTau/plugins/DQMFileLoader.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/

// framework & common header files
#include "FWCore/Framework/interface/one/EDAnalyzer.h"
#include "FWCore/Framework/interface/EDAnalyzer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
Expand All @@ -21,7 +21,7 @@
#include <vector>
#include <string>

class TauDQMFileLoader : public edm::one::EDAnalyzer<edm::one::WatchRuns> {
class TauDQMFileLoader : public edm::EDAnalyzer {
typedef dqm::legacy::DQMStore DQMStore;
typedef dqm::legacy::MonitorElement MonitorElement;

Expand All @@ -42,7 +42,6 @@ class TauDQMFileLoader : public edm::one::EDAnalyzer<edm::one::WatchRuns> {
~TauDQMFileLoader() override;
void analyze(const edm::Event&, const edm::EventSetup&) override;
void endJob() override {}
void beginRun(edm::Run const&, edm::EventSetup const&) override {}
void endRun(const edm::Run& r, const edm::EventSetup& c) override;

private:
Expand Down

0 comments on commit 1ddead7

Please sign in to comment.