ATLAS Offline Software
Functions | Variables
TileRawChannelBuilderMFConfig Namespace Reference

Functions

def TileRawChannelBuilderMFCfg (flags, **kwargs)
 

Variables

 flags
 
 Files
 
 AtlasVersion
 
 RunType
 
 NoiseFilter
 
 acc
 
 withDetails
 
 True
 
 summariseProps
 

Function Documentation

◆ TileRawChannelBuilderMFCfg()

def TileRawChannelBuilderMFConfig.TileRawChannelBuilderMFCfg (   flags,
**  kwargs 
)
Return component accumulator with configured private Tile MF raw channel builder tool

Arguments:
    flags  -- Athena configuration flags

Definition at line 9 of file TileRawChannelBuilderMFConfig.py.

9 def TileRawChannelBuilderMFCfg(flags, **kwargs):
10  """Return component accumulator with configured private Tile MF raw channel builder tool
11 
12  Arguments:
13  flags -- Athena configuration flags
14  """
15 
16  name = kwargs.pop('name', 'TileRawChannelBuilderMF')
17  kwargs.setdefault('TileRawChannelContainer', 'TileRawChannelMF')
18 
19  acc = ComponentAccumulator()
20 
21  if 'TileCondToolOfcOnFly' not in kwargs:
22  from TileConditions.TileOFCConfig import TileCondToolOfcCfg
23  ofcTool = acc.popToolsAndMerge( TileCondToolOfcCfg(flags) )
24  kwargs['TileCondToolOfcOnFly'] = ofcTool
25 
26  if flags.Tile.OfcFromCOOL and 'TileCondToolOfc' not in kwargs:
27  from TileConditions.TileOFCConfig import TileCondToolOfcCoolCfg
28  ofcCoolTool = acc.popToolsAndMerge( TileCondToolOfcCoolCfg(flags, OfcType = 'OF2') )
29  kwargs['TileCondToolOfc'] = ofcCoolTool
30 
31  if 'TileCondToolNoiseSample' not in kwargs:
32  from TileConditions.TileSampleNoiseConfig import TileCondToolNoiseSampleCfg
33  sampleNoiseTool = acc.popToolsAndMerge( TileCondToolNoiseSampleCfg(flags) )
34  kwargs['TileCondToolNoiseSample'] = sampleNoiseTool
35 
36  if flags.Tile.BestPhaseFromCOOL: # can't correct time and use best phase at the same time
37  kwargs['correctTime'] = False
38  else:
39  kwargs.setdefault('correctTime', flags.Tile.correctTime)
40 
41  kwargs.setdefault('BestPhase', flags.Tile.BestPhaseFromCOOL)
42  kwargs.setdefault('MaxIterations', 5) # iterative mode on
43  kwargs.setdefault('AmplitudeCorrection', False)
44  kwargs.setdefault('TimeFromCOF', False)
45 
46  if flags.Tile.correctTime and 'TileCondToolTiming' not in kwargs:
47  from TileConditions.TileTimingConfig import TileCondToolTimingCfg
48  timingTool = acc.popToolsAndMerge( TileCondToolTimingCfg(flags) )
49  kwargs['TileCondToolTiming'] = timingTool
50 
51  TileRawChannelBuilderMF=CompFactory.TileRawChannelBuilderMF
52  from TileRecUtils.TileRawChannelBuilderConfig import TileRawChannelBuilderCfg
53  rawChanBuilder = acc.popToolsAndMerge( TileRawChannelBuilderCfg(flags, name, TileRawChannelBuilderMF, **kwargs) )
54  acc.setPrivateTools(rawChanBuilder)
55 
56  return acc
57 
58 

Variable Documentation

◆ acc

TileRawChannelBuilderMFConfig.acc

Definition at line 78 of file TileRawChannelBuilderMFConfig.py.

◆ AtlasVersion

TileRawChannelBuilderMFConfig.AtlasVersion

Definition at line 71 of file TileRawChannelBuilderMFConfig.py.

◆ Files

TileRawChannelBuilderMFConfig.Files

Definition at line 70 of file TileRawChannelBuilderMFConfig.py.

◆ flags

TileRawChannelBuilderMFConfig.flags

Definition at line 69 of file TileRawChannelBuilderMFConfig.py.

◆ NoiseFilter

TileRawChannelBuilderMFConfig.NoiseFilter

Definition at line 73 of file TileRawChannelBuilderMFConfig.py.

◆ RunType

TileRawChannelBuilderMFConfig.RunType

Definition at line 72 of file TileRawChannelBuilderMFConfig.py.

◆ summariseProps

TileRawChannelBuilderMFConfig.summariseProps

Definition at line 83 of file TileRawChannelBuilderMFConfig.py.

◆ True

TileRawChannelBuilderMFConfig.True

Definition at line 83 of file TileRawChannelBuilderMFConfig.py.

◆ withDetails

TileRawChannelBuilderMFConfig.withDetails

Definition at line 83 of file TileRawChannelBuilderMFConfig.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.TileSampleNoiseConfig.TileCondToolNoiseSampleCfg
def TileCondToolNoiseSampleCfg(flags, **kwargs)
Definition: TileSampleNoiseConfig.py:69
python.TileTimingConfig.TileCondToolTimingCfg
def TileCondToolTimingCfg(flags, **kwargs)
Definition: TileTimingConfig.py:77
python.TileOFCConfig.TileCondToolOfcCoolCfg
def TileCondToolOfcCoolCfg(flags, **kwargs)
Definition: TileOFCConfig.py:66
TileRawChannelBuilderMFConfig.TileRawChannelBuilderMFCfg
def TileRawChannelBuilderMFCfg(flags, **kwargs)
Definition: TileRawChannelBuilderMFConfig.py:9
TileRawChannelBuilderConfig.TileRawChannelBuilderCfg
def TileRawChannelBuilderCfg(flags, name, TileRawChannelBuilder, **kwargs)
Definition: TileRawChannelBuilderConfig.py:9
python.TileOFCConfig.TileCondToolOfcCfg
def TileCondToolOfcCfg(flags, **kwargs)
Definition: TileOFCConfig.py:98