CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/RecoHI/HiJetAlgos/plugins/HiL1Subtractor.h

Go to the documentation of this file.
00001 #ifndef RecoJets_JetProducers_plugins_HiL1Subtractor_h
00002 #define RecoJets_JetProducers_plugins_HiL1Subtractor_h
00003 
00004 // -*- C++ -*-
00005 //
00006 // Package:    HiL1Subtractor
00007 // Class:      HiL1Subtractor
00008 //
00016 //
00017 // Original Author:  "Matthew Nguyen"
00018 //         Created:  Sun Nov 7 12:18:18 CDT 2010
00019 // $Id: HiL1Subtractor.h,v 1.1 2011/01/10 19:56:55 mnguyen Exp $
00020 //
00021 //
00022 
00023 
00024 // system include files
00025 #include <memory>
00026 
00027 // user include files
00028 #include "FWCore/Framework/interface/Frameworkfwd.h"
00029 #include "FWCore/Framework/interface/EDProducer.h"
00030 
00031 #include "FWCore/Framework/interface/Event.h"
00032 #include "FWCore/Framework/interface/MakerMacros.h"
00033 
00034 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00035 #include "FWCore/Utilities/interface/InputTag.h"
00036 
00037 
00038 //
00039 // class declaration
00040 //
00041 
00042 class HiL1Subtractor : public edm::EDProducer {
00043 
00044  protected:
00045   //
00046   // typedefs & structs
00047   //
00048 
00049  public:
00050 
00051   explicit HiL1Subtractor(const edm::ParameterSet&);
00052   ~HiL1Subtractor();
00053 
00054 
00055  private:
00056   virtual void beginJob() ;
00057   virtual void produce(edm::Event&, const edm::EventSetup&);
00058   virtual void endJob() ;
00059 
00060 
00061   // ----------member data ---------------------------
00062   edm::InputTag                 src_;         // input jet source
00063 
00064  protected:
00065   std::string                   jetType_;     // Type of jet
00066   std::string                   rhoTag_;     // Algorithm for rho estimation
00067 };
00068 
00069 
00070 #endif