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 // $Id: RctTextToRctDigi.h,v 1.3 2007/08/06 11:38:41 nuno Exp $
18 //
19 //
20 
21 
22 // system include files
23 #include <memory>
24 
25 // user include files
28 
31 
33 
34 // RCT data includes
36 
37 #include <iostream>
38 #include <fstream>
39 
41  public:
42  explicit RctTextToRctDigi(const edm::ParameterSet&);
44 
45  private:
46  virtual void produce(edm::Event&, const edm::EventSetup&);
47 
49  void putEmptyDigi(edm::Event&);
50 
52  void bxSynchro(int &,int);
53 
56 
59 
61  int m_nevt;
62 
64  std::ifstream m_file[18];
65 
66 };
67 
68 #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