CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/PhysicsTools/PatUtils/plugins/ShiftedPFCandidateProducerForNoPileUpPFMEt.h

Go to the documentation of this file.
00001 #ifndef PhysicsTools_PatUtils_ShiftedPFCandidateProducerForNoPileUpPFMEt_h
00002 #define PhysicsTools_PatUtils_ShiftedPFCandidateProducerForNoPileUpPFMEt_h
00003 
00025 #include "FWCore/Framework/interface/EDProducer.h"
00026 #include "FWCore/Framework/interface/Event.h"
00027 #include "FWCore/Framework/interface/EventSetup.h"
00028 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00029 #include "FWCore/ParameterSet/interface/FileInPath.h"
00030 #include "FWCore/Utilities/interface/InputTag.h"
00031 
00032 #include "CondFormats/JetMETObjects/interface/JetCorrectorParameters.h"
00033 #include "CondFormats/JetMETObjects/interface/JetCorrectionUncertainty.h"
00034 
00035 #include "DataFormats/Candidate/interface/Candidate.h"
00036 
00037 #include <string>
00038 #include <vector>
00039 
00040 class ShiftedPFCandidateProducerForNoPileUpPFMEt : public edm::EDProducer  
00041 {
00042  public:
00043 
00044   explicit ShiftedPFCandidateProducerForNoPileUpPFMEt(const edm::ParameterSet&);
00045   ~ShiftedPFCandidateProducerForNoPileUpPFMEt();
00046     
00047  private:
00048 
00049   void produce(edm::Event&, const edm::EventSetup&);
00050 
00051   std::string moduleLabel_;
00052 
00053   edm::InputTag srcPFCandidates_; 
00054   edm::InputTag srcJets_;
00055 
00056   edm::FileInPath jetCorrInputFileName_;
00057   std::string jetCorrPayloadName_;
00058   std::string jetCorrUncertaintyTag_;
00059   JetCorrectorParameters* jetCorrParameters_;
00060   JetCorrectionUncertainty* jecUncertainty_;
00061 
00062   double minJetPt_;
00063 
00064   double shiftBy_;
00065   
00066   double unclEnUncertainty_;
00067 };
00068 
00069 #endif
00070 
00071 
00072  
00073