Belle II Software
release-05-01-25
B2A901-PrintOutDataStore.py
1
#!/usr/bin/env python3
2
3
16
17
import
basf2
as
b2
18
import
modularAnalysis
as
ma
19
20
# create path
21
my_path = b2.create_path()
22
23
# load input ROOT file
24
ma.inputMdst(environmentType=
'default'
,
25
filename=b2.find_file(
'B2pi0D_D2hh_D2hhh_B2munu.root'
,
'examples'
,
False
),
26
path=my_path)
27
28
# print out the contents of the DataStore
29
ma.printDataStore(path=my_path)
30
31
# Process the events
32
b2.process(my_path)
33
34
# print out the summary
35
print(b2.statistics)
analysis
examples
tutorials
B2A901-PrintOutDataStore.py
Generated on Fri Nov 5 2021 03:45:27 for Belle II Software by
1.8.17