ATLAS Offline Software
Functions | Variables
python.HION2 Namespace Reference

Functions

def HION2SkimmingToolCfg (flags)
 Skiming. More...
 
def InDetTrackSelectionTool_HITight_Cfg (flags, name="InDetTrackSelectionTool_HITight", **kwargs)
 Creating InDetTrackTools. More...
 
def HION2AugmentationToolCfg (flags)
 
def HION2KernelCfg (flags, name='HION2Kernel', **kwargs)
 
def HION2Cfg (flags)
 

Variables

 HION2SlimmingHelper = SlimmingHelper("HION2SlimmingHelper", NamesAndTypes = flags.Input.TypedCollections, flags = flags)
 
list AllVar = []
 
list ExtraVar = []
 
 AllVariables
 
 ExtraVariables
 
 HION2ItemList = HION2SlimmingHelper.GetItemList()
 

Function Documentation

◆ HION2AugmentationToolCfg()

def python.HION2.HION2AugmentationToolCfg (   flags)
Configure the example augmentation tool

Definition at line 46 of file HION2.py.

46 def HION2AugmentationToolCfg(flags):
47  """Configure the example augmentation tool"""
48  acc = ComponentAccumulator()
49 
50  from InDetConfig.InDetTrackSelectionToolConfig import InDetTrackSelectionTool_HILoose_Cfg
51 
52  TrkSelTool_hi_loose = acc.popToolsAndMerge(InDetTrackSelectionTool_HILoose_Cfg(flags,
53  name = "TrackSelectionTool_hi_loose",
54  minPt = 100))
55 
56  TrkSelTool_hi_tight = acc.popToolsAndMerge(InDetTrackSelectionTool_HITight_Cfg(flags,
57  name = "TrackSelectionTool_hi_tight",
58  minPt = 100))
59  acc.addPublicTool(TrkSelTool_hi_loose)
60  acc.addPublicTool(TrkSelTool_hi_tight)
61 
62  acc.addPublicTool(CompFactory.DerivationFramework.HITrackQualityAugmentationTool(name= "HION2AugmentationTool",
63  TrackSelectionTool_pp = TrkSelTool_hi_loose, #didnt find a tool for minbias
64  TrackSelectionTool_hi_loose =TrkSelTool_hi_loose,
65  TrackSelectionTool_hi_tight =TrkSelTool_hi_tight),
66  primary = True)
67  return(acc)
68 

◆ HION2Cfg()

def python.HION2.HION2Cfg (   flags)

Definition at line 84 of file HION2.py.

84 def HION2Cfg(flags):
85 
86  acc = ComponentAccumulator()
87  acc.merge(HION2KernelCfg(flags, name="HION2Kernel",StreamName = "StreamDAOD_HION2"))
88 
89  from OutputStreamAthenaPool.OutputStreamConfig import OutputStreamCfg
90  from xAODMetaDataCnv.InfileMetaDataConfig import SetupMetaDataForStreamCfg
91  from DerivationFrameworkCore.SlimmingHelper import SlimmingHelper
92 

◆ HION2KernelCfg()

def python.HION2.HION2KernelCfg (   flags,
  name = 'HION2Kernel',
**  kwargs 
)
Configure the derivation framework driving algorithm (kernel)

Definition at line 69 of file HION2.py.

69 def HION2KernelCfg(flags, name='HION2Kernel', **kwargs):
70  """Configure the derivation framework driving algorithm (kernel)"""
71  acc = ComponentAccumulator()
72 
73  skimmingTool = acc.getPrimaryAndMerge(HION2SkimmingToolCfg(flags))
74  augmentationTool = acc.getPrimaryAndMerge(HION2AugmentationToolCfg(flags))
75 
76  DerivationKernel = CompFactory.DerivationFramework.DerivationKernel
77  acc.addEventAlgo(DerivationKernel(name,
78  SkimmingTools = [skimmingTool],
79  AugmentationTools = [augmentationTool]),
80  sequenceName = "HION2Sequence")
81 
82  return acc
83 

◆ HION2SkimmingToolCfg()

def python.HION2.HION2SkimmingToolCfg (   flags)

Skiming.

Configure the example skimming tool

Definition at line 12 of file HION2.py.

12 def HION2SkimmingToolCfg(flags):
13  """Configure the example skimming tool"""
14  from TrigDecisionTool.TrigDecisionToolConfig import TrigDecisionToolCfg
15  acc = ComponentAccumulator()
16 
17  ExtraData = []
18  ExtraData += ['xAOD::VertexContainer/PrimaryVertices']
19 
20  acc.addSequence( seqAND("HION2Sequence") )
21  acc.getSequence("HION2Sequence").ExtraDataForDynamicConsumers = ExtraData
22  acc.getSequence("HION2Sequence").ProcessDynamicDataDependencies = True
23 
24  #Building jet skimming triggers
25  from DerivationFrameworkHI import ListTriggers
26 
27  triggers = []
28  triggers += ListTriggers.HION2MinBias2023()
29 
30  expression = ' ( ' +' || '.join(triggers) + ' ) && (count(abs(PrimaryVertices.z)<100)>1)'
31 
32  tdt = acc.getPrimaryAndMerge(TrigDecisionToolCfg(flags))
33  acc.addPublicTool(CompFactory.DerivationFramework.xAODStringSkimmingTool(name = "HION2StringSkimmingTool",
34  expression = expression,
35  TrigDecisionTool=tdt),
36  primary = True)
37  return(acc)

◆ InDetTrackSelectionTool_HITight_Cfg()

def python.HION2.InDetTrackSelectionTool_HITight_Cfg (   flags,
  name = "InDetTrackSelectionTool_HITight",
**  kwargs 
)

Creating InDetTrackTools.

Definition at line 41 of file HION2.py.

41 def InDetTrackSelectionTool_HITight_Cfg(flags, name="InDetTrackSelectionTool_HITight", **kwargs):
42  kwargs.setdefault("CutLevel", "HITight")
43  return InDetTrackSelectionToolCfg(flags, name, **kwargs)
44 

Variable Documentation

◆ AllVar

list python.HION2.AllVar = []

Definition at line 99 of file HION2.py.

◆ AllVariables

python.HION2.AllVariables

Definition at line 108 of file HION2.py.

◆ ExtraVar

list python.HION2.ExtraVar = []

Definition at line 104 of file HION2.py.

◆ ExtraVariables

python.HION2.ExtraVariables

Definition at line 109 of file HION2.py.

◆ HION2ItemList

python.HION2.HION2ItemList = HION2SlimmingHelper.GetItemList()

Definition at line 111 of file HION2.py.

◆ HION2SlimmingHelper

python.HION2.HION2SlimmingHelper = SlimmingHelper("HION2SlimmingHelper", NamesAndTypes = flags.Input.TypedCollections, flags = flags)

Definition at line 97 of file HION2.py.

python.HION2.HION2Cfg
def HION2Cfg(flags)
Definition: HION2.py:84
python.HION2.HION2KernelCfg
def HION2KernelCfg(flags, name='HION2Kernel', **kwargs)
Definition: HION2.py:69
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.HION2.InDetTrackSelectionTool_HITight_Cfg
def InDetTrackSelectionTool_HITight_Cfg(flags, name="InDetTrackSelectionTool_HITight", **kwargs)
Creating InDetTrackTools.
Definition: HION2.py:41
python.HION2.HION2SkimmingToolCfg
def HION2SkimmingToolCfg(flags)
Skiming.
Definition: HION2.py:12
python.InDetTrackSelectionToolConfig.InDetTrackSelectionToolCfg
def InDetTrackSelectionToolCfg(flags, name="InDetTrackSelectionTool", **kwargs)
Definition: InDetTrackSelectionToolConfig.py:7
python.CFElements.seqAND
def seqAND(name, subs=[])
Definition: CFElements.py:25
python.HION2.HION2AugmentationToolCfg
def HION2AugmentationToolCfg(flags)
Definition: HION2.py:46
TCS::join
std::string join(const std::vector< std::string > &v, const char c=',')
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/Root/StringUtils.cxx:10
python.TriggerInterface.TrigDecisionToolCfg
def TrigDecisionToolCfg(flags)
Definition: TriggerInterface.py:14
python.InDetTrackSelectionToolConfig.InDetTrackSelectionTool_HILoose_Cfg
def InDetTrackSelectionTool_HILoose_Cfg(flags, name="InDetTrackSelectionTool_HILoose", **kwargs)
Definition: InDetTrackSelectionToolConfig.py:68
python.HION12.DerivationKernel
DerivationKernel
Definition: HION12.py:66