Skip to content
Snippets Groups Projects
Commit 67babe65 authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

AtlasFieldMapCondAlg: apply LoadMapOnStart only when running HLT

Move the `AtlasFieldMapCondAlg.LoadMapOnStart` setting into HLT-specific
job options. This should only be enabled when running in athenaHLT or in
a partition. Plain athena will not have a valid `EventContext` available
before the first event.

This went unnoticed until gaudi/Gaudi!1347 fixed a bug in the initialization
of the `EventIDRange` class.
parent fd16a7ff
No related branches found
No related tags found
36 merge requests!59674InDetPerformanceMonitoring with LumiBlock selection,!59383cppcheck in trigger code: Prefer prefix ++/-- operators for non-primitive types.,!58990Draft:Fixing bug in FTF config when running with Reco_tf,!58835DataQualityConfigurations: Modify L1Calo config for web display,!58791DataQualityConfigurations: Modify L1Calo config for web display,!58373Modification of V2.3 processing to work well with all clients,!58289New NVSI calibration,!58286New NVSI calibration,!58106Update NVSI example algorithm,!57937Draft: New nighlty test for trigger with a Run 4 single muon RDO,!57841Edits to ZDC signal processing in preparation for analysis of data from LHCf run,!57590Fixing LAr DT dumper,!57584Draft: LAr DB fixes,!57316ATR-26311 and ATR-25754 moving one dimuon and few egamma chains from dev to phys or MC,!57090ATLASRECTS-7305: fixes for large cluster building,!56828Draft: [trigEGam] Integration beteween mongroups and TrigEgammaMonitoring,!56523Draft: Proposal for CA-Based AODFix,!56154tauRecTools: fix conditional decoration in TauIDVarCalculator,!55990MM offline DQ - plit PBC in 2 FEB in occupancy plots,!55989ATR-25904: fixed the RUN3_ROI_OVERFLOW_SHIFT and m_OverflowPerRoIMask to 12,!55609Add Athena TEvent-based file access,!55378Draft: Fix ToF channels,!55330Draft: PixelMonitoring: re-implementation of assessment of mva histograms in the online-post processing,!55327Fix memory leak in eFEX Tau algorithm (ATR-25988),!55308Fill offline MET histograms only if container is valid and non-empty,!55304Move fill of offline MET conditional on container being valid and non-empty,!55301Move fill of offline MET conditional on container being valid and non-empty,!55300Move fill of offline MET conditional on container being valid and non-empty,!55158Update JetInputs DQ web display config to add missing plots,!54932Draft: TrigBtagEmulationTool: Add BJet trigger emulation tool,!54737Draft: HLT_mu3vtx_L12MU8F Trigger Updates,!54628Draft: Added HLT_RoICluster_Composites container to EDM conifg.,!54441Draft: Add new scheme to use only half of rings as input,!54242Update to Gaudi v36r5.002,!52778Draft: Update the collisions HLT egamma han config for Run3,!52702Draft: update of muonSelectionTool for r22 and run3
......@@ -113,7 +113,7 @@ def setupCommonServices(flags):
def setupCommonServicesEnd():
from AthenaCommon.AppMgr import ServiceMgr as svcMgr
from AthenaCommon.AppMgr import ServiceMgr as svcMgr, athCondSeq
from AthenaCommon.Logging import logging
from AthenaCommon.AlgSequence import AlgSequence
......@@ -168,4 +168,7 @@ def setupCommonServicesEnd():
svcMgr.IOVDbSvc.CacheRun = 0
svcMgr.IOVDbSvc.CacheTime = 0
if hasattr(athCondSeq, 'AtlasFieldMapCondAlg'):
athCondSeq.AtlasFieldMapCondAlg.LoadMapOnStart = True
return
......@@ -25,8 +25,7 @@ def MagneticFieldSvcCfg(flags, **kwargs):
"name": "AtlasFieldMapCondAlg",
}
if flags.Common.isOnline:
# online has the map loaded at start and does not use DCS
afmArgs.update( LoadMapOnStart = True )
# online does not use DCS
afmArgs.update( UseMapsFromCOOL = False )
else:
# UseMapsFromCOOL is default for standard running
......
# Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
# JobOption fragment to set up the magnetic field services and algorithms
# Valerio Ippolito - Harvard University
......@@ -26,9 +26,8 @@ def AtlasFieldCacheCondAlg(name="AtlasFieldCacheCondAlg",**kwargs):
def AtlasFieldMapCondAlg(name="AtlasFieldMapCondAlg",**kwargs):
if athenaCommonFlags.isOnline():
# online has the map loaded at start and does not use DCS
# online does not use DCS
kwargs.setdefault( "UseMapsFromCOOL", False )
kwargs.setdefault( "LoadMapOnStart", True )
return CfgMgr.MagField__AtlasFieldMapCondAlg(name,**kwargs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment