Skip to content
Snippets Groups Projects
Commit b78e78ad authored by scott snyder's avatar scott snyder
Browse files

InDetRecExample: Clean up conditions dependencies.

If we haven't set up the CablingMap folders, then PixelCablingCondAlg
shouldn't depend on them.  (This is for the old configuration; the new
configuration should be ok.)
parent bc6f20e4
No related branches found
No related tags found
No related merge requests found
...@@ -183,9 +183,13 @@ if DetFlags.pixel_on(): ...@@ -183,9 +183,13 @@ if DetFlags.pixel_on():
if not hasattr(condSeq, 'PixelCablingCondAlg'): if not hasattr(condSeq, 'PixelCablingCondAlg'):
from PixelConditionsAlgorithms.PixelConditionsAlgorithmsConf import PixelCablingCondAlg from PixelConditionsAlgorithms.PixelConditionsAlgorithmsConf import PixelCablingCondAlg
condSeq += PixelCablingCondAlg(name="PixelCablingCondAlg", alg = PixelCablingCondAlg(name="PixelCablingCondAlg",
MappingFile=IdMappingDat, MappingFile=IdMappingDat,
RodIDForSingleLink40=rodIDForSingleLink40) RodIDForSingleLink40=rodIDForSingleLink40)
if (not conddb.folderRequested("/PIXEL/CablingMap") and
not conddb.folderRequested("/PIXEL/Onl/CablingMap")):
alg.ReadKey = ''
condSeq += alg
if not athenaCommonFlags.isOnline(): if not athenaCommonFlags.isOnline():
if not conddb.folderRequested('/PIXEL/PixdEdx'): if not conddb.folderRequested('/PIXEL/PixdEdx'):
......
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