CMS 3D CMS Logo

L1CondDBIOVWriter.h

Go to the documentation of this file.
00001 #ifndef CondTools_L1Trigger_L1CondDBIOVWriter_h
00002 #define CondTools_L1Trigger_L1CondDBIOVWriter_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     L1Trigger
00006 // Class  :     L1CondDBIOVWriter
00007 // 
00016 //
00017 // Original Author:  Werner Sun
00018 //         Created:  Sun Mar  2 20:10:36 CET 2008
00019 // $Id: L1CondDBIOVWriter.h,v 1.1 2008/03/03 21:52:18 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 #include "CondTools/L1Trigger/interface/DataReader.h"
00036 
00037 // forward declarations
00038 
00039 class L1CondDBIOVWriter : public edm::EDAnalyzer {
00040    public:
00041       explicit L1CondDBIOVWriter(const edm::ParameterSet&);
00042       ~L1CondDBIOVWriter();
00043 
00044 
00045    private:
00046       virtual void beginJob(const edm::EventSetup&) ;
00047       virtual void analyze(const edm::Event&, const edm::EventSetup&);
00048       virtual void endJob() ;
00049 
00050       // ----------member data ---------------------------
00051       l1t::DataWriter m_writer ;
00052       l1t::DataReader m_reader ;
00053       std::string m_keyTag ;
00054 
00055       // Map of records to tags
00056       std::map<std::string, std::string > m_recordToTagMap ;
00057 };
00058 
00059 
00060 #endif

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