14 *******************************************************************************
16 * Simple example which illustrate the 'boost::array'-job-properties and their *
17 * C++/Python intercommunications *
19 *******************************************************************************
21 from __future__
import print_function
23 __author__ =
'Vanya BELYAEV Ivan.Belyaev@nikhef.nl'
33 from Configurables
import ApplicationMgr
35 from Configurables
import Gaudi__Examples__BoostArrayProperties
as BAP
39 Strings=(
'a',
'bb',
'ccc',
'dddd'),
40 Doubles=(1, 2, 3, 4, 5))
42 ApplicationMgr(EvtSel=
"NONE", TopAlg=[bap], EvtMax=10)
47 if '__main__' == __name__:
49 print(__doc__, __author__)
57 bap = gaudi.algorithm(
'BoostArrayProps')
59 bap.PropertiesPrint =
True
61 from GaudiKernel
import ROOT6WorkAroundEnabled
63 with warnings.catch_warnings():
65 warnings.simplefilter(
"ignore")
66 bap.Doubles = [-1, -2, -3, -4, -5]
67 bap.Strings = [
'a1',
'a2',
'a3',
'a4']
69 bap.PropertiesPrint =
True