CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_8_patch3/src/TopQuarkAnalysis/Examples/plugins/TopTauAnalyzer.h

Go to the documentation of this file.
00001 #ifndef TopTauAnalyzer_h  
00002 #define TopTauAnalyzer_h
00003 
00004 #include "TH1F.h"
00005 
00006 #include "FWCore/Framework/interface/Event.h"
00007 #include "FWCore/Framework/interface/EDAnalyzer.h"
00008 #include "FWCore/Utilities/interface/InputTag.h"
00009 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00010 #include "FWCore/ServiceRegistry/interface/Service.h"
00011 #include "CommonTools/UtilAlgos/interface/TFileService.h"
00012 
00013 class TopTauAnalyzer : public edm::EDAnalyzer {
00014 
00015  public:
00016   
00017   explicit TopTauAnalyzer(const edm::ParameterSet&);
00018   ~TopTauAnalyzer();
00019   
00020  private:
00021   
00022   virtual void beginJob() ;
00023   virtual void analyze(const edm::Event&, const edm::EventSetup&);
00024   virtual void endJob() ;
00025 
00026   edm::InputTag input_;
00027 
00028   TH1F *mult_;
00029   TH1F *en_;
00030   TH1F *pt_;
00031   TH1F *eta_;
00032   TH1F *phi_;
00033 };  
00034 
00035 #endif