00001 #ifndef RecoMuon_L2MuonIsolationProducer_H 00002 #define RecoMuon_L2MuonIsolationProducer_H 00003 00011 #include "FWCore/Framework/interface/EDProducer.h" 00012 #include "DataFormats/Common/interface/Handle.h" 00013 #include "FWCore/Framework/interface/ESHandle.h" 00014 #include "FWCore/Framework/interface/Event.h" 00015 00016 #include "RecoMuon/MuonIsolation/interface/Cuts.h" 00017 00018 #include "PhysicsTools/IsolationAlgos/interface/IsoDepositExtractor.h" 00019 00020 class L2MuonIsolationProducer : public edm::EDProducer { 00021 00022 public: 00023 00025 L2MuonIsolationProducer(const edm::ParameterSet&); 00026 00028 virtual ~L2MuonIsolationProducer(); 00029 00031 virtual void beginJob(const edm::EventSetup&); 00032 00034 virtual void produce(edm::Event&, const edm::EventSetup&); 00035 // ex virtual void reconstruct(); 00036 00037 private: 00038 00039 // this producer configs 00040 edm::ParameterSet theConfig; 00041 00042 // Muon track Collection Label 00043 edm::InputTag theSACollectionLabel; 00044 00045 // Isolation cuts 00046 muonisolation::Cuts theCuts; 00047 00048 // Option to write MuIsoDeposits into the event 00049 double optOutputIsoDeposits; 00050 00051 // MuIsoExtractor 00052 reco::isodeposit::IsoDepositExtractor* theExtractor; 00053 00054 }; 00055 00056 #endif