#ifndef __DQMOffline_PFTau_PFCandidateBenchmarkAnalyzer__
#define __DQMOffline_PFTau_PFCandidateBenchmarkAnalyzer__

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

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

class TH1F;

class PFCandidateBenchmarkAnalyzer : public BenchmarkAnalyzer, public PFCandidateBenchmark {
public:
  typedef dqm::legacy::DQMStore DQMStore;

  PFCandidateBenchmarkAnalyzer(const edm::ParameterSet &parameterSet);

  void analyze(const edm::Event &, const edm::EventSetup &) override;

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

  edm::EDGetTokenT<reco::PFCandidateCollection> myColl_;
};

#endif
