00001 #ifndef RecoJets_JetProducers_plugins_FixedGridRhoProducer_h 00002 #define RecoJets_JetProducers_plugins_FixedGridRhoProducer_h 00003 00004 #include "FWCore/Framework/interface/EDProducer.h" 00005 #include "FWCore/Framework/interface/Frameworkfwd.h" 00006 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00007 #include "RecoJets/JetAlgorithms/interface/FixedGridEnergyDensity.h" 00008 00009 class FixedGridRhoProducer : public edm::EDProducer { 00010 00011 public: 00012 explicit FixedGridRhoProducer(const edm::ParameterSet& iConfig); 00013 virtual ~FixedGridRhoProducer(); 00014 00015 private: 00016 virtual void produce(edm::Event&, const edm::EventSetup&); 00017 virtual void beginJob() {}; 00018 virtual void endJob() {}; 00019 virtual void beginRun(edm::Run&, edm::EventSetup const&) {}; 00020 virtual void endRun(edm::Run&, edm::EventSetup const&) {}; 00021 virtual void beginLuminosityBlock(edm::LuminosityBlock&, edm::EventSetup const&) {}; 00022 virtual void endLuminosityBlock(edm::LuminosityBlock&, edm::EventSetup const&) {}; 00023 00024 edm::InputTag pfCandidatesTag_; 00025 FixedGridEnergyDensity::EtaRegion myEtaRegion; 00026 FixedGridEnergyDensity* algo; 00027 }; 00028 00029 00030 #endif