Skip to content

Commit

Permalink
Restore also the files utilizing DQMStore
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunanda committed Jan 4, 2022
1 parent 1ddead7 commit 8f13cf7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
5 changes: 2 additions & 3 deletions Validation/RecoTau/plugins/DQMHistNormalizer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,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/Framework/interface/MakerMacros.h"
Expand All @@ -27,15 +27,14 @@

using namespace std;

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

explicit DQMHistNormalizer(const edm::ParameterSet&);
~DQMHistNormalizer() override;
void analyze(const edm::Event&, const edm::EventSetup&) override;
void beginRun(const edm::Run&, const edm::EventSetup&) override {}
void endRun(const edm::Run& r, const edm::EventSetup& c) override;

private:
Expand Down
5 changes: 2 additions & 3 deletions Validation/RecoTau/plugins/DQMHistPlotter.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 @@ -24,7 +24,7 @@
#include <vector>
#include <map>

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

Expand Down Expand Up @@ -157,7 +157,6 @@ class TauDQMHistPlotter : public edm::one::EDAnalyzer<edm::one::WatchRuns> {
explicit TauDQMHistPlotter(const edm::ParameterSet&);
~TauDQMHistPlotter() override;
void analyze(const edm::Event&, const edm::EventSetup&) override;
void beginRun(edm::Run const&, edm::EventSetup const&) override {}
void endRun(const edm::Run& r, const edm::EventSetup& c) override;

private:
Expand Down
4 changes: 2 additions & 2 deletions Validation/RecoTau/plugins/DQMSimpleFileSaver.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,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 @@ -19,7 +19,7 @@

#include <string>

class TauDQMSimpleFileSaver : public edm::one::EDAnalyzer<> {
class TauDQMSimpleFileSaver : public edm::EDAnalyzer {
public:
typedef dqm::legacy::DQMStore DQMStore;
typedef dqm::legacy::MonitorElement MonitorElement;
Expand Down

0 comments on commit 8f13cf7

Please sign in to comment.