Belle II Software
release-05-02-19
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
h
i
l
m
n
p
r
s
t
v
w
Enumerations
Enumerator
c
d
f
p
t
u
v
w
Classes
Class List
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
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
v
w
z
Related Functions
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
printMCParticleArray.py
1
#!/usr/bin/env python3
2
3
# Doxygen should skip this script
4
# @cond
5
6
"""
7
This script loads specified ROOT file and prints the content of the MCParticle StoreArray
8
for each event. To be used for debugging.
9
10
Execute script with:
11
$> basf2 printMCParticleArray.py -i [input_ROOT_file]
12
"""
13
14
import
basf2
15
from
modularAnalysis
import
printMCParticles
16
17
path = basf2.Path()
18
path.add_module(
'RootInput'
)
19
printMCParticles(path=path)
20
basf2.process
(path)
21
22
# @endcond
basf2.process
def process(path, max_event=0)
Definition:
__init__.py:25
analysis
examples
printMCParticleArray.py
Generated on Tue Jan 4 2022 02:49:46 for Belle II Software by
1.8.17