MatchMETBenchmarkAnalyzer

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
#ifndef __DQMOffline_PFTau_MatchMETBenchmarkAnalyzer__
#define __DQMOffline_PFTau_MatchMETBenchmarkAnalyzer__

#include "DQMOffline/PFTau/interface/MatchMETBenchmark.h"
#include "DQMOffline/PFTau/plugins/BenchmarkAnalyzer.h"

#include "FWCore/Utilities/interface/EDGetToken.h"

class TH1F;

class MatchMETBenchmarkAnalyzer : public BenchmarkAnalyzer, public MatchMETBenchmark {
public:
  typedef dqm::legacy::DQMStore DQMStore;

  MatchMETBenchmarkAnalyzer(const edm::ParameterSet &parameterSet);

  void analyze(const edm::Event &, const edm::EventSetup &) override;
  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;

protected:
  edm::EDGetTokenT<edm::View<reco::MET>> myColl_;
  edm::EDGetTokenT<edm::View<reco::MET>> myMatchColl_;
  edm::InputTag matchedInputLabel_;
};

#endif