14 *******************************************************************************
16 * Simple example which illustrate the 'boost::array'-job-properties and their *
17 * C++/Python intercommunications *
19 *******************************************************************************
21 from __future__
import print_function
24 __author__ =
"Vanya BELYAEV Ivan.Belyaev@nikhef.nl"
25 from Configurables
import ApplicationMgr
26 from Configurables
import Gaudi__Examples__BoostArrayProperties
as BAP
38 "BoostArrayProps", Strings=(
"a",
"bb",
"ccc",
"dddd"), Doubles=(1, 2, 3, 4, 5)
41 ApplicationMgr(EvtSel=
"NONE", TopAlg=[bap], EvtMax=10)
46 if "__main__" == __name__:
48 print(__doc__, __author__)
56 bap = gaudi.algorithm(
"BoostArrayProps")
58 bap.PropertiesPrint =
True
62 from GaudiKernel
import ROOT6WorkAroundEnabled
64 with warnings.catch_warnings():
66 warnings.simplefilter(
"ignore")
67 bap.Doubles = [-1, -2, -3, -4, -5]
68 bap.Strings = [
"a1",
"a2",
"a3",
"a4"]
70 bap.PropertiesPrint =
True