Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:09:44

0001 #ifndef __DQMOffline_PFTau_PFCandidateManagerAnalyzer__
0002 #define __DQMOffline_PFTau_PFCandidateManagerAnalyzer__
0003 
0004 #include "DQMOffline/PFTau/interface/PFCandidateManager.h"
0005 #include "DQMOffline/PFTau/plugins/BenchmarkAnalyzer.h"
0006 
0007 #include "FWCore/Utilities/interface/EDGetToken.h"
0008 
0009 class TH1F;
0010 
0011 class PFCandidateManagerAnalyzer : public BenchmarkAnalyzer, public PFCandidateManager {
0012 public:
0013   typedef dqm::legacy::DQMStore DQMStore;
0014 
0015   PFCandidateManagerAnalyzer(const edm::ParameterSet &parameterSet);
0016 
0017   void analyze(const edm::Event &, const edm::EventSetup &) override;
0018 
0019   void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
0020 
0021 private:
0022   edm::EDGetTokenT<reco::PFCandidateCollection> myColl_;
0023   edm::EDGetTokenT<edm::View<reco::Candidate>> myMatchColl_;
0024   edm::InputTag matchLabel_;
0025 };
0026 
0027 #endif