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
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
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
CondFormats
L1TObjects
interface
L1TriggerLutFile.h
Go to the documentation of this file.
1
//-------------------------------------------------
2
//
13
//
14
//--------------------------------------------------
15
#ifndef L1_TRIGGER_LUT_FILE_H
16
#define L1_TRIGGER_LUT_FILE_H
17
18
//---------------
19
// C++ Headers --
20
//---------------
21
22
#include <string>
23
#include <fstream>
24
25
//----------------------
26
// Base Class Headers --
27
//----------------------
28
29
//------------------------------------
30
// Collaborating Class Declarations --
31
//------------------------------------
32
33
// ---------------------
34
// -- Class Interface --
35
// ---------------------
36
37
class
L1TriggerLutFile
{
38
public
:
40
L1TriggerLutFile
(
const
std::string
name
=
""
);
41
43
L1TriggerLutFile
(
const
L1TriggerLutFile
&);
44
46
virtual
~L1TriggerLutFile
();
47
49
L1TriggerLutFile
&
operator=
(
const
L1TriggerLutFile
&);
50
52
inline
const
std::string
&
getName
()
const
{
return
m_file
; }
53
55
int
open
();
56
58
inline
bool
good
() {
return
m_fin
.good(); }
59
61
inline
bool
bad
() {
return
m_fin
.bad(); }
62
64
inline
void
close
() {
m_fin
.close(); }
65
67
void
ignoreLines
(
int
n
);
68
70
int
readInteger
();
71
73
int
readHex
();
74
76
std::string
readString
();
77
78
private
:
79
std::ifstream
m_fin
;
// input file stream
80
std::string
m_file
;
// file name
81
};
82
83
#endif
dqmiodumpmetadata.n
n
Definition:
dqmiodumpmetadata.py:28
L1TriggerLutFile::open
int open()
open file
Definition:
L1TriggerLutFile.cc:68
L1TriggerLutFile
Definition:
L1TriggerLutFile.h:37
L1TriggerLutFile::~L1TriggerLutFile
virtual ~L1TriggerLutFile()
destructor
Definition:
L1TriggerLutFile.cc:51
L1TriggerLutFile::m_fin
std::ifstream m_fin
Definition:
L1TriggerLutFile.h:79
L1TriggerLutFile::ignoreLines
void ignoreLines(int n)
read and ignore n lines from file
Definition:
L1TriggerLutFile.cc:82
L1TriggerLutFile::bad
bool bad()
return status of file stream
Definition:
L1TriggerLutFile.h:61
L1TriggerLutFile::readInteger
int readInteger()
read one integer from file
Definition:
L1TriggerLutFile.cc:91
L1TriggerLutFile::getName
const std::string & getName() const
return filename
Definition:
L1TriggerLutFile.h:52
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
L1TriggerLutFile::L1TriggerLutFile
L1TriggerLutFile(const std::string name="")
constructor
L1TriggerLutFile::m_file
std::string m_file
Definition:
L1TriggerLutFile.h:80
L1TriggerLutFile::operator=
L1TriggerLutFile & operator=(const L1TriggerLutFile &)
assignment operator
Definition:
L1TriggerLutFile.cc:60
L1TriggerLutFile::good
bool good()
return status of file stream
Definition:
L1TriggerLutFile.h:58
L1TriggerLutFile::close
void close()
close file
Definition:
L1TriggerLutFile.h:64
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
L1TriggerLutFile::readString
std::string readString()
read one string from file
Definition:
L1TriggerLutFile.cc:109
L1TriggerLutFile::readHex
int readHex()
read one hex from file
Definition:
L1TriggerLutFile.cc:100
Generated for CMSSW Reference Manual by
1.8.16