Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
_
a
c
d
e
f
l
m
o
p
s
t
u
v
+
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
L1Trigger
GlobalMuonTrigger
src
L1MuGMTHWFileReader.h
Go to the documentation of this file.
1
//---------------------------------------------
2
//
3
// \class L1MuGMTHWFileReader
4
//
5
// Description: Puts the GMT input information from
6
// a GMT ascii HW testfile into the Event
7
//
8
//
9
//
10
// Author :
11
// Tobias Noebauer HEPHY Vienna
12
// Ivan Mikulec HEPHY Vienna
13
//
14
//--------------------------------------------------
15
#ifndef L1TriggerGlobalMuonTrigger_L1MuGMTHWFileReader_h
16
#define L1TriggerGlobalMuonTrigger_L1MuGMTHWFileReader_h
17
18
//---------------
19
// C++ Headers --
20
//---------------
21
#include <fstream>
22
23
//----------------------
24
// Base Class Headers --
25
//----------------------
26
#include "
FWCore/Sources/interface/ProducerSourceFromFiles.h
"
27
28
//------------------------------------
29
// Collaborating Class Declarations --
30
//------------------------------------
31
#include "
FWCore/Framework/interface/Event.h
"
32
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
33
#include "
L1Trigger/GlobalMuonTrigger/src/L1MuGMTInputEvent.h
"
34
35
//---------------------
36
//-- Class Interface --
37
//---------------------
38
39
class
L1MuGMTHWFileReader
:
public
edm::ProducerSourceFromFiles
{
40
public
:
41
explicit
L1MuGMTHWFileReader
(
edm::ParameterSet
const
&,
edm::InputSourceDescription
const
&);
42
43
~L1MuGMTHWFileReader
()
override
;
44
45
//read an event from the input stream
46
//returns an event with run and event number zero when no more events
47
void
readNextEvent
();
48
49
private
:
50
bool
setRunAndEventInfo
(
edm::EventID
&
id
,
51
edm::TimeValue_t
&
time
,
52
edm::EventAuxiliary::ExperimentType
& eType)
override
;
53
void
produce
(
edm::Event
&)
override
;
54
55
std::ifstream
m_in
;
56
L1MuGMTInputEvent
m_evt
;
57
};
58
59
#endif // L1TriggerGlobalMuonTrigger_L1MuGMTHWFileReader_h
L1MuGMTHWFileReader::readNextEvent
void readNextEvent()
Definition:
L1MuGMTHWFileReader.cc:126
Event.h
L1MuGMTHWFileReader::L1MuGMTHWFileReader
L1MuGMTHWFileReader(edm::ParameterSet const &, edm::InputSourceDescription const &)
Definition:
L1MuGMTHWFileReader.cc:37
L1MuGMTHWFileReader
Definition:
L1MuGMTHWFileReader.h:39
edm::EventAuxiliary::ExperimentType
ExperimentType
Definition:
EventAuxiliary.h:18
hcalRecHitTable_cff.time
time
Definition:
hcalRecHitTable_cff.py:14
ParameterSet.h
edm::InputSourceDescription
Definition:
InputSourceDescription.h:21
L1MuGMTHWFileReader::m_evt
L1MuGMTInputEvent m_evt
Definition:
L1MuGMTHWFileReader.h:56
edm::EventID
Definition:
EventID.h:31
L1MuGMTInputEvent
Definition:
L1MuGMTInputEvent.h:41
L1MuGMTInputEvent.h
edm::TimeValue_t
unsigned long long TimeValue_t
Definition:
Timestamp.h:21
L1MuGMTHWFileReader::~L1MuGMTHWFileReader
~L1MuGMTHWFileReader() override
Definition:
L1MuGMTHWFileReader.cc:59
edm::ParameterSet
Definition:
ParameterSet.h:48
L1MuGMTHWFileReader::setRunAndEventInfo
bool setRunAndEventInfo(edm::EventID &id, edm::TimeValue_t &time, edm::EventAuxiliary::ExperimentType &eType) override
Definition:
L1MuGMTHWFileReader.cc:64
edm::Event
Definition:
Event.h:73
L1MuGMTHWFileReader::produce
void produce(edm::Event &) override
Definition:
L1MuGMTHWFileReader.cc:76
L1MuGMTHWFileReader::m_in
std::ifstream m_in
Definition:
L1MuGMTHWFileReader.h:55
edm::ProducerSourceFromFiles
Definition:
ProducerSourceFromFiles.h:17
ProducerSourceFromFiles.h
Generated for CMSSW Reference Manual by
1.8.14