CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RctTextToRctDigi.h
Go to the documentation of this file.
1 #ifndef RCTTEXTTORCTDIGI_H
2 #define RCTTEXTTORCTDIGI_H
3 
4 // -*- C++ -*-
5 //
6 // Package: RctTextToRctDigi
7 // Class: RctTextToRctDigi
8 //
14 //
15 // Original Author: Alex Tapper
16 // Created: Fri Mar 9 19:11:51 CET 2007
17 //
18 //
19 
20 
21 // system include files
22 #include <memory>
23 
24 // user include files
27 
30 
32 
33 // RCT data includes
35 
36 #include <iostream>
37 #include <fstream>
38 
40  public:
41  explicit RctTextToRctDigi(const edm::ParameterSet&);
43 
44  private:
45  virtual void produce(edm::Event&, const edm::EventSetup&);
46 
48  void putEmptyDigi(edm::Event&);
49 
51  void bxSynchro(int &,int);
52 
55 
58 
60  int m_nevt;
61 
63  std::ifstream m_file[18];
64 
65 };
66 
67 #endif
void bxSynchro(int &, int)
Synchronize bunch crossing.
void putEmptyDigi(edm::Event &)
Create empty digi collection.
std::string m_textFileName
Name out input file.
RctTextToRctDigi(const edm::ParameterSet &)
int m_nevt
Event counter.
int m_fileEventOffset
Number of events to be offset wrt input.
virtual void produce(edm::Event &, const edm::EventSetup &)
std::ifstream m_file[18]
file handle