CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/TopQuarkAnalysis/Examples/plugins/TopMuonAnalyzer.h

Go to the documentation of this file.
00001 #ifndef TopMuonAnalyzer_h  
00002 #define TopMuonAnalyzer_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 TopMuonAnalyzer : public edm::EDAnalyzer {
00014 
00015  public:
00016   
00017   explicit TopMuonAnalyzer(const edm::ParameterSet&);
00018   ~TopMuonAnalyzer();
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   bool verbose_;
00028 
00029   TH1F *mult_;
00030   TH1F *en_;
00031   TH1F *pt_;
00032   TH1F *eta_;
00033   TH1F *phi_;
00034 };  
00035 
00036 #endif