CMS 3D CMS Logo

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 //
20 //
21 
22 
23 // system include files
24 #include <memory>
25 
26 // user include files
29 
32 
34 
35 // RCT data includes
37 
39 
40 #include <iostream>
41 #include <fstream>
42 
44  public:
47 
48  private:
49  virtual void produce(edm::Event&, const edm::EventSetup&);
50 
52  void putEmptyDigi(edm::Event&);
53 
56 
59 
61  int m_nevt;
62 
64  std::ifstream m_file;
65 
68 
69 };
70 
71 #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