ATLAS Offline Software
Event
FourMomUtils
python
Event/FourMomUtils/python/Bindings.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
2
3
# @file FourMomUtils/python/Bindings.py
4
# @author Sebastien Binet <binet@cern.ch>
5
# @purpose load the python bindings to FourMomUtils' functions
6
# this is to workaround a limitation of ROOT6 which cannot
7
# autoload free functions (only classes)
8
9
def
_installBindings
():
10
"""load the python bindings to FourMomUtils' function, at module import
11
"""
12
import
cppyy
13
cppyy.load_library(
'liblibFourMomUtilsDict'
)
14
15
x = cppyy.gbl.xAOD.Helpers._importHelper()
# noqa: F841
16
17
return
18
19
# execute at module import
20
_installBindings
()
21
22
# clean-up
23
del _installBindings
python.Bindings._installBindings
def _installBindings()
Definition:
Event/FourMomUtils/python/Bindings.py:9
Generated on Thu Nov 7 2024 21:10:46 for ATLAS Offline Software by
1.8.18