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
PhysicsTools
HeppyCore
python
analyzers
Printer.py
Go to the documentation of this file.
1
from
__future__
import
print_function
2
from
PhysicsTools.HeppyCore.framework.analyzer
import
Analyzer
3
4
class
Printer
(
Analyzer
):
5
6
def
beginLoop
(self, setup):
7
super(Printer, self).
beginLoop
(setup)
8
self.
firstEvent
=
True
9
10
def
process
(self, event):
11
if
self.
firstEvent
:
12
event.input.Print()
13
self.
firstEvent
=
False
14
print
(
"printing event"
, event.iEv,
'var1'
, event.input.var1)
15
Printer.Printer.beginLoop
def beginLoop(self, setup)
Definition:
Printer.py:6
print
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition:
Utilities.cc:47
Printer.Printer
Definition:
Printer.py:4
Printer.Printer.firstEvent
firstEvent
Definition:
Printer.py:8
Printer.Printer.process
def process(self, event)
Definition:
Printer.py:10
remoteMonitoring_LASER_era2018_cfg.Analyzer
Analyzer
Definition:
remoteMonitoring_LASER_era2018_cfg.py:62
Generated for CMSSW Reference Manual by
1.8.14