Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:22:38

0001 #ifndef L1TCaloUpgradeToGCTConverter_h
0002 #define L1TCaloUpgradeToGCTConverter_h
0003 
0004 ///
0005 /// \class l1t::L1TCaloUpgradeToGCTConverter
0006 ///
0007 /// Description: Emulator for the stage 1 jet algorithms.
0008 ///
0009 ///
0010 /// \author: Ivan Amos Cali MIT
0011 ///
0012 
0013 // system include files
0014 #include <memory>
0015 
0016 // user include files
0017 
0018 #include "FWCore/Framework/interface/EventSetup.h"
0019 #include "FWCore/Framework/interface/Frameworkfwd.h"
0020 #include "FWCore/Framework/interface/global/EDProducer.h"
0021 #include "FWCore/Framework/interface/Event.h"
0022 #include "FWCore/Framework/interface/MakerMacros.h"
0023 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0024 #include "FWCore/Utilities/interface/EDGetToken.h"
0025 #include "FWCore/Utilities/interface/InputTag.h"
0026 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0027 
0028 #include "DataFormats/L1Trigger/interface/BXVector.h"
0029 
0030 #include "DataFormats/L1TCalorimeter/interface/CaloRegion.h"
0031 #include "DataFormats/L1TCalorimeter/interface/CaloEmCand.h"
0032 
0033 #include "DataFormats/L1Trigger/interface/EGamma.h"
0034 #include "DataFormats/L1Trigger/interface/Tau.h"
0035 #include "DataFormats/L1Trigger/interface/Jet.h"
0036 #include "DataFormats/L1Trigger/interface/EtSum.h"
0037 #include "DataFormats/L1Trigger/interface/CaloSpare.h"
0038 
0039 #include "DataFormats/L1GlobalCaloTrigger/interface/L1GctCollections.h"
0040 
0041 #include <vector>
0042 
0043 //
0044 // class declaration
0045 //
0046 
0047 class L1TCaloUpgradeToGCTConverter : public edm::global::EDProducer<> {
0048 public:
0049   explicit L1TCaloUpgradeToGCTConverter(const edm::ParameterSet&);
0050   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0051 
0052 private:
0053   void produce(edm::StreamID, edm::Event&, edm::EventSetup const&) const override;
0054 
0055   const edm::EDGetToken EGammaToken_;
0056   const edm::EDGetToken RlxTauToken_;
0057   const edm::EDGetToken IsoTauToken_;
0058   const edm::EDGetToken JetToken_;
0059   const edm::EDGetToken EtSumToken_;
0060   const edm::EDGetToken HfSumsToken_;
0061   const edm::EDGetToken HfCountsToken_;
0062 
0063   const int bxMin_;
0064   const int bxMax_;
0065 };
0066 
0067 #endif