Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:20:28

0001 #ifndef HLTJetL1TMatchProducer_h
0002 #define HLTJetL1TMatchProducer_h
0003 
0004 #include <string>
0005 #include "FWCore/Framework/interface/stream/EDProducer.h"
0006 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0007 #include "FWCore/Framework/interface/Event.h"
0008 #include "FWCore/Framework/interface/EventSetup.h"
0009 
0010 #include "DataFormats/L1Trigger/interface/L1JetParticleFwd.h"
0011 #include "DataFormats/L1Trigger/interface/L1JetParticle.h"
0012 #include "DataFormats/L1Trigger/interface/Jet.h"
0013 #include "DataFormats/JetReco/interface/CaloJet.h"
0014 #include "DataFormats/JetReco/interface/CaloJetCollection.h"
0015 #include "DataFormats/JetReco/interface/PFJet.h"
0016 #include "DataFormats/JetReco/interface/PFJetCollection.h"
0017 #include "DataFormats/JetReco/interface/TrackJetCollection.h"
0018 #include "DataFormats/JetReco/interface/BasicJetCollection.h"
0019 
0020 template <typename T>
0021 class HLTJetL1TMatchProducer : public edm::stream::EDProducer<> {
0022 public:
0023   explicit HLTJetL1TMatchProducer(const edm::ParameterSet &);
0024   ~HLTJetL1TMatchProducer() override;
0025   static void fillDescriptions(edm::ConfigurationDescriptions &descriptions);
0026   virtual void beginJob();
0027   void produce(edm::Event &, const edm::EventSetup &) override;
0028 
0029 private:
0030   edm::EDGetTokenT<std::vector<T>> m_theJetToken;
0031   edm::EDGetTokenT<l1t::JetBxCollection> m_theL1JetToken;
0032   edm::InputTag jetsInput_;
0033   edm::InputTag L1Jets_;
0034   //  std::string jetType_;
0035   double DeltaR_;  // DeltaR(HLT,L1)
0036 };
0037 
0038 #endif