ATLAS Offline Software
Loading...
Searching...
No Matches
TrackParticleCalibratorExampleConfig Namespace Reference

Functions

 TrackParticleCalibratorExampleAlgCfg (flags, **kwargs)

Variables

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

Function Documentation

◆ TrackParticleCalibratorExampleAlgCfg()

TrackParticleCalibratorExampleConfig.TrackParticleCalibratorExampleAlgCfg ( flags,
** kwargs )
Configure the example algorithm for running on a CUDA device.

Definition at line 30 of file TrackParticleCalibratorExampleConfig.py.

30def TrackParticleCalibratorExampleAlgCfg(flags, **kwargs):
31 '''Configure the example algorithm for running on a CUDA device.
32 '''
33 # Create an accumulator to hold the configuration.
34 result = ComponentAccumulator()
35 # Create the example algorithm.
36 alg = CompFactory.AthCUDAExamples.TrackParticleCalibratorExampleAlg(**kwargs)
37 memoryResources = MemoryResourcesToolCfg(flags, **kwargs)
38 alg.MemoryResourcesTool = memoryResources.getPrimary()
39 result.merge(memoryResources)
40 hostCopyTool = HostCopyToolCfg(flags, **kwargs)
41 alg.HostCopyTool = hostCopyTool.getPrimary()
42 result.merge(hostCopyTool)
43 deviceCopyTool = DeviceCopyToolCfg(flags, **kwargs)
44 alg.DeviceCopyTool = deviceCopyTool.getPrimary()
45 result.merge(deviceCopyTool)
46 streamTool = StreamToolCfg(flags, **kwargs)
47 alg.StreamTool = streamTool.getPrimary()
48 result.merge(streamTool)
49
50 # Add the algorithm to the accumulator, so that it would eventually be
51 # scheduled to run.
52 result.addEventAlgo(alg)
53 # Return the result to the caller.
54 return result
55

Variable Documentation

◆ acc

TrackParticleCalibratorExampleConfig.acc = MainServicesCfg(flags)

Definition at line 66 of file TrackParticleCalibratorExampleConfig.py.

◆ Files

TrackParticleCalibratorExampleConfig.Files

Definition at line 61 of file TrackParticleCalibratorExampleConfig.py.

◆ flags

TrackParticleCalibratorExampleConfig.flags = initConfigFlags()

Definition at line 59 of file TrackParticleCalibratorExampleConfig.py.

◆ MaxEvents

TrackParticleCalibratorExampleConfig.MaxEvents

Definition at line 60 of file TrackParticleCalibratorExampleConfig.py.