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

TileRecUtils: Clean up conditions dependencies.

Prevent declaring dependencies on conditions objects we won't read.
(Old config.  I think new config is ok.)
parent bc6f20e4
No related branches found
No related tags found
No related merge requests found
......@@ -148,6 +148,8 @@ class TileRawChannelGetter ( Configured) :
from TileRecUtils.TileRecUtilsConf import TileRawChannelNoiseFilter
theTileRawChannelNoiseFilter = TileRawChannelNoiseFilter()
if not athenaCommonFlags.isOnline():
theTileRawChannelNoiseFilter.TileCondToolNoiseSample.TileOnlineSampleNoise = ''
NoiseFilterTools += [theTileRawChannelNoiseFilter]
if globalflags.DataSource() == 'data' and not globalflags.isOverlay():
......@@ -278,6 +280,8 @@ class TileRawChannelGetter ( Configured) :
theTileRawChannelBuilderFitFilter.NoiseFilterTools= NoiseFilterTools
theTileRawChannelBuilderFitFilter.FrameLength = TileFrameLength
theTileRawChannelBuilderFitFilter.DSPContainer = TileRawChannelContainerDSP
if not athenaCommonFlags.isOnline():
theTileRawChannelBuilderFitFilter.TileCondToolNoiseSample.TileOnlineSampleNoise = ''
# add the tool to list of tool ( should use ToolHandle eventually)
mlog.info(" adding now TileRawChannelBuilderFitFilter to the algorithm: %s", theTileRawChannelMaker.name())
......
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