10 """Return component accumulator with configured private Tile Fit raw channel builder tool
13 flags -- Athena configuration flags
16 name = kwargs.pop(
'name',
'TileRawChannelBuilderFitFilter')
17 kwargs.setdefault(
'TileRawChannelContainer',
'TileRawChannelFit')
18 kwargs.setdefault(
'correctTime', flags.Tile.correctTime)
19 kwargs.setdefault(
'FrameLength', 7)
23 if 'TileCondToolNoiseSample' not in kwargs:
24 from TileConditions.TileSampleNoiseConfig
import TileCondToolNoiseSampleCfg
26 kwargs[
'TileCondToolNoiseSample'] = sampleNoiseTool
28 if flags.Tile.correctTime
and 'TileCondToolTiming' not in kwargs:
29 from TileConditions.TileTimingConfig
import TileCondToolTimingCfg
31 kwargs[
'TileCondToolTiming'] = timingTool
33 TileRawChannelBuilderFitFilter=CompFactory.TileRawChannelBuilderFitFilter
34 from TileRecUtils.TileRawChannelBuilderConfig
import TileRawChannelBuilderCfg
35 rawChanBuilder = acc.popToolsAndMerge(
TileRawChannelBuilderCfg(flags, name, TileRawChannelBuilderFitFilter, **kwargs))
36 acc.setPrivateTools(rawChanBuilder)