00001 #ifndef ElectronIDAnalyzer_h 00002 #define ElectronIDAnalyzer_h 00003 00004 #include "FWCore/Framework/interface/EDAnalyzer.h" 00005 #include "FWCore/Framework/interface/Event.h" 00006 #include "FWCore/Framework/interface/EventSetup.h" 00007 #include "DataFormats/Common/interface/Handle.h" 00008 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00009 00010 class ElectronIDAnalyzer : public edm::EDAnalyzer 00011 { 00012 public: 00013 00014 explicit ElectronIDAnalyzer(const edm::ParameterSet& conf); 00015 virtual ~ElectronIDAnalyzer(){}; 00016 00017 virtual void analyze(const edm::Event& e, const edm::EventSetup& c); 00018 00019 private: 00020 00021 edm::ParameterSet conf_; 00022 00023 std::string electronProducer_; 00024 00025 std::string electronLabelRobustLoose_; 00026 std::string electronLabelRobustTight_; 00027 std::string electronLabelLoose_; 00028 std::string electronLabelTight_; 00029 00030 }; 00031 00032 #endif