Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:49:44

0001 #ifndef AnyJetToCaloJetProducer_H
0002 #define AnyJetToCaloJetProducer_H
0003 
0004 // Author: S. Lowette
0005 
0006 #include "DataFormats/Common/interface/View.h"
0007 #include "DataFormats/JetReco/interface/CaloJetCollection.h"
0008 
0009 #include "FWCore/Framework/interface/Frameworkfwd.h"
0010 #include "FWCore/Framework/interface/stream/EDProducer.h"
0011 #include "FWCore/Framework/interface/Event.h"
0012 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0013 #include "FWCore/Utilities/interface/InputTag.h"
0014 
0015 namespace edm {
0016   class ConfigurationDescriptions;
0017 }
0018 
0019 class AnyJetToCaloJetProducer : public edm::stream::EDProducer<> {
0020 public:
0021   explicit AnyJetToCaloJetProducer(const edm::ParameterSet&);
0022   ~AnyJetToCaloJetProducer() override;
0023 
0024   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0025   void produce(edm::Event&, const edm::EventSetup&) override;
0026 
0027 private:
0028   edm::EDGetTokenT<edm::View<reco::Jet>> m_theGenericJetToken;
0029   edm::InputTag jetSrc_;
0030 };
0031 
0032 #endif