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
RctInputTextToDigi::lookupTables_
L1RCTLookupTables * lookupTables_
Definition:
RctInputTextToDigi.h:66
RctInputTextToDigi::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
RctInputTextToDigi.cc:45
RctInputTextToDigi::inputFile_
edm::FileInPath inputFile_
Definition:
RctInputTextToDigi.h:62
L1RCTParameters.h
EDProducer.h
ESHandle.h
RctInputTextToDigi::nEvent_
int nEvent_
Definition:
RctInputTextToDigi.h:64
RctInputTextToDigi
Definition:
RctInputTextToDigi.h:50
RctInputTextToDigi::endJob
void endJob() override
Definition:
RctInputTextToDigi.cc:205
edm::FileInPath
Definition:
FileInPath.h:64
MakerMacros.h
HcalDigiCollections.h
RctInputTextToDigi::RctInputTextToDigi
RctInputTextToDigi(const edm::ParameterSet &)
Definition:
RctInputTextToDigi.cc:7
EcalDigiCollections.h
RctInputTextToDigi::inputStream_
std::ifstream inputStream_
Definition:
RctInputTextToDigi.h:63
RctInputTextToDigi::oldVersion_
bool oldVersion_
Definition:
RctInputTextToDigi.h:65
L1RCTLookupTables
Definition:
L1RCTLookupTables.h:11
edm::ParameterSet
Definition:
ParameterSet.h:36
RctInputTextToDigi::~RctInputTextToDigi
~RctInputTextToDigi() override
Definition:
RctInputTextToDigi.cc:33
Event.h
L1RCTLookupTables.h
edm::EventSetup
Definition:
EventSetup.h:57
Frameworkfwd.h
EventSetup.h
edm::EDProducer
Definition:
EDProducer.h:36
L1RCTParametersRcd.h
ParameterSet.h
edm::Event
Definition:
Event.h:73
RctInputTextToDigi::beginJob
void beginJob() override
Definition:
RctInputTextToDigi.cc:197
Generated for CMSSW Reference Manual by
1.8.16