CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/L1Trigger/GlobalCaloTrigger/plugins/L1GctPrintLuts.h

Go to the documentation of this file.
00001 #ifndef L1GCTPRINTLUTS_H
00002 #define L1GCTPRINTLUTS_H
00003 // -*- C++ -*-
00004 //
00005 // Package:    L1GlobalCaloTrigger
00006 // Class:      L1GctPrintLuts
00007 // 
00013 //
00014 // Author: Greg Heath
00015 // Date:   July 2008
00016 //
00017 
00018 
00019 // system include files
00020 #include <memory>
00021 
00022 // user include files
00023 #include "FWCore/Framework/interface/Frameworkfwd.h"
00024 #include "FWCore/Framework/interface/EDAnalyzer.h"
00025 
00026 #include "FWCore/Framework/interface/Event.h"
00027 
00028 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00029 
00030 #include <string>
00031 
00032 #include "L1Trigger/GlobalCaloTrigger/interface/L1GlobalCaloTrigger.h"
00033 
00034 //
00035 // class declaration
00036 //
00037 
00038 
00039 class L1GctPrintLuts : public edm::EDAnalyzer {
00040  public:
00041 
00043   typedef L1GlobalCaloTrigger::lutPtr       lutPtr;
00044   typedef L1GlobalCaloTrigger::lutPtrVector lutPtrVector;
00045 
00046   explicit L1GctPrintLuts(const edm::ParameterSet&);
00047   ~L1GctPrintLuts();
00048 
00049 
00050  private:
00051   virtual void beginJob();
00052   virtual void analyze(const edm::Event&, const edm::EventSetup&);
00053   virtual void endJob() ;
00054 
00055   int configureGct(const edm::EventSetup& c) ;
00056 
00057   // ----------member data ---------------------------
00058 
00059   // output file names
00060   std::string m_jetRanksOutFileName;
00061   std::string m_hfSumLutOutFileName;
00062   std::string m_htMissLutOutFileName;
00063 
00064   // pointer to the actual emulator
00065   L1GlobalCaloTrigger* m_gct;
00066 
00067   // pointers to the jet Et LUTs
00068   lutPtrVector m_jetEtCalibLuts;
00069 
00070 };
00071 #endif