CMS 3D CMS Logo

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 //
15 //
16 // Original Author: Alex Tapper
17 // Created: Fri Mar 9 19:11:51 CET 2007
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 <fstream>
37 #include <iostream>
38 
40 public:
41  explicit RctTextToRctDigi(const edm::ParameterSet &);
42  ~RctTextToRctDigi() override;
43 
44 private:
45  void produce(edm::Event &, const edm::EventSetup &) override;
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 #endif
EDProducer.h
RctTextToRctDigi::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition: RctTextToRctDigi.cc:111
RctTextToRctDigi::m_textFileName
std::string m_textFileName
Name out input file.
Definition: RctTextToRctDigi.h:54
RctTextToRctDigi::RctTextToRctDigi
RctTextToRctDigi(const edm::ParameterSet &)
Definition: RctTextToRctDigi.cc:46
MakerMacros.h
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
RctTextToRctDigi::m_fileEventOffset
int m_fileEventOffset
Number of events to be offset wrt input.
Definition: RctTextToRctDigi.h:57
RctTextToRctDigi::m_nevt
int m_nevt
Event counter.
Definition: RctTextToRctDigi.h:60
RctTextToRctDigi
Definition: RctTextToRctDigi.h:39
L1CaloCollections.h
RctTextToRctDigi::putEmptyDigi
void putEmptyDigi(edm::Event &)
Create empty digi collection.
Definition: RctTextToRctDigi.cc:77
edm::EventSetup
Definition: EventSetup.h:58
RctTextToRctDigi::bxSynchro
void bxSynchro(int &, int)
Synchronize bunch crossing.
Definition: RctTextToRctDigi.cc:95
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
RctTextToRctDigi::m_file
std::ifstream m_file[18]
file handle
Definition: RctTextToRctDigi.h:63
Frameworkfwd.h
edm::EDProducer
Definition: EDProducer.h:35
ParameterSet.h
edm::Event
Definition: Event.h:73
RctTextToRctDigi::~RctTextToRctDigi
~RctTextToRctDigi() override
Definition: RctTextToRctDigi.cc:69