Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:25:31

0001 #ifndef RecoJets_JetProducers_plugins_CastorJetIDProducer_h
0002 #define RecoJets_JetProducers_plugins_CastorJetIDProducer_h
0003 
0004 // -*- C++ -*-
0005 //
0006 // Package:    CastorJetIDProducer
0007 // Class:      CastorJetIDProducer
0008 //
0009 /**\class CastorJetIDProducer CastorJetIDProducer.cc RecoJets/JetProducers/plugins/CastorJetIDProducer.cc
0010 
0011  Description: Produces a value map of jet---> jet Id
0012 
0013   
0014 */
0015 //
0016 // Original Author:  "Salvatore Rappoccio"
0017 //         Created:  Thu Sep 17 12:18:18 CDT 2009
0018 //
0019 //
0020 
0021 // system include files
0022 #include <memory>
0023 
0024 // user include files
0025 #include "FWCore/Framework/interface/Frameworkfwd.h"
0026 #include "FWCore/Framework/interface/stream/EDProducer.h"
0027 
0028 #include "FWCore/Framework/interface/Event.h"
0029 #include "FWCore/Framework/interface/MakerMacros.h"
0030 
0031 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0032 #include "FWCore/Utilities/interface/InputTag.h"
0033 
0034 #include "RecoJets/JetProducers/interface/CastorJetIDHelper.h"
0035 
0036 //
0037 // class decleration
0038 //
0039 
0040 class CastorJetIDProducer : public edm::stream::EDProducer<> {
0041 public:
0042   explicit CastorJetIDProducer(const edm::ParameterSet&);
0043   ~CastorJetIDProducer() override;
0044 
0045 private:
0046   void produce(edm::Event&, const edm::EventSetup&) override;
0047 
0048   // ----------member data ---------------------------
0049   edm::InputTag src_;                       // input jet source
0050   reco::helper::CastorJetIDHelper helper_;  // castor jet id helper algorithm
0051 
0052   edm::EDGetTokenT<edm::View<reco::BasicJet> > input_jet_token_;
0053 };
0054 
0055 #endif