CMS 3D CMS Logo

TopGenEventAnalyzer.h

Go to the documentation of this file.
00001 #ifndef TopGenEventAnalyzer_h  
00002 #define TopGenEventAnalyzer_h
00003 
00004 #include "TH1.h"
00005 
00006 #include "FWCore/Framework/interface/Event.h"
00007 #include "FWCore/Framework/interface/EDAnalyzer.h"
00008 #include "FWCore/ParameterSet/interface/InputTag.h"
00009 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00010 #include "FWCore/ServiceRegistry/interface/Service.h"
00011 #include "PhysicsTools/UtilAlgos/interface/TFileService.h"
00012 
00013 
00014 class TopGenEventAnalyzer : public edm::EDAnalyzer {
00015 
00016  public:
00017   
00018   explicit TopGenEventAnalyzer(const edm::ParameterSet&);
00019   ~TopGenEventAnalyzer();
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 inputGenEvent_;
00028 
00029   TH1F *nLep_;
00030   TH1F *topPt_;
00031   TH1F *topEta_;
00032   TH1F *topPhi_;
00033   TH1F *topMass_;
00034   TH1F *topBarPt_;
00035   TH1F *topBarEta_;
00036   TH1F *topBarPhi_;
00037   TH1F *topBarMass_;
00038   TH1F *ttbarPt_;
00039   TH1F *ttbarEta_;
00040   TH1F *ttbarPhi_;
00041   TH1F *ttbarMass_;
00042 };  
00043 
00044 #endif  

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