CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/L1Trigger/TextToDigi/plugins/RctTextToRctDigi.h

Go to the documentation of this file.
00001 #ifndef RCTTEXTTORCTDIGI_H
00002 #define RCTTEXTTORCTDIGI_H
00003 
00004 // -*- C++ -*-
00005 //
00006 // Package:    RctTextToRctDigi
00007 // Class:      RctTextToRctDigi
00008 // 
00014 //
00015 // Original Author:  Alex Tapper
00016 //         Created:  Fri Mar  9 19:11:51 CET 2007
00017 // $Id: RctTextToRctDigi.h,v 1.3 2007/08/06 11:38:41 nuno Exp $
00018 //
00019 //
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/EDProducer.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 // RCT data includes
00035 #include "DataFormats/L1CaloTrigger/interface/L1CaloCollections.h"
00036 
00037 #include <iostream>
00038 #include <fstream>
00039 
00040 class RctTextToRctDigi : public edm::EDProducer {
00041  public:
00042   explicit RctTextToRctDigi(const edm::ParameterSet&);
00043   ~RctTextToRctDigi();
00044   
00045  private:
00046   virtual void produce(edm::Event&, const edm::EventSetup&);
00047 
00049   void putEmptyDigi(edm::Event&);
00050 
00052   void bxSynchro(int &,int);
00053 
00055   std::string m_textFileName;
00056 
00058   int m_fileEventOffset;
00059 
00061   int m_nevt;
00062   
00064   std::ifstream m_file[18];
00065   
00066 };
00067 
00068 #endif