Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions | Variables
AthExHiveConfig Namespace Reference

Functions

def HiveAlgAConf (flags)
 
def HiveAlgBConf (flags)
 
def HiveAlgCConf (flags)
 
def HiveAlgDConf (flags)
 
def HiveAlgEConf (flags)
 
def HiveAlgFConf (flags)
 
def HiveAlgGConf (flags)
 
def HiveAlgVConf (flags)
 
def ThreadPoolSvcCfg (flags)
 

Variables

 flags = initConfigFlags()
 
 RunNumbers
 
 TimeStamps
 
 TypedCollections
 
 MaxEvents
 
 ShowControlFlow
 
 ShowDataDeps
 
 cfg = MainEvgenServicesCfg(flags,withSequences=True)
 

Function Documentation

◆ HiveAlgAConf()

def AthExHiveConfig.HiveAlgAConf (   flags)

Definition at line 11 of file AthExHiveConfig.py.

11 def HiveAlgAConf(flags):
12  result = ComponentAccumulator()
13 
14  # HiveAlgA has input dependency on xAOD::EventInfo
15  # Hence we need to add the EventInfo converter algorithm
16  from xAODEventInfoCnv.xAODEventInfoCnvConfig import EventInfoCnvAlgCfg
17  result.merge(EventInfoCnvAlgCfg(flags, disableBeamSpot=True), sequenceName="AthAlgSeq")
18 
19  alg = CompFactory.HiveAlgA("HiveAlgA",
20  OutputLevel=DEBUG,
21  Time=20,
22  Cardinality=flags.Concurrency.NumThreads)
23  result.addEventAlgo(alg)
24  return result
25 

◆ HiveAlgBConf()

def AthExHiveConfig.HiveAlgBConf (   flags)

Definition at line 26 of file AthExHiveConfig.py.

26 def HiveAlgBConf(flags):
27  result = ComponentAccumulator()
28 
29  alg = CompFactory.HiveAlgB("HiveAlgB",
30  OutputLevel=DEBUG,
31  Time=10,
32  Cardinality=flags.Concurrency.NumThreads)
33  result.addEventAlgo(alg)
34  return result
35 

◆ HiveAlgCConf()

def AthExHiveConfig.HiveAlgCConf (   flags)

Definition at line 36 of file AthExHiveConfig.py.

36 def HiveAlgCConf(flags):
37  result = ComponentAccumulator()
38 
39  alg = CompFactory.HiveAlgC("HiveAlgC",
40  OutputLevel=DEBUG,
41  Time=190,
42  Key_W1="C1",
43  Cardinality=flags.Concurrency.NumThreads)
44  result.addEventAlgo(alg)
45  return result
46 

◆ HiveAlgDConf()

def AthExHiveConfig.HiveAlgDConf (   flags)

Definition at line 47 of file AthExHiveConfig.py.

47 def HiveAlgDConf(flags):
48  result = ComponentAccumulator()
49 
50  alg = CompFactory.HiveAlgD("HiveAlgD",
51  OutputLevel=DEBUG,
52  Time=10,
53  Cardinality=flags.Concurrency.NumThreads)
54  result.addEventAlgo(alg)
55  return result
56 

◆ HiveAlgEConf()

def AthExHiveConfig.HiveAlgEConf (   flags)

Definition at line 57 of file AthExHiveConfig.py.

57 def HiveAlgEConf(flags):
58  result = ComponentAccumulator()
59 
60  alg = CompFactory.HiveAlgE("HiveAlgE",
61  OutputLevel=DEBUG,
62  Time=30,
63  Key_R1="C1",
64  Cardinality=flags.Concurrency.NumThreads)
65  result.addEventAlgo(alg)
66  return result
67 

◆ HiveAlgFConf()

def AthExHiveConfig.HiveAlgFConf (   flags)

Definition at line 68 of file AthExHiveConfig.py.

68 def HiveAlgFConf(flags):
69  result = ComponentAccumulator()
70 
71  alg = CompFactory.HiveAlgF("HiveAlgF",
72  OutputLevel=DEBUG,
73  Time=30,
74  Cardinality=flags.Concurrency.NumThreads)
75  result.addEventAlgo(alg)
76  return result
77 

◆ HiveAlgGConf()

def AthExHiveConfig.HiveAlgGConf (   flags)

Definition at line 78 of file AthExHiveConfig.py.

78 def HiveAlgGConf(flags):
79  result = ComponentAccumulator()
80 
81  alg = CompFactory.HiveAlgG("HiveAlgG",
82  OutputLevel=DEBUG,
83  Time=10,
84  Cardinality=flags.Concurrency.NumThreads)
85  result.addEventAlgo(alg)
86  return result
87 

◆ HiveAlgVConf()

def AthExHiveConfig.HiveAlgVConf (   flags)

Definition at line 88 of file AthExHiveConfig.py.

88 def HiveAlgVConf(flags):
89  result = ComponentAccumulator()
90 
91  alg = CompFactory.HiveAlgV("HiveAlgV",
92  OutputLevel=DEBUG,
93  Time=30,
94  Key_RV = [ "a1", "a2", "d1", "e1", "C1" ],
95  Key_WV = [ "V1", "V2", "V3" ],
96  Cardinality=flags.Concurrency.NumThreads)
97  result.addEventAlgo(alg)
98  return result
99 # --------------------------------------------------------------------
100 
101 # Configure ThreadPoolSvc

◆ ThreadPoolSvcCfg()

def AthExHiveConfig.ThreadPoolSvcCfg (   flags)

Definition at line 102 of file AthExHiveConfig.py.

102 def ThreadPoolSvcCfg(flags):
103  result = ComponentAccumulator()
104 
105  svc = CompFactory.ThreadPoolSvc(name="ThreadPoolSvc")
106  svc.ThreadInitTools += [CompFactory.ThreadInitTool()]
107 
108  result.addService(svc)
109  return result
110 
111 # _______________ main _______________

Variable Documentation

◆ cfg

AthExHiveConfig.cfg = MainEvgenServicesCfg(flags,withSequences=True)

Definition at line 139 of file AthExHiveConfig.py.

◆ flags

AthExHiveConfig.flags = initConfigFlags()

Definition at line 119 of file AthExHiveConfig.py.

◆ MaxEvents

AthExHiveConfig.MaxEvents

Definition at line 123 of file AthExHiveConfig.py.

◆ RunNumbers

AthExHiveConfig.RunNumbers

Definition at line 120 of file AthExHiveConfig.py.

◆ ShowControlFlow

AthExHiveConfig.ShowControlFlow

Definition at line 124 of file AthExHiveConfig.py.

◆ ShowDataDeps

AthExHiveConfig.ShowDataDeps

Definition at line 125 of file AthExHiveConfig.py.

◆ TimeStamps

AthExHiveConfig.TimeStamps

Definition at line 121 of file AthExHiveConfig.py.

◆ TypedCollections

AthExHiveConfig.TypedCollections

Definition at line 122 of file AthExHiveConfig.py.

AthExHiveConfig.HiveAlgFConf
def HiveAlgFConf(flags)
Definition: AthExHiveConfig.py:68
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
AthExHiveConfig.HiveAlgDConf
def HiveAlgDConf(flags)
Definition: AthExHiveConfig.py:47
AthExHiveConfig.HiveAlgEConf
def HiveAlgEConf(flags)
Definition: AthExHiveConfig.py:57
AthExHiveConfig.HiveAlgVConf
def HiveAlgVConf(flags)
Definition: AthExHiveConfig.py:88
AthExHiveConfig.HiveAlgGConf
def HiveAlgGConf(flags)
Definition: AthExHiveConfig.py:78
AthExHiveConfig.HiveAlgBConf
def HiveAlgBConf(flags)
Definition: AthExHiveConfig.py:26
AthExHiveConfig.HiveAlgAConf
def HiveAlgAConf(flags)
Definition: AthExHiveConfig.py:11
python.xAODEventInfoCnvConfig.EventInfoCnvAlgCfg
def EventInfoCnvAlgCfg(flags, name="EventInfoCnvAlg", inputKey="McEventInfo", outputKey="EventInfo", disableBeamSpot=False, **kwargs)
Definition: xAODEventInfoCnvConfig.py:11
AthExHiveConfig.ThreadPoolSvcCfg
def ThreadPoolSvcCfg(flags)
Definition: AthExHiveConfig.py:102
AthExHiveConfig.HiveAlgCConf
def HiveAlgCConf(flags)
Definition: AthExHiveConfig.py:36