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
26def dump():
27 from Configurables import MessageSvc
28
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# =============================================================================
49if "__main__" == __name__:
50 dump()