|
ATLAS Offline Software
|
Go to the documentation of this file.
5 from GaudiPython.Bindings
import iService, iAlgorithm
6 from AthenaCommon.Logging
import logging
8 log = logging.getLogger(
"setMagFieldCurrents.py")
9 mapCondAlg = iAlgorithm(
'AtlasFieldMapCondAlg')
12 log.info(
"Setting solenoid current to %d", solCur)
13 setattr(mapCondAlg,
'MapSoleCurrent', solCur)
16 log.info(
"Setting toroid current to %d", torCur)
17 setattr(mapCondAlg,
'MapToroCurrent', torCur)
20 log.info(
"Setting run number to %d", run)
21 setattr(iService(
'HltEventLoopMgr'),
'forceRunNumber', run)