Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:09:35

0001 #ifndef ScoutingTestAnalyzer_h
0002 #define ScoutingTestAnalyzer_h
0003 
0004 // This class is used to test the functionalities of the package
0005 #include "DQM/DataScouting/interface/ScoutingAnalyzerBase.h"
0006 #include "DataFormats/JetReco/interface/CaloJet.h"
0007 
0008 class ScoutingTestAnalyzer : public ScoutingAnalyzerBase {
0009 public:
0010   explicit ScoutingTestAnalyzer(const edm::ParameterSet &);
0011   ~ScoutingTestAnalyzer() override;
0012   void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
0013   void analyze(const edm::Event &, const edm::EventSetup &) override;
0014 
0015 private:
0016   // histograms
0017   edm::InputTag m_pfJetsCollectionTag;
0018   MonitorElement *m_jetPt;
0019   MonitorElement *m_jetEtaPhi;
0020   // define Token(-s)
0021   edm::EDGetTokenT<reco::CaloJetCollection> m_pfJetsCollectionTagToken_;
0022 };
0023 #endif