ATLAS Offline Software
Functions | Variables
TileCellNoiseFilterConfig Namespace Reference

Functions

def TileCellNoiseFilterCfg (flags, **kwargs)
 

Variables

 flags
 
 Files
 
 AtlasVersion
 
 RunType
 
 NoiseFilter
 
 acc
 
 withDetails
 
 True
 
 summariseProps
 

Function Documentation

◆ TileCellNoiseFilterCfg()

def TileCellNoiseFilterConfig.TileCellNoiseFilterCfg (   flags,
**  kwargs 
)
Return component accumulator with configured private Tile cell noise filter tool

Arguments:
    flags  -- Athena configuration flags
    UseCaloNoise -- use Calo noise conditions object. Defaults to False.

Definition at line 9 of file TileCellNoiseFilterConfig.py.

9 def TileCellNoiseFilterCfg(flags, **kwargs):
10  """Return component accumulator with configured private Tile cell noise filter tool
11 
12  Arguments:
13  flags -- Athena configuration flags
14  UseCaloNoise -- use Calo noise conditions object. Defaults to False.
15  """
16 
17  acc = ComponentAccumulator()
18 
19  useCaloNoise = kwargs.get('UseCaloNoise', False)
20 
21  from TileGeoModel.TileGMConfig import TileGMCfg
22  acc.merge(TileGMCfg(flags))
23 
24  TileCellNoiseFilter=CompFactory.TileCellNoiseFilter
25  tileCellNoiseFilter = TileCellNoiseFilter()
26 
27  from TileConditions.TileEMScaleConfig import TileEMScaleCondAlgCfg
28  acc.merge( TileEMScaleCondAlgCfg(flags) )
29 
30  if useCaloNoise:
31  from CaloTools.CaloNoiseCondAlgConfig import CaloNoiseCondAlgCfg
32  acc.merge( CaloNoiseCondAlgCfg(flags, 'electronicNoise') )
33  tileCellNoiseFilter.CaloNoise = 'electronicNoise'
34  else:
35  from TileConditions.TileSampleNoiseConfig import TileSampleNoiseCondAlgCfg
36  acc.merge( TileSampleNoiseCondAlgCfg(flags) )
37 
38  from TileConditions.TileBadChannelsConfig import TileBadChanToolCfg
39  badChanTool = acc.popToolsAndMerge( TileBadChanToolCfg(flags) )
40  tileCellNoiseFilter.TileBadChanTool = badChanTool
41 
42  acc.setPrivateTools( tileCellNoiseFilter )
43 
44  return acc
45 
46 

Variable Documentation

◆ acc

TileCellNoiseFilterConfig.acc

Definition at line 65 of file TileCellNoiseFilterConfig.py.

◆ AtlasVersion

TileCellNoiseFilterConfig.AtlasVersion

Definition at line 59 of file TileCellNoiseFilterConfig.py.

◆ Files

TileCellNoiseFilterConfig.Files

Definition at line 58 of file TileCellNoiseFilterConfig.py.

◆ flags

TileCellNoiseFilterConfig.flags

Definition at line 57 of file TileCellNoiseFilterConfig.py.

◆ NoiseFilter

TileCellNoiseFilterConfig.NoiseFilter

Definition at line 61 of file TileCellNoiseFilterConfig.py.

◆ RunType

TileCellNoiseFilterConfig.RunType

Definition at line 60 of file TileCellNoiseFilterConfig.py.

◆ summariseProps

TileCellNoiseFilterConfig.summariseProps

Definition at line 70 of file TileCellNoiseFilterConfig.py.

◆ True

TileCellNoiseFilterConfig.True

Definition at line 70 of file TileCellNoiseFilterConfig.py.

◆ withDetails

TileCellNoiseFilterConfig.withDetails

Definition at line 70 of file TileCellNoiseFilterConfig.py.

TileCellNoiseFilterConfig.TileCellNoiseFilterCfg
def TileCellNoiseFilterCfg(flags, **kwargs)
Definition: TileCellNoiseFilterConfig.py:9
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.TileBadChannelsConfig.TileBadChanToolCfg
def TileBadChanToolCfg(flags, **kwargs)
Definition: TileBadChannelsConfig.py:83
python.CaloNoiseCondAlgConfig.CaloNoiseCondAlgCfg
def CaloNoiseCondAlgCfg(flags, noisetype="totalNoise")
Definition: CaloNoiseCondAlgConfig.py:11
TileCellNoiseFilter
This tool subtracts common-mode noise from all TileCells.
Definition: TileCellNoiseFilter.h:38
python.TileEMScaleConfig.TileEMScaleCondAlgCfg
def TileEMScaleCondAlgCfg(flags, **kwargs)
Definition: TileEMScaleConfig.py:10
python.TileSampleNoiseConfig.TileSampleNoiseCondAlgCfg
def TileSampleNoiseCondAlgCfg(flags, **kwargs)
Definition: TileSampleNoiseConfig.py:8
TileGMConfig.TileGMCfg
def TileGMCfg(flags)
Definition: TileGMConfig.py:7