CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/RecoJets/JetAnalyzers/interface/CaloTowersExample.h

Go to the documentation of this file.
00001 #ifndef RecoExamples_CaloTowersExample_h
00002 #define RecoExamples_CaloTowersExample_h
00003 #include <TH1.h>
00004 /* \class CaloTowersExample
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 CaloTowersExample : public edm::EDAnalyzer {
00016 public:
00017   CaloTowersExample( const edm::ParameterSet & );
00018 
00019 private:
00020   void beginJob( );
00021   void analyze( const edm::Event& , const edm::EventSetup& );
00022   void endJob();
00023   std::string CaloTowersAlgorithm;
00024   TH1F h_et;
00025   TFile* m_file;
00026 };
00027 
00028 #endif