 |
ATLAS Offline Software
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
5from GaudiPython.Bindings
import iService, iAlgorithm
6from AthenaCommon.Logging
import logging
8log = logging.getLogger(
"setMagFieldCurrents.py")
9mapCondAlg = 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)