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
//
18
//
19
// Original Author: jleonard
20
// Created: Fri Sep 21 16:16:27 CEST 2007
21
//
22
//
23
24
// system include files
25
#include <fstream>
26
#include <iostream>
27
#include <memory>
28
#include <string>
29
30
// user include files
31
#include "
FWCore/Framework/interface/EDProducer.h
"
32
#include "
FWCore/Framework/interface/ESHandle.h
"
33
#include "
FWCore/Framework/interface/Event.h
"
34
#include "
FWCore/Framework/interface/EventSetup.h
"
35
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
36
#include "
FWCore/Framework/interface/MakerMacros.h
"
37
38
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
39
40
#include "
CondFormats/DataRecord/interface/L1RCTParametersRcd.h
"
41
#include "
CondFormats/L1TObjects/interface/L1RCTParameters.h
"
42
#include "
DataFormats/EcalDigi/interface/EcalDigiCollections.h
"
43
#include "
DataFormats/HcalDigi/interface/HcalDigiCollections.h
"
44
#include "
L1Trigger/RegionalCaloTrigger/interface/L1RCTLookupTables.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:33
Event.h
MakerMacros.h
EventSetup.h
Frameworkfwd.h
RctInputTextToDigi::nEvent_
int nEvent_
Definition:
RctInputTextToDigi.h:64
edm::EDProducer
Definition:
EDProducer.h:42
ParameterSet.h
RctInputTextToDigi::oldVersion_
bool oldVersion_
Definition:
RctInputTextToDigi.h:65
HcalDigiCollections.h
ESHandle.h
EcalDigiCollections.h
edm::EventSetup
Definition:
EventSetup.h:59
RctInputTextToDigi::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
RctInputTextToDigi.cc:45
RctInputTextToDigi::RctInputTextToDigi
RctInputTextToDigi(const edm::ParameterSet &)
Definition:
RctInputTextToDigi.cc:7
edm::FileInPath
Definition:
FileInPath.h:61
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:47
RctInputTextToDigi
Definition:
RctInputTextToDigi.h:50
RctInputTextToDigi::beginJob
void beginJob() override
Definition:
RctInputTextToDigi.cc:197
edm::Event
Definition:
Event.h:73
RctInputTextToDigi::endJob
void endJob() override
Definition:
RctInputTextToDigi.cc:205
L1RCTParametersRcd.h
Generated for CMSSW Reference Manual by
1.8.14