CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/L1Trigger/RegionalCaloTrigger/interface/L1RCTSaveInput.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Package:    L1RCTSaveInput
00004 // Class:      L1RCTSaveInput
00005 //
00014 //
00015 // Original Author:  Sridhara Dasu
00016 //         Created:  Tue Jul 31 17:10:13 CEST 2007
00017 // $Id: L1RCTSaveInput.h,v 1.6 2012/02/09 13:12:23 eulisse Exp $
00018 //
00019 //
00020 
00021 #include <memory>
00022 #include <iostream>
00023 #include <fstream>
00024 
00025 #include "DataFormats/Common/interface/Handle.h"
00026 
00027 #include "FWCore/Framework/interface/Frameworkfwd.h"
00028 #include "FWCore/Framework/interface/EDAnalyzer.h"
00029 #include "FWCore/Framework/interface/Event.h"
00030 #include "FWCore/Framework/interface/EventSetup.h"
00031 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00032 #include "FWCore/Framework/interface/ESHandle.h"
00033 
00034 #include "FWCore/Framework/interface/MakerMacros.h"
00035 
00036 class L1RCTLookupTables;
00037 class L1RCT;
00038 
00039 class L1RCTSaveInput : public edm::EDAnalyzer {
00040 public:
00041   explicit L1RCTSaveInput(const edm::ParameterSet&);
00042   ~L1RCTSaveInput();
00043   virtual void analyze(const edm::Event&, const edm::EventSetup&);
00044 private:
00045   std::string fileName;
00046   L1RCTLookupTables* rctLookupTables;
00047   L1RCT* rct;
00048   bool useEcal;
00049   bool useHcal;
00050   edm::InputTag ecalDigisLabel;
00051   edm::InputTag hcalDigisLabel;
00052   bool useDebugTpgScales;
00053   std::ofstream ofs;
00054 };