The Gaudi Framework
master (181af51f)
Loading...
Searching...
No Matches
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
__author__ =
"Vanya BELYAEV Ivan.Belyaev@nikhef.nl"
23
# =============================================================================
24
25
26
def
dump
():
27
from
Configurables
import
MessageSvc
28
29
import
GaudiPartProp.PartPropAlg
30
31
# The following is misunderstood by flake8 - the import is needed as it
32
# has necessary side effects
33
import
GaudiPartProp.Service
# noqa: F401
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
()
MessageSvc
Definition
MessageSvc.h:35
GaudiPartProp.DumpParticleProperties.dump
dump()
Definition
DumpParticleProperties.py:26
GaudiPartProp.PartPropAlg
Definition
PartPropAlg.py:1
GaudiPartProp.Service
Definition
Service.py:1
GaudiPython.Bindings
Definition
Bindings.py:1
GaudiPartProp
python
GaudiPartProp
DumpParticleProperties.py
Generated on Wed Oct 8 2025 09:53:37 for The Gaudi Framework by
1.13.1