CMS 3D CMS Logo

L1CondDBPayloadWriter.h

Go to the documentation of this file.
00001 #ifndef CondTools_L1Trigger_L1CondDBPayloadWriter_h
00002 #define CondTools_L1Trigger_L1CondDBPayloadWriter_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     L1Trigger
00006 // Class  :     L1CondDBPayloadWriter
00007 // 
00016 //
00017 // Original Author:  
00018 //         Created:  Sun Mar  2 07:06:56 CET 2008
00019 // $Id: L1CondDBPayloadWriter.h,v 1.2 2008/09/12 04:52:28 wsun Exp $
00020 //
00021 
00022 // system include files
00023 #include <memory>
00024 
00025 // user include files
00026 #include "FWCore/Framework/interface/Frameworkfwd.h"
00027 #include "FWCore/Framework/interface/EDAnalyzer.h"
00028 
00029 #include "FWCore/Framework/interface/Event.h"
00030 #include "FWCore/Framework/interface/MakerMacros.h"
00031 
00032 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00033 
00034 #include "CondTools/L1Trigger/interface/DataWriter.h"
00035 
00036 // forward declarations
00037 
00038 class L1CondDBPayloadWriter : public edm::EDAnalyzer {
00039    public:
00040       explicit L1CondDBPayloadWriter(const edm::ParameterSet&);
00041       ~L1CondDBPayloadWriter();
00042 
00043 
00044    private:
00045       virtual void beginJob(const edm::EventSetup&) ;
00046       virtual void analyze(const edm::Event&, const edm::EventSetup&);
00047       virtual void endJob() ;
00048 
00049       // ----------member data ---------------------------
00050       l1t::DataWriter m_writer ;
00051       std::string m_tag ;
00052 
00053       // set to false to write config data without valid TSC key
00054       bool m_writeL1TriggerKey ;
00055 
00056       // set to false to write config data only
00057       bool m_writeConfigData ;
00058 };
00059 
00060 #endif

Generated on Tue Jun 9 17:26:55 2009 for CMSSW by  doxygen 1.5.4