CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/PhysicsTools/PatExamples/interface/PatMuonAnalyzer.h

Go to the documentation of this file.
00001 #include <map>
00002 #include <string>
00003 
00004 #include "TH1.h"
00005 #include "PhysicsTools/UtilAlgos/interface/BasicAnalyzer.h"
00006 
00017 class PatMuonAnalyzer : public edm::BasicAnalyzer {
00018 
00019  public:
00021   PatMuonAnalyzer(const edm::ParameterSet& cfg, TFileDirectory& fs);
00023   virtual ~PatMuonAnalyzer(){};
00025   void beginJob(){};
00027   void endJob(){};
00029   void analyze(const edm::EventBase& event);
00030 
00031  private:
00033   edm::InputTag muons_;
00035   std::map<std::string, TH1*> hists_;
00036 };