The Gaudi Framework
v38r1p1 (ae26267b)
DumpParticleProperties.py
Go to the documentation of this file.
1
#!/usr/bin/env python3
2
19
"""Trivial script to dump the table of Particle Properties
20
"""
21
22
# =============================================================================
23
__author__ =
"Vanya BELYAEV Ivan.Belyaev@nikhef.nl"
24
# =============================================================================
25
26
27
def
dump
():
28
import
GaudiPartProp.PartPropAlg
29
30
# The following is misunderstood by flake8 - the import is needed as it
31
# has necessary side effects
32
import
GaudiPartProp.Service
# noqa: F401
33
from
Configurables
import
MessageSvc
34
35
MessageSvc
(OutputLevel=6)
36
37
from
GaudiPython.Bindings
import
AppMgr
38
39
gaudi =
AppMgr
()
40
41
gaudi.initialize()
42
43
pps = gaudi.gaudiPartProp()
44
45
print(pps.all())
46
47
48
# =============================================================================
49
if
"__main__"
== __name__:
50
dump
()
GaudiPartProp.Service.AppMgr
AppMgr
Definition:
Service.py:40
GaudiPartProp.Service
Definition:
Service.py:1
GaudiPartProp.DumpParticleProperties.dump
def dump()
Definition:
DumpParticleProperties.py:27
GaudiPartProp.PartPropAlg
Definition:
PartPropAlg.py:1
GaudiPython.Bindings
Definition:
Bindings.py:1
MessageSvc
Definition:
MessageSvc.h:40
GaudiPartProp
python
GaudiPartProp
DumpParticleProperties.py
Generated on Fri Oct 18 2024 13:27:51 for The Gaudi Framework by
1.8.18