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
SourceCardTextToRctDigi::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition: SourceCardTextToRctDigi.cc:75
EDProducer.h
SourceCardTextToRctDigi::m_textFileName
std::string m_textFileName
Name out input file.
Definition: SourceCardTextToRctDigi.h:56
SourceCardTextToRctDigi::SourceCardTextToRctDigi
SourceCardTextToRctDigi(const edm::ParameterSet &)
Definition: SourceCardTextToRctDigi.cc:30
SourceCardTextToRctDigi::putEmptyDigi
void putEmptyDigi(edm::Event &)
Create empty digi collection.
Definition: SourceCardTextToRctDigi.cc:57
SourceCardRouting
Definition: SourceCardRouting.h:13
SourceCardTextToRctDigi::~SourceCardTextToRctDigi
~SourceCardTextToRctDigi() override
Definition: SourceCardTextToRctDigi.cc:51
MakerMacros.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
SourceCardTextToRctDigi::m_file
std::ifstream m_file
file handle
Definition: SourceCardTextToRctDigi.h:65
SourceCardTextToRctDigi::m_nevt
int m_nevt
Event counter.
Definition: SourceCardTextToRctDigi.h:62
L1CaloCollections.h
edm::EventSetup
Definition: EventSetup.h:57
SourceCardTextToRctDigi::m_scRouting
SourceCardRouting m_scRouting
source card router
Definition: SourceCardTextToRctDigi.h:68
Frameworkfwd.h
SourceCardTextToRctDigi::m_fileEventOffset
int m_fileEventOffset
Number of events to skip at the start of the file.
Definition: SourceCardTextToRctDigi.h:59
edm::EDProducer
Definition: EDProducer.h:35
SourceCardTextToRctDigi
Definition: SourceCardTextToRctDigi.h:44
SourceCardRouting.h
ParameterSet.h
edm::Event
Definition: Event.h:73