ATLAS Offline Software
Functions | Variables
TileRawChannelBuilderWienerConfig Namespace Reference

Functions

def TileRawChannelBuilderWienerCfg (flags, **kwargs)
 

Variables

 flags
 
 Files
 
 AtlasVersion
 
 RunType
 
 NoiseFilter
 
 acc
 
 withDetails
 
 True
 
 summariseProps
 

Function Documentation

◆ TileRawChannelBuilderWienerCfg()

def TileRawChannelBuilderWienerConfig.TileRawChannelBuilderWienerCfg (   flags,
**  kwargs 
)
Return component accumulator with configured private Tile Wiener raw channel builder tool

Arguments:
    flags  -- Athena configuration flags

Definition at line 9 of file TileRawChannelBuilderWienerConfig.py.

9 def TileRawChannelBuilderWienerCfg(flags, **kwargs):
10  """Return component accumulator with configured private Tile Wiener raw channel builder tool
11 
12  Arguments:
13  flags -- Athena configuration flags
14  """
15 
16  name = kwargs.pop('name', 'TileRawChannelBuilderWiener')
17  kwargs.setdefault('TileRawChannelContainer', 'TileRawChannelWiener')
18 
19  from LumiBlockComps.BunchCrossingCondAlgConfig import BunchCrossingCondAlgCfg
20  acc = BunchCrossingCondAlgCfg(flags)
21 
22  if 'TileCondToolNoiseSample' not in kwargs:
23  from TileConditions.TileSampleNoiseConfig import TileCondToolNoiseSampleCfg
24  sampleNoiseTool = acc.popToolsAndMerge( TileCondToolNoiseSampleCfg(flags) )
25  kwargs['TileCondToolNoiseSample'] = sampleNoiseTool
26 
27  kwargs.setdefault('correctTime', flags.Tile.correctTime)
28  kwargs.setdefault('MC', flags.Input.isMC)
29  kwargs.setdefault('BestPhase', False)
30  kwargs.setdefault('MaxIterations', 5) # iterative mode on
31  kwargs.setdefault('Minus1Iteration', True)
32  kwargs.setdefault('PedestalMode', 1)
33  kwargs.setdefault('AmplitudeCorrection', False) # don't need correction after iterations
34  kwargs.setdefault('TimeCorrection', False) # don't need correction after iterations
35 
36  if flags.Tile.correctTime and 'TileCondToolTiming' not in kwargs:
37  from TileConditions.TileTimingConfig import TileCondToolTimingCfg
38  timingTool = acc.popToolsAndMerge( TileCondToolTimingCfg(flags) )
39  kwargs['TileCondToolTiming'] = timingTool
40 
41  TileRawChannelBuilderWiener=CompFactory.TileRawChannelBuilderWienerFilter
42  from TileRecUtils.TileRawChannelBuilderConfig import TileRawChannelBuilderCfg
43  rawChanBuilder = acc.popToolsAndMerge( TileRawChannelBuilderCfg(flags, name, TileRawChannelBuilderWiener, **kwargs) )
44  acc.setPrivateTools(rawChanBuilder)
45 
46  return acc
47 
48 

Variable Documentation

◆ acc

TileRawChannelBuilderWienerConfig.acc

Definition at line 68 of file TileRawChannelBuilderWienerConfig.py.

◆ AtlasVersion

TileRawChannelBuilderWienerConfig.AtlasVersion

Definition at line 61 of file TileRawChannelBuilderWienerConfig.py.

◆ Files

TileRawChannelBuilderWienerConfig.Files

Definition at line 60 of file TileRawChannelBuilderWienerConfig.py.

◆ flags

TileRawChannelBuilderWienerConfig.flags

Definition at line 59 of file TileRawChannelBuilderWienerConfig.py.

◆ NoiseFilter

TileRawChannelBuilderWienerConfig.NoiseFilter

Definition at line 63 of file TileRawChannelBuilderWienerConfig.py.

◆ RunType

TileRawChannelBuilderWienerConfig.RunType

Definition at line 62 of file TileRawChannelBuilderWienerConfig.py.

◆ summariseProps

TileRawChannelBuilderWienerConfig.summariseProps

Definition at line 73 of file TileRawChannelBuilderWienerConfig.py.

◆ True

TileRawChannelBuilderWienerConfig.True

Definition at line 73 of file TileRawChannelBuilderWienerConfig.py.

◆ withDetails

TileRawChannelBuilderWienerConfig.withDetails

Definition at line 73 of file TileRawChannelBuilderWienerConfig.py.

python.TileSampleNoiseConfig.TileCondToolNoiseSampleCfg
def TileCondToolNoiseSampleCfg(flags, **kwargs)
Definition: TileSampleNoiseConfig.py:69
python.TileTimingConfig.TileCondToolTimingCfg
def TileCondToolTimingCfg(flags, **kwargs)
Definition: TileTimingConfig.py:77
python.BunchCrossingCondAlgConfig.BunchCrossingCondAlgCfg
def BunchCrossingCondAlgCfg(flags)
Definition: BunchCrossingCondAlgConfig.py:8
TileRawChannelBuilderConfig.TileRawChannelBuilderCfg
def TileRawChannelBuilderCfg(flags, name, TileRawChannelBuilder, **kwargs)
Definition: TileRawChannelBuilderConfig.py:9
TileRawChannelBuilderWienerConfig.TileRawChannelBuilderWienerCfg
def TileRawChannelBuilderWienerCfg(flags, **kwargs)
Definition: TileRawChannelBuilderWienerConfig.py:9