Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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/EDProducer.h"
0013 
0014 #include "FWCore/Framework/interface/Frameworkfwd.h"
0015 #include "FWCore/ServiceRegistry/interface/Service.h"
0016 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0017 #include "FWCore/Framework/interface/Event.h"
0018 #include "FWCore/Framework/interface/Run.h"
0019 #include "FWCore/Framework/interface/EventSetup.h"
0020 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0021 #include "FWCore/Utilities/interface/InputTag.h"
0022 #include "DataFormats/Common/interface/Handle.h"
0023 #include "FWCore/Framework/interface/ESHandle.h"
0024 #include "DataFormats/Common/interface/OrphanHandle.h"
0025 
0026 #include "DataFormats/L1Trigger/interface/CaloSpare.h"
0027 #include "DataFormats/L1Trigger/interface/EGamma.h"
0028 #include "DataFormats/L1Trigger/interface/Jet.h"
0029 #include "DataFormats/L1Trigger/interface/EtSum.h"
0030 #include "DataFormats/L1Trigger/interface/Tau.h"
0031 
0032 #include "DataFormats/L1TCalorimeter/interface/CaloTower.h"
0033 
0034 #include "DataFormats/L1Trigger/interface/L1DataEmulResult.h"
0035 
0036 #include "DataFormats/L1Trigger/interface/Muon.h"
0037 
0038 namespace l1t {
0039 
0040   class L1ComparatorRun2 : public edm::EDProducer {
0041   public:
0042     explicit L1ComparatorRun2(const edm::ParameterSet& ps);
0043     ~L1ComparatorRun2() override;
0044 
0045   private:
0046     void produce(edm::Event&, edm::EventSetup const&) override;
0047 
0048     edm::EDGetToken JetDataToken_;
0049     edm::EDGetToken JetEmulToken_;
0050     edm::EDGetToken EGammaDataToken_;
0051     edm::EDGetToken EGammaEmulToken_;
0052     edm::EDGetToken TauDataToken_;
0053     edm::EDGetToken TauEmulToken_;
0054     edm::EDGetToken EtSumDataToken_;
0055     edm::EDGetToken EtSumEmulToken_;
0056     edm::EDGetToken CaloTowerDataToken_;
0057     edm::EDGetToken CaloTowerEmulToken_;
0058 
0059     int bxMax_;
0060     int bxMin_;
0061 
0062     bool doLayer2_;
0063     bool doLayer1_;
0064   };
0065 };  // namespace l1t
0066 
0067 #endif