Main Page
Namespaces
Classes
Package Documentation
L1Trigger
TextToDigi
plugins
RctInputTextToDigi.h
Go to the documentation of this file.
1
#ifndef RCTINPUTTEXTTODIGI_H
2
#define RCTINPUTTEXTTODIGI_H
3
4
// -*- C++ -*-
5
//
6
// Class: RctInputTextToDigi
7
//
17
//
18
// Original Author: jleonard
19
// Created: Fri Sep 21 16:16:27 CEST 2007
20
//
21
//
22
23
24
// system include files
25
#include <memory>
26
#include <string>
27
#include <fstream>
28
#include <iostream>
29
30
// user include files
31
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
32
#include "
FWCore/Framework/interface/EDProducer.h
"
33
#include "
FWCore/Framework/interface/EventSetup.h
"
34
#include "
FWCore/Framework/interface/ESHandle.h
"
35
#include "
FWCore/Framework/interface/Event.h
"
36
#include "
FWCore/Framework/interface/MakerMacros.h
"
37
38
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
39
40
#include "
DataFormats/EcalDigi/interface/EcalDigiCollections.h
"
41
#include "
DataFormats/HcalDigi/interface/HcalDigiCollections.h
"
42
#include "
L1Trigger/RegionalCaloTrigger/interface/L1RCTLookupTables.h
"
43
#include "
CondFormats/L1TObjects/interface/L1RCTParameters.h
"
44
#include "
CondFormats/DataRecord/interface/L1RCTParametersRcd.h
"
45
46
//
47
// class declaration
48
//
49
50
class
RctInputTextToDigi
:
public
edm::EDProducer
{
51
public
:
52
explicit
RctInputTextToDigi
(
const
edm::ParameterSet
&);
53
~RctInputTextToDigi
()
override
;
54
55
private
:
56
void
beginJob
()
override
;
57
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
58
void
endJob
()
override
;
59
60
// ----------member data ---------------------------
61
62
edm::FileInPath
inputFile_
;
63
std::ifstream
inputStream_
;
64
int
nEvent_
;
65
bool
oldVersion_
;
66
L1RCTLookupTables
*
lookupTables_
;
67
};
68
69
#endif
L1RCTLookupTables
Definition:
L1RCTLookupTables.h:11
RctInputTextToDigi::~RctInputTextToDigi
~RctInputTextToDigi() override
Definition:
RctInputTextToDigi.cc:37
Event.h
MakerMacros.h
EventSetup.h
Frameworkfwd.h
RctInputTextToDigi::nEvent_
int nEvent_
Definition:
RctInputTextToDigi.h:64
edm::EDProducer
Definition:
EDProducer.h:35
ParameterSet.h
RctInputTextToDigi::oldVersion_
bool oldVersion_
Definition:
RctInputTextToDigi.h:65
HcalDigiCollections.h
ESHandle.h
EcalDigiCollections.h
edm::EventSetup
Definition:
EventSetup.h:51
RctInputTextToDigi::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
RctInputTextToDigi.cc:54
RctInputTextToDigi::RctInputTextToDigi
RctInputTextToDigi(const edm::ParameterSet &)
Definition:
RctInputTextToDigi.cc:7
edm::FileInPath
Definition:
FileInPath.h:68
EDProducer.h
RctInputTextToDigi::lookupTables_
L1RCTLookupTables * lookupTables_
Definition:
RctInputTextToDigi.h:66
RctInputTextToDigi::inputFile_
edm::FileInPath inputFile_
Definition:
RctInputTextToDigi.h:62
RctInputTextToDigi::inputStream_
std::ifstream inputStream_
Definition:
RctInputTextToDigi.h:63
L1RCTParameters.h
L1RCTLookupTables.h
edm::ParameterSet
Definition:
ParameterSet.h:36
RctInputTextToDigi
Definition:
RctInputTextToDigi.h:50
RctInputTextToDigi::beginJob
void beginJob() override
Definition:
RctInputTextToDigi.cc:221
edm::Event
Definition:
Event.h:70
RctInputTextToDigi::endJob
void endJob() override
Definition:
RctInputTextToDigi.cc:230
L1RCTParametersRcd.h
Generated for CMSSW Reference Manual by
1.8.11