00001 #ifndef FastSimulation_ParticleFlow_FSPFProducer_h_ 00002 #define FastSimulation_ParticleFlow_FSPFProducer_h_ 00003 00004 // system include files 00005 #include <string> 00006 00007 // framework include files 00008 #include "FWCore/Framework/interface/Frameworkfwd.h" 00009 #include "FWCore/Framework/interface/EDProducer.h" 00010 #include "FWCore/Framework/interface/Event.h" 00011 #include "FWCore/Framework/interface/MakerMacros.h" 00012 #include "FWCore/Framework/interface/EventSetup.h" 00013 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00014 00015 class PFCandidate; 00016 00017 class FSPFProducer : public edm::EDProducer { 00018 public: 00019 explicit FSPFProducer(const edm::ParameterSet&); 00020 ~FSPFProducer(); 00021 00022 virtual void produce(edm::Event&, const edm::EventSetup&) override; 00023 00024 private: 00025 00026 edm::InputTag labelPFCandidateCollection_; 00027 00028 double par1, par2; 00029 double barrel_th, endcap_th, middle_th; 00030 00031 bool pfPatchInHF; 00032 double HF_Ratio; 00033 std::vector<double> EM_HF_ScaleFactor; 00034 00035 double energy_threshold(double eta); 00036 00037 }; 00038 00039 #endif