CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/CommonTools/ParticleFlow/interface/PFMETAlgo.h

Go to the documentation of this file.
00001 #ifndef CommonTools_ParticleFlow_PFMETAlgo_
00002 #define CommonTools_ParticleFlow_PFMETAlgo_
00003 
00004 // system include files
00005 #include <memory>
00006 #include <string>
00007 
00008 // user include files
00009 #include "FWCore/Framework/interface/Frameworkfwd.h"
00010 /* #include "FWCore/Framework/interface/EDProducer.h" */
00011 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00012 
00013 /* #include "FWCore/Framework/interface/Event.h" */
00014 /* #include "FWCore/Framework/interface/MakerMacros.h" */
00015 
00016 #include "DataFormats/ParticleFlowCandidate/interface/PFCandidateFwd.h"
00017 
00018 //not a fwd declaration, to save the pain to the user to include the necessary DF header as well
00019 #include "DataFormats/METReco/interface/MET.h"
00020 
00029 namespace pf2pat {
00030   
00031   class PFMETAlgo {
00032   public:
00033 
00034     explicit PFMETAlgo(const edm::ParameterSet&);
00035 
00036     ~PFMETAlgo();
00037     
00038     reco::MET produce(const reco::PFCandidateCollection& pfCandidates);
00039 
00040   private:
00041     
00043     double hfCalibFactor_;
00044     
00046     bool   verbose_;
00047 
00048   };
00049 }
00050 
00051 #endif