Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:25:26

0001 #ifndef RecoExamples_JetToDigiDump_h
0002 #define RecoExamples_JetToDigiDump_h
0003 #include <TH1.h>
0004 #include <TProfile.h>
0005 #include <TH2.h>
0006 /* \class JetToDigiDump

0007  *

0008  * \author Robert Harris

0009  *

0010  * \version 1

0011  *

0012  */
0013 #include "FWCore/Framework/interface/one/EDAnalyzer.h"
0014 
0015 class JetToDigiDump : public edm::one::EDAnalyzer<> {
0016 public:
0017   JetToDigiDump(const edm::ParameterSet&);
0018 
0019 private:
0020   //Framwework stuff

0021   void beginJob() override;
0022   void analyze(const edm::Event&, const edm::EventSetup&) override;
0023   void endJob() override;
0024 
0025   // Parameters passed via the config file

0026   std::string DumpLevel;   //How deep into calorimeter reco to dump

0027   std::string CaloJetAlg;  //Jet Algorithm to dump

0028   int DebugLevel;          //0 = no debug prints

0029   bool ShowECal;           //if true, ECAL hits are ignored

0030 
0031   //Internal parameters

0032   int Dump;
0033   int evtCount;
0034 };
0035 
0036 #endif