ATLAS Offline Software
Functions | Variables
TileTriggerCalibAlgConfig Namespace Reference

Functions

def TileTriggerDefaulCalibToolCfg (flags, **kwargs)
 
def TileTriggerCalibAlgCfg (flags, **kwargs)
 

Variables

 flags
 
 Files
 
 AtlasVersion
 
 GlobalTag
 
 doFit
 
 RunType
 
 MaxEvents
 
 cfg
 
 withDetails
 
 True
 
 summariseProps
 
 sc
 

Function Documentation

◆ TileTriggerCalibAlgCfg()

def TileTriggerCalibAlgConfig.TileTriggerCalibAlgCfg (   flags,
**  kwargs 
)
Function to configure TileTriggerCalibAlg algorithm

Definition at line 53 of file TileTriggerCalibAlgConfig.py.

53 def TileTriggerCalibAlgCfg(flags, **kwargs):
54 
55  ''' Function to configure TileTriggerCalibAlg algorithm'''
56 
57  kwargs.setdefault('name', 'TileTriggerCalibAlg')
58  kwargs.setdefault('RunType', TileRunType.CIS.getIntValue())
59  kwargs.setdefault('RunNumber', flags.Input.RunNumbers[0])
60 
61  acc = ComponentAccumulator()
62 
63  if 'TileCalibTools' not in kwargs:
64  triggerCalibTool = acc.popToolsAndMerge( TileTriggerDefaulCalibToolCfg(flags) )
65  kwargs['TileCalibTools'] = [triggerCalibTool]
66 
67  from AthenaConfiguration.ComponentFactory import CompFactory
68  TileTopCalibAlg = CompFactory.TileTopCalibAlg
69 
70  acc.addEventAlgo(TileTopCalibAlg(**kwargs), primary=True)
71 
72  return acc
73 

◆ TileTriggerDefaulCalibToolCfg()

def TileTriggerCalibAlgConfig.TileTriggerDefaulCalibToolCfg (   flags,
**  kwargs 
)
Function to configure TileTriggerDefaultCalibTool tool

Definition at line 13 of file TileTriggerCalibAlgConfig.py.

13 def TileTriggerDefaulCalibToolCfg(flags, **kwargs):
14 
15  ''' Function to configure TileTriggerDefaultCalibTool tool'''
16 
17  kwargs.setdefault('TileRawChannelContainer', 'TileRawChannelFit')
18  kwargs.setdefault('TriggerTowerContainer', 'xAODTriggerTowers')
19 
20  acc = ComponentAccumulator()
21 
22  from TileConditions.TileCablingSvcConfig import TileCablingSvcCfg
23  acc.merge( TileCablingSvcCfg(flags) )
24 
25  if 'TileCondToolEmscale' not in kwargs:
26  from TileConditions.TileEMScaleConfig import TileCondToolEmscaleCfg
27  emScaleTool = acc.popToolsAndMerge( TileCondToolEmscaleCfg(flags) )
28  kwargs['TileCondToolEmscale'] = emScaleTool
29 
30  from TileGeoModel.TileGMConfig import TileGMCfg
31  acc.merge(TileGMCfg( flags ))
32 
33  from TileRecUtils.TileDQstatusConfig import TileDQstatusAlgCfg
34  acc.merge( TileDQstatusAlgCfg(flags) )
35 
36  # For running on bytestream data
37  if flags.Input.Format is Format.BS:
38  from TriggerJobOpts.TriggerByteStreamConfig import ByteStreamReadCfg
39  acc.merge(ByteStreamReadCfg(flags, type_names=['xAOD::TriggerTowerContainer/xAODTriggerTowers',
40  'xAOD::TriggerTowerAuxContainer/xAODTriggerTowersAux.']))
41 
42  from AthenaConfiguration.ComponentFactory import CompFactory
43  TileTriggerDefalutCalibTool = CompFactory.TileTriggerDefaultCalibTool
44 
45  acc.setPrivateTools(TileTriggerDefalutCalibTool(**kwargs))
46 
47  return acc
48 
49 
50 '''
51 @brief Python configuration of TileTriggerCalibAlg algorithm for the Run III
52 '''

Variable Documentation

◆ AtlasVersion

TileTriggerCalibAlgConfig.AtlasVersion

Definition at line 86 of file TileTriggerCalibAlgConfig.py.

◆ cfg

TileTriggerCalibAlgConfig.cfg

Definition at line 96 of file TileTriggerCalibAlgConfig.py.

◆ doFit

TileTriggerCalibAlgConfig.doFit

Definition at line 88 of file TileTriggerCalibAlgConfig.py.

◆ Files

TileTriggerCalibAlgConfig.Files

Definition at line 85 of file TileTriggerCalibAlgConfig.py.

◆ flags

TileTriggerCalibAlgConfig.flags

Definition at line 84 of file TileTriggerCalibAlgConfig.py.

◆ GlobalTag

TileTriggerCalibAlgConfig.GlobalTag

Definition at line 87 of file TileTriggerCalibAlgConfig.py.

◆ MaxEvents

TileTriggerCalibAlgConfig.MaxEvents

Definition at line 90 of file TileTriggerCalibAlgConfig.py.

◆ RunType

TileTriggerCalibAlgConfig.RunType

Definition at line 89 of file TileTriggerCalibAlgConfig.py.

◆ sc

TileTriggerCalibAlgConfig.sc

Definition at line 111 of file TileTriggerCalibAlgConfig.py.

◆ summariseProps

TileTriggerCalibAlgConfig.summariseProps

Definition at line 106 of file TileTriggerCalibAlgConfig.py.

◆ True

TileTriggerCalibAlgConfig.True

Definition at line 106 of file TileTriggerCalibAlgConfig.py.

◆ withDetails

TileTriggerCalibAlgConfig.withDetails

Definition at line 106 of file TileTriggerCalibAlgConfig.py.

TileTriggerCalibAlgConfig.TileTriggerCalibAlgCfg
def TileTriggerCalibAlgCfg(flags, **kwargs)
Definition: TileTriggerCalibAlgConfig.py:53
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.ByteStreamConfig.ByteStreamReadCfg
def ByteStreamReadCfg(flags, type_names=None)
Definition: Event/ByteStreamCnvSvc/python/ByteStreamConfig.py:25
TileTopCalibAlg
Definition: TileTopCalibAlg.h:26
TileTriggerCalibAlgConfig.TileTriggerDefaulCalibToolCfg
def TileTriggerDefaulCalibToolCfg(flags, **kwargs)
Definition: TileTriggerCalibAlgConfig.py:13
TileDQstatusConfig.TileDQstatusAlgCfg
def TileDQstatusAlgCfg(flags, **kwargs)
Definition: TileDQstatusConfig.py:31
python.TileEMScaleConfig.TileCondToolEmscaleCfg
def TileCondToolEmscaleCfg(flags, **kwargs)
Definition: TileEMScaleConfig.py:125
python.TileCablingSvcConfig.TileCablingSvcCfg
def TileCablingSvcCfg(flags)
Definition: TileCablingSvcConfig.py:11
TileGMConfig.TileGMCfg
def TileGMCfg(flags)
Definition: TileGMConfig.py:7