The Gaudi Framework  master (37c0b60a)
Properties Namespace Reference

Functions

def configure (gaudi=None)
 

Variables

 OutputLevel
 
 alg
 
 Int
 
 Int64
 
 UInt64
 
 Double
 
 String
 
 Bool
 
 IntArray
 
 Int64Array
 
 UInt64Array
 
 DoubleArray
 
 StringArray
 
 StringMap
 
 BoolArray
 
 EmptyArray
 
 IntSet
 
 StringSet
 
 FloatUnorderedSet
 
 DoubleArrayWithUnits
 
 DoubleArrayWithoutUnits
 
 PInt
 
 PDouble
 
 PString
 
 PBool
 
 PIntArray
 
 PDoubleArray
 
 PStringArray
 
 PBoolArray
 
 IntPairArray
 
 DoublePairArray
 
 proxy
 
 app
 
 TopAlg
 
 EvtMax
 
 EvtSel
 
 HistogramPersistency
 
 msgSvc
 
 __author__
 (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations # # This software is distributed under the terms of the Apache version 2 licence, # copied verbatim in the file "LICENSE". More...
 
 SUCCESS
 
 gaudi
 
 props
 
 v
 

Function Documentation

◆ configure()

def Properties.configure (   gaudi = None)
the configurtaion of the job

Definition at line 40 of file Properties.py.

40 def configure(gaudi=None):
41  """the configurtaion of the job"""
42 
43  # create applictaion manager if not done yet
44  if not gaudi:
45  gaudi = gaudimodule.AppMgr()
46 
47  # read main configuration files
48  gaudi.config(files=["../options/Common.opts"])
49 
50  # private algorithm configuration options
51 
52  gaudi.TopAlg = ["PropertyAlg"]
53 
54  # test for the multiple inclusion of the same alg
55  gaudi.TopAlg += ["PropertyAlg", "PropertyProxy"]
56 
57  # test for the removal of an algorithm
58  gaudi.TopAlg.remove("PropertyAlg")
59 
60  # Set output level threshold
61  # (2=DEBUG, 3=INFO, 4=WARNING, 5=ERROR, 6=FATAL )
62  msgSvc = gaudi.service("MessageSvc")
63  msgSvc.OutputLevel = 3
64 
65  # event related parameters
66  gaudi.EvtSel = "NONE"
67  gaudi.HistogramPersistency = "NONE"
68 
69  # Algorithms Private Options
70 
71  alg = gaudi.algorithm("PropertyAlg")
72 
73  alg.OutputLevel = 3
74 
75  alg.Int = 101
76  alg.Double = 101.1e10
77  alg.String = "hundred one"
78  alg.Bool = False
79 
80  alg.IntArray = [1, 2, 3, 5]
81  alg.DoubleArray = [-11.0, 2.0, 3.3, 0.4e-03]
82  alg.StringArray = ["one", "two", "four"]
83  alg.BoolArray = [False, True, False]
84  alg.EmptyArray = []
85 
86  alg.PInt = 101
87  alg.PDouble = 101.0e5
88  alg.PString = "hundred one"
89  alg.PBool = True
90 
91  alg.PIntArray = [1, 2, 3, 5]
92  alg.PDoubleArray = [1.1, 2.0, 3.3]
93  alg.PStringArray = ["one", "two", "four"]
94  alg.PBoolArray = [True, False, True, False]
95 
96  proxy = gaudi.algorithm("PropertyProxy")
97  proxy.String = "This is set by the proxy"
98 
99  msgSvc.setDebug = ["EventLoopMgr"]
100  msgSvc.setVerbose = ["MsgTest"]
101 
102  return SUCCESS
103 
104 
105 # =============================================================================
106 
107 # =============================================================================
108 # The actual job excution
109 # =============================================================================

Variable Documentation

◆ __author__

Properties.__author__
private

(c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations # # This software is distributed under the terms of the Apache version 2 licence, # copied verbatim in the file "LICENSE".

# # In applying this licence, CERN does not waive the privileges and immunities # granted to it by virtue of its status as an Intergovernmental Organization # or submit itself to any jurisdiction. #


Definition at line 23 of file Properties.py.

◆ alg

Properties.alg

Definition at line 29 of file Properties.py.

◆ app

Properties.app

Definition at line 75 of file Properties.py.

◆ Bool

Properties.Bool

Definition at line 36 of file Properties.py.

◆ BoolArray

Properties.BoolArray

Definition at line 43 of file Properties.py.

◆ Double

Properties.Double

Definition at line 34 of file Properties.py.

◆ DoubleArray

Properties.DoubleArray

Definition at line 40 of file Properties.py.

◆ DoubleArrayWithoutUnits

Properties.DoubleArrayWithoutUnits

Definition at line 55 of file Properties.py.

◆ DoubleArrayWithUnits

Properties.DoubleArrayWithUnits

Definition at line 49 of file Properties.py.

◆ DoublePairArray

Properties.DoublePairArray

Definition at line 65 of file Properties.py.

◆ EmptyArray

Properties.EmptyArray

Definition at line 44 of file Properties.py.

◆ EvtMax

Properties.EvtMax

Definition at line 85 of file Properties.py.

◆ EvtSel

Properties.EvtSel

Definition at line 86 of file Properties.py.

◆ FloatUnorderedSet

Properties.FloatUnorderedSet

Definition at line 47 of file Properties.py.

◆ gaudi

Properties.gaudi

Definition at line 113 of file Properties.py.

◆ HistogramPersistency

Properties.HistogramPersistency

Definition at line 87 of file Properties.py.

◆ Int

Properties.Int

Definition at line 31 of file Properties.py.

◆ Int64

Properties.Int64

Definition at line 32 of file Properties.py.

◆ Int64Array

Properties.Int64Array

Definition at line 38 of file Properties.py.

◆ IntArray

Properties.IntArray

Definition at line 37 of file Properties.py.

◆ IntPairArray

Properties.IntPairArray

Definition at line 64 of file Properties.py.

◆ IntSet

Properties.IntSet

Definition at line 45 of file Properties.py.

◆ msgSvc

Properties.msgSvc

Definition at line 92 of file Properties.py.

◆ OutputLevel

Properties.OutputLevel

Definition at line 16 of file Properties.py.

◆ PBool

Properties.PBool

Definition at line 59 of file Properties.py.

◆ PBoolArray

Properties.PBoolArray

Definition at line 63 of file Properties.py.

◆ PDouble

Properties.PDouble

Definition at line 57 of file Properties.py.

◆ PDoubleArray

Properties.PDoubleArray

Definition at line 61 of file Properties.py.

◆ PInt

Properties.PInt

Definition at line 56 of file Properties.py.

◆ PIntArray

Properties.PIntArray

Definition at line 60 of file Properties.py.

◆ props

Properties.props

Definition at line 119 of file Properties.py.

◆ proxy

Properties.proxy

Definition at line 70 of file Properties.py.

◆ PString

Properties.PString

Definition at line 58 of file Properties.py.

◆ PStringArray

Properties.PStringArray

Definition at line 62 of file Properties.py.

◆ String

Properties.String

Definition at line 35 of file Properties.py.

◆ StringArray

Properties.StringArray

Definition at line 41 of file Properties.py.

◆ StringMap

Properties.StringMap

Definition at line 42 of file Properties.py.

◆ StringSet

Properties.StringSet

Definition at line 46 of file Properties.py.

◆ SUCCESS

Properties.SUCCESS

Definition at line 34 of file Properties.py.

◆ TopAlg

Properties.TopAlg

Definition at line 76 of file Properties.py.

◆ UInt64

Properties.UInt64

Definition at line 33 of file Properties.py.

◆ UInt64Array

Properties.UInt64Array

Definition at line 39 of file Properties.py.

◆ v

Properties.v

Definition at line 122 of file Properties.py.

Properties.configure
def configure(gaudi=None)
Definition: Properties.py:40