CMS 3D CMS Logo

TopElecAnalyzer.h

Go to the documentation of this file.
00001 #ifndef TopElecAnalyzer_h  
00002 #define TopElecAnalyzer_h
00003 
00004 #include "TH1.h"
00005 #include "TH2.h"
00006 
00007 #include "FWCore/Framework/interface/Event.h"
00008 #include "FWCore/Framework/interface/EDAnalyzer.h"
00009 #include "FWCore/ParameterSet/interface/InputTag.h"
00010 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00011 #include "FWCore/ServiceRegistry/interface/Service.h"
00012 #include "PhysicsTools/UtilAlgos/interface/TFileService.h"
00013 
00014 class TopElecAnalyzer : public edm::EDAnalyzer {
00015 
00016  public:
00017   
00018   explicit TopElecAnalyzer(const edm::ParameterSet&);
00019   ~TopElecAnalyzer();
00020   
00021  private:
00022   
00023   virtual void beginJob(const edm::EventSetup&) ;
00024   virtual void analyze(const edm::Event&, const edm::EventSetup&);
00025   virtual void endJob() ;
00026 
00027   edm::InputTag elecs_;
00028   
00029   TH1I *nrElec_;
00030   TH1F *ptElec_;
00031   TH1F *enElec_;
00032   TH1F *etaElec_;
00033   TH1F *phiElec_;
00034   TH1F *dptElec_;
00035   TH1F *denElec_;
00036   TH1F *genElec_;
00037   TH1F *trgElec_;
00038 
00039   TH2D *CountInSize_T;
00040   TH2D *DepoInSize_T;
00041   TH2D *Count_Threshold_T;
00042   TH2D *Depo_Threshold_T;
00043 
00044   TH2D *CountInSize_E;
00045   TH2D *DepoInSize_E;
00046   TH2D *Count_Threshold_E;
00047   TH2D *Depo_Threshold_E;
00048 
00049   TH2D *CountInSize_H;
00050   TH2D *DepoInSize_H;
00051   TH2D *Count_Threshold_H;
00052   TH2D *Depo_Threshold_H;
00053 
00054 };  
00055 
00056 #endif  

Generated on Tue Jun 9 17:48:05 2009 for CMSSW by  doxygen 1.5.4