00001 #ifndef ElectronSqPtTkIsolationProducer_h 00002 #define ElectronSqPtTkIsolationProducer_h 00003 00004 00005 00006 #include "FWCore/Framework/interface/Frameworkfwd.h" 00007 #include "FWCore/Framework/interface/EDProducer.h" 00008 00009 #include "FWCore/Framework/interface/Event.h" 00010 #include "FWCore/Framework/interface/MakerMacros.h" 00011 00012 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00013 00014 class ElectronSqPtTkIsolationProducer : public edm::EDProducer { 00015 public: 00016 explicit ElectronSqPtTkIsolationProducer(const edm::ParameterSet&); 00017 ~ElectronSqPtTkIsolationProducer(); 00018 00019 virtual void produce(edm::Event&, const edm::EventSetup&); 00020 00021 private: 00022 edm::InputTag electronProducer_; 00023 edm::InputTag trackProducer_; 00024 00025 double ptMin_; 00026 double intRadius_; 00027 double extRadius_; 00028 double maxVtxDist_; 00029 00030 bool absolut_; 00031 00032 edm::ParameterSet conf_; 00033 00034 }; 00035 00036 00037 #endif