9 cppyy.load_library(
"libPyAnalysisExamplesDict")
12 from AthenaCommon.AlgSequence
import AlgSequence
16 from PyAnalysisExamples.PyAnalysisExamplesConf
import AthPyEx__MySelectionAlg
17 topSequence += AthPyEx__MySelectionAlg(
"MySelectionAlg")
20 from PyAnalysisExamples.PyAnalysisExamplesConf
import AthPyEx__MyTool
21 from AthenaCommon.AppMgr
import ToolSvc
22 ToolSvc += AthPyEx__MyTool(
"MyTool")
28 tool = theApp.toolsvc().
retrieve(ToolSvc.MyTool.getFullJobOptName())._itool
33 ptr = cppyy.libPyROOT.MakeNullPointer(g.AthPyEx.MyObj)
34 proxy = g.PyReverseProxy.getProxy(
"MyObj_Proxy")
37 proxy = g.PyReverseProxy.getProxy(
"MyObj_Proxy")
38 proxy.setFunc(convFunc)
43 print (
"PyExecute begin")
44 print (
" name : %s" % obj.name())
45 print (
" A : %s" % obj.getA())
46 print (
"setA float in Python")
48 print (
"setA int in Python" )
52 print (
"PyExecute end" )
54 tool.py_execute = py_execute