CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/RecoJets/JetProducers/plugins/JetIDProducer.h

Go to the documentation of this file.
00001 #ifndef RecoJets_JetProducers_plugins_JetIDProducer_h
00002 #define RecoJets_JetProducers_plugins_JetIDProducer_h
00003 
00004 // -*- C++ -*-
00005 //
00006 // Package:    JetIDProducer
00007 // Class:      JetIDProducer
00008 // 
00018 //
00019 // Original Author:  "Salvatore Rappoccio"
00020 //         Created:  Thu Sep 17 12:18:18 CDT 2009
00021 // $Id: JetIDProducer.h,v 1.3 2010/03/23 21:05:10 srappocc Exp $
00022 //
00023 //
00024 
00025 
00026 // system include files
00027 #include <memory>
00028 
00029 // user include files
00030 #include "FWCore/Framework/interface/Frameworkfwd.h"
00031 #include "FWCore/Framework/interface/EDProducer.h"
00032 
00033 #include "FWCore/Framework/interface/Event.h"
00034 #include "FWCore/Framework/interface/MakerMacros.h"
00035 
00036 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00037 #include "FWCore/Utilities/interface/InputTag.h"
00038 
00039 #include "RecoJets/JetProducers/interface/JetIDHelper.h"
00040 #include "RecoJets/JetProducers/interface/JetMuonHitsIDHelper.h"
00041 
00042 //
00043 // class decleration
00044 //
00045 
00046 class JetIDProducer : public edm::EDProducer {
00047    public:
00048 
00049       explicit JetIDProducer(const edm::ParameterSet&);
00050       ~JetIDProducer();
00051 
00052    private:
00053       virtual void beginJob() ;
00054       virtual void produce(edm::Event&, const edm::EventSetup&);
00055       virtual void endJob() ;
00056       
00057       // ----------member data ---------------------------
00058   edm::InputTag                 src_;         // input jet source
00059   reco::helper::JetIDHelper     helper_;      // jet id helper algorithm
00060   reco::helper::JetMuonHitsIDHelper muHelper_;    // jet id from muon rechits helper algorithm
00061 };
00062 
00063 
00064 #endif