00001 #ifndef RecoExamples_JetToDigiDump_h 00002 #define RecoExamples_JetToDigiDump_h 00003 #include <TH1.h> 00004 #include <TProfile.h> 00005 #include <TH2.h> 00006 /* \class JetToDigiDump 00007 * 00008 * \author Robert Harris 00009 * 00010 * \version 1 00011 * 00012 */ 00013 #include "FWCore/Framework/interface/EDAnalyzer.h" 00014 00015 class JetToDigiDump : public edm::EDAnalyzer { 00016 public: 00017 JetToDigiDump( const edm::ParameterSet & ); 00018 00019 private: 00020 //Framwework stuff 00021 void beginJob( ); 00022 void analyze( const edm::Event& , const edm::EventSetup& ); 00023 void endJob(); 00024 00025 // Parameters passed via the config file 00026 std::string DumpLevel; //How deep into calorimeter reco to dump 00027 std::string CaloJetAlg; //Jet Algorithm to dump 00028 int DebugLevel; //0 = no debug prints 00029 bool ShowECal; //if true, ECAL hits are ignored 00030 00031 //Internal parameters 00032 int Dump; 00033 int evtCount; 00034 00035 }; 00036 00037 #endif