ATLAS Offline Software
Functions
L1CaloCalibToolsConfig Namespace Reference

Functions

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

Function Documentation

◆ L1CaloCells2TriggerTowersCfg()

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

Definition at line 34 of file L1CaloCalibToolsConfig.py.

34 def 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()

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

Definition at line 21 of file L1CaloCalibToolsConfig.py.

21 def 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()

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

Definition at line 46 of file L1CaloCalibToolsConfig.py.

46 def 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()

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

Definition at line 59 of file L1CaloCalibToolsConfig.py.

59 def 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()

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

Definition at line 11 of file L1CaloCalibToolsConfig.py.

11 def 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 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
L1CaloCalibToolsConfig.L1CaloMatchCell2TowerCfg
def L1CaloMatchCell2TowerCfg(flags, name, **kwargs)
Definition: L1CaloCalibToolsConfig.py:21
L1CaloCalibToolsConfig.LegacyTriggerTowerDecoratorCfg
def LegacyTriggerTowerDecoratorCfg(flags, name, **kwargs)
Definition: L1CaloCalibToolsConfig.py:59
CaloTriggerToolConfig.CaloTriggerTowerServiceCfg
def CaloTriggerTowerServiceCfg(flags, name, **kwargs)
Definition: CaloTriggerToolConfig.py:11
L1CaloCalibToolsConfig.LegacyTriggerTowerThinningCfg
def LegacyTriggerTowerThinningCfg(flags, name, **kwargs)
Definition: L1CaloCalibToolsConfig.py:11
L1CaloCalibToolsConfig.L1CaloCells2TriggerTowersCfg
def L1CaloCells2TriggerTowersCfg(flags, name, **kwargs)
Definition: L1CaloCalibToolsConfig.py:34
L1CaloCalibToolsConfig.L1CaloxAODOfflineTriggerTowerToolsCfg
def L1CaloxAODOfflineTriggerTowerToolsCfg(flags, name, **kwargs)
Definition: L1CaloCalibToolsConfig.py:46