ATLAS Offline Software
Loading...
Searching...
No Matches
L1CaloCalibToolsConfig Namespace Reference

Functions

 LegacyTriggerTowerThinningCfg (flags, name, **kwargs)
 L1CaloMatchCell2TowerCfg (flags, name, **kwargs)
 L1CaloCells2TriggerTowersCfg (flags, name, **kwargs)
 L1CaloxAODOfflineTriggerTowerToolsCfg (flags, name, **kwargs)
 LegacyTriggerTowerDecoratorCfg (flags, name, **kwargs)

Function Documentation

◆ L1CaloCells2TriggerTowersCfg()

L1CaloCalibToolsConfig.L1CaloCells2TriggerTowersCfg ( flags,
name,
** kwargs )
Configure the Legacy Calo to Trigger Towers tool

Definition at line 34 of file L1CaloCalibToolsConfig.py.

34def L1CaloCells2TriggerTowersCfg(flags, name, **kwargs):
35 """
36 Configure the Legacy Calo to Trigger Towers tool
37 """
38 acc = ComponentAccumulator()
39
40 kwargs.setdefault('L1CaloMatchCell2Tower', acc.popToolsAndMerge(L1CaloMatchCell2TowerCfg(flags,'L1CaloMatchCell2Tower')))
41 acc.setPrivateTools(CompFactory.LVL1.L1CaloCells2TriggerTowers(name, **kwargs))
42
43 return acc
44
45

◆ L1CaloMatchCell2TowerCfg()

L1CaloCalibToolsConfig.L1CaloMatchCell2TowerCfg ( flags,
name,
** kwargs )
Configure the Legacy L1Calo match cell 2 tower tool

Definition at line 21 of file L1CaloCalibToolsConfig.py.

21def L1CaloMatchCell2TowerCfg(flags, name, **kwargs):
22 """
23 Configure the Legacy L1Calo match cell 2 tower tool
24 """
25 acc = ComponentAccumulator()
26
27 from CaloTriggerTool.CaloTriggerToolConfig import CaloTriggerTowerServiceCfg
28 kwargs.setdefault('CaloTriggerTowerService', acc.popToolsAndMerge(CaloTriggerTowerServiceCfg(flags,'CaloTriggerTowerService')))
29 acc.setPrivateTools(CompFactory.LVL1.L1CaloMatchCell2Tower(name, **kwargs))
30
31 return acc
32
33

◆ L1CaloxAODOfflineTriggerTowerToolsCfg()

L1CaloCalibToolsConfig.L1CaloxAODOfflineTriggerTowerToolsCfg ( flags,
name,
** kwargs )
Configure the tools required by L1CaloxAODOfflineTriggerTowerTools

Definition at line 46 of file L1CaloCalibToolsConfig.py.

46def L1CaloxAODOfflineTriggerTowerToolsCfg(flags, name, **kwargs):
47 """
48 Configure the tools required by L1CaloxAODOfflineTriggerTowerTools
49 """
50 acc = ComponentAccumulator()
51
52 kwargs.setdefault("L1CaloCells2TriggerTowers", acc.popToolsAndMerge(L1CaloCells2TriggerTowersCfg(flags,'L1CaloCells2TriggerTowers')))
53
54 acc.setPrivateTools(CompFactory.LVL1.L1CaloxAODOfflineTriggerTowerTools(name, **kwargs))
55
56 return acc
57
58

◆ LegacyTriggerTowerDecoratorCfg()

L1CaloCalibToolsConfig.LegacyTriggerTowerDecoratorCfg ( flags,
name,
** kwargs )
Configure the legacy trigger tower decorator algorithm

Definition at line 59 of file L1CaloCalibToolsConfig.py.

59def LegacyTriggerTowerDecoratorCfg(flags, name, **kwargs):
60 """
61 Configure the legacy trigger tower decorator algorithm
62 """
63 acc = ComponentAccumulator()
64
65 # get the trigger tower tools
66 triggerTowerTools = acc.popToolsAndMerge(L1CaloxAODOfflineTriggerTowerToolsCfg(flags, name, **kwargs))
67
68 acc.addEventAlgo(CompFactory.LVL1.L1CaloTriggerTowerDecoratorAlg(name, TriggerTowerTools = triggerTowerTools, **kwargs), primary=True)
69
70 return acc
71

◆ LegacyTriggerTowerThinningCfg()

L1CaloCalibToolsConfig.LegacyTriggerTowerThinningCfg ( flags,
name,
** kwargs )
Configure the Legacy Trigger Tower Thinning tool

Definition at line 11 of file L1CaloCalibToolsConfig.py.

11def LegacyTriggerTowerThinningCfg(flags, name, **kwargs):
12 """
13 Configure the Legacy Trigger Tower Thinning tool
14 """
15 acc = ComponentAccumulator()
16
17 acc.addPublicTool(CompFactory.DerivationFramework.TriggerTowerThinningAlg(name, **kwargs), primary=True)
18
19 return acc
20