CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch13/src/L1Trigger/TextToDigi/plugins/RctDigiToSourceCardText.h

Go to the documentation of this file.
00001 #ifndef RCTDIGITOSOURCECARDTEXT_H
00002 #define RCTDIGITOSOURCECARDTEXT_H
00003 
00004 // -*- C++ -*-
00005 //
00006 // Package:    RctDigiToSourceCardText
00007 // Class:      RctDigiToSourceCardText
00008 // 
00016 //
00017 // Original Author:  Alex Tapper
00018 //         Created:  Fri Feb 16 14:52:19 CET 2007
00019 // $Id: RctDigiToSourceCardText.h,v 1.1 2007/04/19 22:27:20 tapper Exp $
00020 //
00021 //
00022 
00023 
00024 // system include files
00025 #include <memory>
00026 
00027 // user include files
00028 #include "FWCore/Framework/interface/Frameworkfwd.h"
00029 #include "FWCore/Framework/interface/EDAnalyzer.h"
00030 
00031 #include "FWCore/Framework/interface/Event.h"
00032 #include "FWCore/Framework/interface/MakerMacros.h"
00033 
00034 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00035 
00036 // RCT data includes
00037 #include "DataFormats/L1CaloTrigger/interface/L1CaloCollections.h"
00038 
00039 #include "L1Trigger/TextToDigi/src/SourceCardRouting.h"
00040 
00041 #include <iostream>
00042 #include <fstream>
00043 
00044 class RctDigiToSourceCardText : public edm::EDAnalyzer {
00045  public:
00046   explicit RctDigiToSourceCardText(const edm::ParameterSet&);
00047       ~RctDigiToSourceCardText();
00048       
00049  private:
00050   virtual void analyze(const edm::Event&, const edm::EventSetup&);
00051       
00053   edm::InputTag m_rctInputLabel;
00054 
00056   std::string m_textFileName;
00057 
00059   std::ofstream m_file;
00060 
00062   unsigned short m_nevt;
00063 
00065   SourceCardRouting m_scRouting;
00066 };
00067 
00068 #endif