00001 #include <map> 00002 #include <string> 00003 00004 #include "TH1.h" 00005 #include "PhysicsTools/UtilAlgos/interface/BasicAnalyzer.h" 00006 00019 class BasicMuonAnalyzer : public edm::BasicAnalyzer { 00020 00021 public: 00023 BasicMuonAnalyzer(const edm::ParameterSet& cfg, TFileDirectory& fs); 00025 virtual ~BasicMuonAnalyzer(){}; 00027 void beginJob(){}; 00029 void endJob(){}; 00031 void analyze(const edm::EventBase& event); 00032 00033 private: 00035 edm::InputTag muons_; 00037 std::map<std::string, TH1*> hists_; 00038 };