CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SourceCardTextToRctDigi.h
Go to the documentation of this file.
1 #ifndef SOURCECARDTEXTTORCTDIGI_H
2 #define SOURCECARDTEXTTORCTDIGI_H
3 
4 // -*- C++ -*-
5 //
6 // Package: SourceCardTextToRctDigi
7 // Class: SourceCardTextToRctDigi
8 //
16 //
17 // Original Author: Alex Tapper
18 // Created: Fri Mar 9 19:11:51 CET 2007
19 // $Id: SourceCardTextToRctDigi.h,v 1.2 2007/05/09 11:21:18 tapper Exp $
20 //
21 //
22 
23 
24 // system include files
25 #include <memory>
26 
27 // user include files
30 
33 
35 
36 // RCT data includes
38 
40 
41 #include <iostream>
42 #include <fstream>
43 
45  public:
48 
49  private:
50  virtual void produce(edm::Event&, const edm::EventSetup&);
51 
53  void putEmptyDigi(edm::Event&);
54 
56  std::string m_textFileName;
57 
60 
62  int m_nevt;
63 
65  std::ifstream m_file;
66 
69 
70 };
71 
72 #endif
void putEmptyDigi(edm::Event &)
Create empty digi collection.
SourceCardTextToRctDigi(const edm::ParameterSet &)
std::string m_textFileName
Name out input file.
std::ifstream m_file
file handle
int m_fileEventOffset
Number of events to skip at the start of the file.
virtual void produce(edm::Event &, const edm::EventSetup &)
SourceCardRouting m_scRouting
source card router