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 00020 edm::InputTag pfCandidatesTag_; 00021 fastjet::GridMedianBackgroundEstimator bge_; 00022 }; 00023 00024 00025 #endif