00001 #ifndef RecoJets_JetProducers_plugins_FixedGridRhoProducerFastjet_h 00002 #define RecoJets_JetProducers_plugins_FixedGridRhoProducerFastjet_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 "DataFormats/ParticleFlowCandidate/interface/PFCandidateFwd.h" 00008 #include "fastjet/tools/GridMedianBackgroundEstimator.hh" 00009 00010 00011 class FixedGridRhoProducerFastjet : public edm::EDProducer { 00012 00013 public: 00014 explicit FixedGridRhoProducerFastjet(const edm::ParameterSet& iConfig); 00015 virtual ~FixedGridRhoProducerFastjet(); 00016 00017 private: 00018 virtual void produce(edm::Event&, const edm::EventSetup&); 00019 virtual void beginJob() {}; 00020 virtual void endJob() {}; 00021 virtual void beginRun(edm::Run&, edm::EventSetup const&) {}; 00022 virtual void endRun(edm::Run&, edm::EventSetup const&) {}; 00023 virtual void beginLuminosityBlock(edm::LuminosityBlock&, edm::EventSetup const&) {}; 00024 virtual void endLuminosityBlock(edm::LuminosityBlock&, edm::EventSetup const&) {}; 00025 00026 edm::InputTag pfCandidatesTag_; 00027 fastjet::GridMedianBackgroundEstimator bge_; 00028 }; 00029 00030 00031 #endif