Belle II Software
release-06-02-00
B2A901-PrintOutDataStore.py
1
#!/usr/bin/env python3
2
3
10
11
21
22
import
basf2
as
b2
23
import
modularAnalysis
as
ma
24
25
# create path
26
my_path = b2.create_path()
27
28
# load input ROOT file
29
ma.inputMdst(environmentType=
'default'
,
30
filename=b2.find_file(
'B2pi0D_D2hh_D2hhh_B2munu.root'
,
'examples'
,
False
),
31
path=my_path)
32
33
# print out the contents of the DataStore
34
ma.printDataStore(path=my_path)
35
36
# Process the events
37
b2.process(my_path)
38
39
# print out the summary
40
print(b2.statistics)
analysis
examples
tutorials
B2A901-PrintOutDataStore.py
Generated on Thu Dec 28 2023 02:17:33 for Belle II Software by
1.9.1