CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2/src/RecoJets/JetPlusTracks/plugins/JetPlusTrackProducer.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Package:    JetPlusTracks
00004 // Class:      JetPlusTrackProducer
00005 // 
00013 //
00014 // Original Author:  Olga Kodolova,40 R-A12,+41227671273,
00015 //         Created:  Fri Feb 19 10:14:02 CET 2010
00016 // $Id: JetPlusTrackProducer.h,v 1.2 2012/10/18 08:46:42 eulisse Exp $
00017 //
00018 //
00019 
00020 
00021 // system include files
00022 #include <memory>
00023 
00024 // user include files
00025 #include "FWCore/Framework/interface/Frameworkfwd.h"
00026 #include "FWCore/Framework/interface/EDProducer.h"
00027 #include "FWCore/Framework/interface/Event.h"
00028 #include "FWCore/Framework/interface/MakerMacros.h"
00029 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00030 #include "JetPlusTrackCorrector.h"
00031 #include "ZSPJPTJetCorrector.h"
00032 
00033 #include <string>
00034 
00035 //
00036 // class declaration
00037 //
00038 
00039 class JetPlusTrackProducer : public edm::EDProducer {
00040    public:
00041       explicit JetPlusTrackProducer(const edm::ParameterSet&);
00042       ~JetPlusTrackProducer();
00043       virtual void beginJob();
00044       virtual void produce(edm::Event&, const edm::EventSetup&);
00045       virtual void endJob();
00046 
00047    private:
00048       
00049 // Data      
00050       JetPlusTrackCorrector* mJPTalgo;
00051       ZSPJPTJetCorrector*       mZSPalgo; 
00052       edm::InputTag          src;
00053       edm::InputTag          srcPVs_;
00054       std::string            alias;
00055       bool                   vectorial_;
00056       bool                   useZSP;
00057       // ----------member data ---------------------------
00058 };