Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:20:05

0001 #ifndef L1ComparatorRun2_h
0002 #define L1ComparatorRun2_h
0003 
0004 #include <iosfwd>
0005 #include <memory>
0006 #include <vector>
0007 #include <string>
0008 #include <algorithm>
0009 
0010 #include "FWCore/Framework/interface/global/EDProducer.h"
0011 
0012 #include "FWCore/Framework/interface/Frameworkfwd.h"
0013 #include "FWCore/ServiceRegistry/interface/Service.h"
0014 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0015 #include "FWCore/Framework/interface/Event.h"
0016 #include "FWCore/Framework/interface/Run.h"
0017 #include "FWCore/Framework/interface/EventSetup.h"
0018 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0019 #include "FWCore/Utilities/interface/InputTag.h"
0020 #include "DataFormats/Common/interface/Handle.h"
0021 #include "FWCore/Framework/interface/ESHandle.h"
0022 #include "DataFormats/Common/interface/OrphanHandle.h"
0023 
0024 #include "DataFormats/L1Trigger/interface/CaloSpare.h"
0025 #include "DataFormats/L1Trigger/interface/EGamma.h"
0026 #include "DataFormats/L1Trigger/interface/Jet.h"
0027 #include "DataFormats/L1Trigger/interface/EtSum.h"
0028 #include "DataFormats/L1Trigger/interface/Tau.h"
0029 
0030 #include "DataFormats/L1TCalorimeter/interface/CaloTower.h"
0031 
0032 #include "DataFormats/L1Trigger/interface/L1DataEmulResult.h"
0033 
0034 #include "DataFormats/L1Trigger/interface/Muon.h"
0035 
0036 namespace l1t {
0037 
0038   class L1ComparatorRun2 : public edm::global::EDProducer<> {
0039   public:
0040     explicit L1ComparatorRun2(const edm::ParameterSet& ps);
0041     ~L1ComparatorRun2() override;
0042 
0043   private:
0044     void produce(edm::StreamID, edm::Event&, edm::EventSetup const&) const override;
0045 
0046     edm::EDGetTokenT<JetBxCollection> JetDataToken_;
0047     edm::EDGetTokenT<JetBxCollection> JetEmulToken_;
0048     edm::EDGetTokenT<EGammaBxCollection> EGammaDataToken_;
0049     edm::EDGetTokenT<EGammaBxCollection> EGammaEmulToken_;
0050     edm::EDGetTokenT<TauBxCollection> TauDataToken_;
0051     edm::EDGetTokenT<TauBxCollection> TauEmulToken_;
0052     edm::EDGetTokenT<EtSumBxCollection> EtSumDataToken_;
0053     edm::EDGetTokenT<EtSumBxCollection> EtSumEmulToken_;
0054     edm::EDGetTokenT<CaloTowerBxCollection> CaloTowerDataToken_;
0055     edm::EDGetTokenT<CaloTowerBxCollection> CaloTowerEmulToken_;
0056 
0057     int bxMax_;
0058     int bxMin_;
0059 
0060     bool doLayer2_;
0061     bool doLayer1_;
0062   };
0063 };  // namespace l1t
0064 
0065 #endif