Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-05-31 22:25:54

0001 // -*- C++ -*-
0002 //
0003 // Package:    L1ScalesProducer
0004 // Class:      L1ScalesTester
0005 //
0006 /**\class L1ScalesTester L1ScalesTester.h L1TriggerConfig/L1ScalesProducer/interface/L1ScalesTester.h
0007 
0008  Description: <one line class summary>
0009 
0010  Implementation:
0011      <Notes on implementation>
0012 */
0013 //
0014 // Original Author:  Jim Brooke
0015 //         Created:  Tue Oct 3 15:28:00 CEST 2006
0016 // $Id:
0017 //
0018 //
0019 
0020 // user include files
0021 #include "FWCore/Framework/interface/one/EDAnalyzer.h"
0022 #include "FWCore/Framework/interface/Event.h"
0023 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0024 
0025 #include "CondFormats/L1TObjects/interface/L1CaloEtScale.h"
0026 #include "CondFormats/DataRecord/interface/L1EmEtScaleRcd.h"
0027 #include "CondFormats/DataRecord/interface/L1JetEtScaleRcd.h"
0028 #include "CondFormats/L1TObjects/interface/L1CaloEcalScale.h"
0029 #include "CondFormats/L1TObjects/interface/L1CaloHcalScale.h"
0030 #include "CondFormats/DataRecord/interface/L1CaloEcalScaleRcd.h"
0031 #include "CondFormats/DataRecord/interface/L1CaloHcalScaleRcd.h"
0032 
0033 //
0034 // class decleration
0035 //
0036 
0037 class L1ScalesTester : public edm::one::EDAnalyzer<> {
0038 public:
0039   explicit L1ScalesTester(const edm::ParameterSet&);
0040 
0041   void analyze(const edm::Event&, const edm::EventSetup&) override;
0042 
0043 private:
0044   // ----------member data ---------------------------
0045   const edm::ESGetToken<L1CaloEtScale, L1EmEtScaleRcd> emScaleToken_;
0046   const edm::ESGetToken<L1CaloEcalScale, L1CaloEcalScaleRcd> ecalScaleToken_;
0047   const edm::ESGetToken<L1CaloHcalScale, L1CaloHcalScaleRcd> hcalScaleToken_;
0048   const edm::ESGetToken<L1CaloEtScale, L1JetEtScaleRcd> jetScaleToken_;
0049 };
0050 
0051 //
0052 // constants, enums and typedefs
0053 //
0054 
0055 //
0056 // static data member definitions
0057 //
0058 
0059 //