Belle II Software
release-05-01-25
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 Fri Nov 5 2021 03:45:22 for Belle II Software by
1.8.17