Belle II Software
development
b2decay-hash-interpreter.py
1
#!/usr/bin/env python3
2
3
10
11
import
os
12
import
sys
13
14
if
__name__ ==
'__main__'
:
15
if
len(sys.argv) < 4:
16
print(f
'Usage {os.path.basename(__file__)} hashmap.root decayHash decayHashExtended'
)
17
18
# lazy import of decayHash for lazy import of ROOT, otherwise it seems that __file__ is root in the main
19
import
decayHash
20
rootfile = sys.argv[1]
21
hashmap =
decayHash.DecayHashMap
(rootfile)
22
hashmap.print_hash(float(sys.argv[2]), float(sys.argv[3]))
decayHash.DecayHashMap
Definition:
decayHash.py:49
analysis
tools
b2decay-hash-interpreter.py
Generated on Tue Nov 12 2024 02:33:03 for Belle II Software by
1.9.6