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 //
18 //
19 // Original Author: Alex Tapper
20 // Created: Fri Mar 9 19:11:51 CET 2007
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 <fstream>
42 #include <iostream>
43 
45 public:
47  ~SourceCardTextToRctDigi() override;
48 
49 private:
50  void produce(edm::Event &, const edm::EventSetup &) override;
51 
53  void putEmptyDigi(edm::Event &);
54 
57 
60 
62  int m_nevt;
63 
65  std::ifstream m_file;
66 
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.
SourceCardRouting m_scRouting
source card router
void produce(edm::Event &, const edm::EventSetup &) override