CMS 3D CMS Logo

JetPlotsExample.h

Go to the documentation of this file.
00001 #ifndef RecoExamples_JetPlotsExample_h
00002 #define RecoExamples_JetPlotsExample_h
00003 #include <TH1.h>
00004 /* \class JetPlotsExample
00005  *
00006  * \author Robert Harris
00007  *
00008  * \version 1
00009  *
00010  */
00011 #include "FWCore/Framework/interface/EDAnalyzer.h"
00012 
00013 class TFile;
00014 
00015 class JetPlotsExample : public edm::EDAnalyzer {
00016 public:
00017   JetPlotsExample( const edm::ParameterSet & );
00018 
00019 private:
00020   void beginJob( const edm::EventSetup & );
00021   void analyze( const edm::Event& , const edm::EventSetup& );
00022   void endJob();
00023   std::string CaloJetAlgorithm, GenJetAlgorithm;
00024   TH1F h_ptCal, h_etaCal, h_phiCal;
00025   TH1F h_ptGen, h_etaGen, h_phiGen;
00026   TFile* m_file;
00027 };
00028 
00029 #endif

Generated on Tue Jun 9 17:43:39 2009 for CMSSW by  doxygen 1.5.4