Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:19:53

0001 
0002 // -*- C++ -*-
0003 //
0004 // Package:    FakeGctInputTester
0005 // Class:      FakeGctInputTester
0006 //
0007 /**\class FakeGctInputTester FakeGctInputTester.h L1Trigger/GlobalCalotrigger/src/FakeGctInputTester.h
0008 
0009  \brief EDAnalyzer to check GCT output using fake input
0010 
0011  Implementation:
0012      <Notes on implementation>
0013 */
0014 //
0015 // Original Author:  Jim Brooke
0016 //         Created:  Tue Nov 21 14:49:14 CET 2006
0017 //
0018 //
0019 
0020 #ifndef FAKEGCTINPUTTESTER_H
0021 #define FAKEGCTINPUTTESTER_H
0022 
0023 #include "FWCore/Framework/interface/Frameworkfwd.h"
0024 #include "FWCore/Framework/interface/one/EDAnalyzer.h"
0025 
0026 #include <string>
0027 
0028 class TH1F;
0029 class TFile;
0030 
0031 class FakeGctInputTester : public edm::one::EDAnalyzer<> {
0032 public:
0033   explicit FakeGctInputTester(const edm::ParameterSet&);
0034 
0035 private:
0036   void beginJob() override;
0037   void analyze(const edm::Event&, const edm::EventSetup&) override;
0038   void endJob() override;
0039 
0040   // ----------member data ---------------------------
0041 
0042   std::string hFileName_;
0043   TFile* hFile_;
0044 
0045   TH1F* isoEmDEta_;
0046   TH1F* isoEmDPhi_;
0047 
0048   TH1F* nonIsoEmDEta_;
0049   TH1F* nonIsoEmDPhi_;
0050 
0051   TH1F* jetDEta_;
0052   TH1F* jetDPhi_;
0053 };
0054 
0055 #endif