15 ''' Function to configure TileTriggerDefaultCalibTool tool'''
17 kwargs.setdefault(
'TileRawChannelContainer',
'TileRawChannelFit')
18 kwargs.setdefault(
'TriggerTowerContainer',
'xAODTriggerTowers')
22 from TileConditions.TileCablingSvcConfig
import TileCablingSvcCfg
25 if 'TileCondToolEmscale' not in kwargs:
26 from TileConditions.TileEMScaleConfig
import TileCondToolEmscaleCfg
28 kwargs[
'TileCondToolEmscale'] = emScaleTool
30 from TileGeoModel.TileGMConfig
import TileGMCfg
33 from TileRecUtils.TileDQstatusConfig
import TileDQstatusAlgCfg
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.']))
42 from AthenaConfiguration.ComponentFactory
import CompFactory
43 TileTriggerDefalutCalibTool = CompFactory.TileTriggerDefaultCalibTool
45 acc.setPrivateTools(TileTriggerDefalutCalibTool(**kwargs))
51 @brief Python configuration of TileTriggerCalibAlg algorithm for the Run III