Skip to content
Snippets Groups Projects
Commit 70c39d18 authored by Adam Edward Barton's avatar Adam Edward Barton
Browse files

Merge branch 'conddep.TileRecUtils-20200719' into 'master'

TileRecUtils: Clean up conditions dependencies.

See merge request atlas/athena!34897
parents d9cd8616 ea519ef7
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