CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/FastSimulation/ParticleFlow/plugins/FSPFProducer.h

Go to the documentation of this file.
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&);
00023   virtual void beginJob();
00024   virtual void beginRun(edm::Run&, const edm::EventSetup&);
00025 
00026  private:
00027 
00028   edm::InputTag labelPFCandidateCollection_;
00029   double par1, par2;
00030   double barrel_th, endcap_th, middle_th;
00031 
00032   double energy_threshold(double eta);
00033   
00034 };
00035 
00036 #endif