ATLAS Offline Software
Loading...
Searching...
No Matches
python.EventDataCopyExampleConfig Namespace Reference

Functions

 EventDataCopyExampleAlgCfg (flags, **kwargs)

Variables

 flags = initConfigFlags()
 MaxEvents
 Files
 acc = MainServicesCfg(flags)

Function Documentation

◆ EventDataCopyExampleAlgCfg()

python.EventDataCopyExampleConfig.EventDataCopyExampleAlgCfg ( flags,
** kwargs )
Configure the example algorithm for copying event data to a device.

Definition at line 25 of file EventDataCopyExampleConfig.py.

25def EventDataCopyExampleAlgCfg(flags, **kwargs):
26 '''Configure the example algorithm for copying event data to a device.
27 '''
28
29 # Create an accumulator to hold the configuration.
30 result = ComponentAccumulator()
31
32 # Create the example algorithm.
33 alg = CompFactory.AthExDevice.EventDataCopyExampleAlg(**kwargs)
34 alg.MemoryResourcesTool = \
35 result.popToolsAndMerge(MemoryResourcesToolCfg(flags, **kwargs))
36 alg.CopiesTool = result.popToolsAndMerge(CopiesToolCfg(flags, **kwargs))
37
38 # Add the algorithm to the accumulator.
39 result.addEventAlgo(alg)
40
41 # Return the result to the caller.
42 return result
43
44

Variable Documentation

◆ acc

python.EventDataCopyExampleConfig.acc = MainServicesCfg(flags)

Definition at line 55 of file EventDataCopyExampleConfig.py.

◆ Files

python.EventDataCopyExampleConfig.Files

Definition at line 50 of file EventDataCopyExampleConfig.py.

◆ flags

python.EventDataCopyExampleConfig.flags = initConfigFlags()

Definition at line 48 of file EventDataCopyExampleConfig.py.

◆ MaxEvents

python.EventDataCopyExampleConfig.MaxEvents

Definition at line 49 of file EventDataCopyExampleConfig.py.