ATLAS Offline Software
Functions | Variables
python.HION12 Namespace Reference

Functions

def HION12SkimmingToolCfg (flags)
 Skiming. More...
 
def HION12KernelCfg (flags, name='HION12Kernel', **kwargs)
 
def HION12Cfg (flags)
 

Variables

string expression = "abs(InDetTrackParticles.d0)< 1000000000 && abs(InDetTrackParticles.z0*sin(InDetTrackParticles.theta)) < 1000000000 && InDetTrackParticles.pt > 200"
 
 HION12TrackThinningTool
 
list thinningTools = [HION12TrackThinningTool]
 
 skimmingTool = acc.getPrimaryAndMerge(HION12SkimmingToolCfg(flags))
 
 DerivationKernel = CompFactory.DerivationFramework.DerivationKernel
 
 sequenceName
 
 HION12SlimmingHelper = SlimmingHelper("HION12SlimmingHelper", NamesAndTypes = flags.Input.TypedCollections, flags = flags)
 
 SmartCollections
 
 AllVariables
 
 ExtraVariables
 
 HION12ItemList = HION12SlimmingHelper.GetItemList()
 

Function Documentation

◆ HION12Cfg()

def python.HION12.HION12Cfg (   flags)

Definition at line 74 of file HION12.py.

74 def HION12Cfg(flags):
75 
76  acc = ComponentAccumulator()
77  acc.merge(HION12KernelCfg(flags, name="HION12Kernel",StreamName = "StreamDAOD_HION12"))
78 
79  from OutputStreamAthenaPool.OutputStreamConfig import OutputStreamCfg
80  from xAODMetaDataCnv.InfileMetaDataConfig import SetupMetaDataForStreamCfg
81  from DerivationFrameworkCore.SlimmingHelper import SlimmingHelper
82 

◆ HION12KernelCfg()

def python.HION12.HION12KernelCfg (   flags,
  name = 'HION12Kernel',
**  kwargs 
)
Configure the derivation framework driving algorithm (kernel)

Definition at line 47 of file HION12.py.

47 def HION12KernelCfg(flags, name='HION12Kernel', **kwargs):
48  """Configure the derivation framework driving algorithm (kernel)"""
49  acc = ComponentAccumulator()
50 

◆ HION12SkimmingToolCfg()

def python.HION12.HION12SkimmingToolCfg (   flags)

Skiming.

Configure the example skimming tool

Definition at line 11 of file HION12.py.

11 def HION12SkimmingToolCfg(flags):
12  """Configure the example skimming tool"""
13  from TrigDecisionTool.TrigDecisionToolConfig import TrigDecisionToolCfg
14  acc = ComponentAccumulator()
15 
16  ExtraData = []
17  ExtraData += ['xAOD::VertexContainer/PrimaryVertices']
18  ExtraData += ['xAOD::JetContainer/AntiKt4EMTopoJets']
19  ExtraData += ['xAOD::JetContainer/AntiKt4LCTopoJets']
20  ExtraData += ['xAOD::JetContainer/AntiKt4EMPFlowJets']
21  ExtraData += ['xAOD::JetContainer/AntiKt4HIJets']
22  ExtraData += ['xAOD::JetContainer/AntiKt4HITrackJets']
23  ExtraData += ['xAOD::JetContainer/AntiKt10LCTopoJets']
24 
25  acc.addSequence( seqAND("HION12Sequence") )
26  acc.getSequence("HION12Sequence").ExtraDataForDynamicConsumers = ExtraData
27  acc.getSequence("HION12Sequence").ProcessDynamicDataDependencies = True
28 
29  #Building jet skimming triggers
30  from DerivationFrameworkHI import ListTriggers
31 
32  objectSelection = '(count(PrimaryVertices.z < 1000) < 10)'
33  nJetCuts = ListTriggers.HION12nJetCuts2018()
34  MB_triggers = ListTriggers.HION12MBtriggers2018()
35  triggers = ListTriggers.HION12triggers2018()
36 
37  expression = '( (' + ' || '.join(triggers+MB_triggers) + ') && '+objectSelection+ ' && ' + '(' + ' || '.join(nJetCuts) + ')' + ')'
38 
39  tdt = acc.getPrimaryAndMerge(TrigDecisionToolCfg(flags))
40  acc.addPublicTool(CompFactory.DerivationFramework.xAODStringSkimmingTool(name = "HION12StringSkimmingTool",
41  expression = expression,
42  TrigDecisionTool=tdt),
43  primary = True)
44  return(acc)
45 
46 

Variable Documentation

◆ AllVariables

python.HION12.AllVariables

Definition at line 90 of file HION12.py.

◆ DerivationKernel

python.HION12.DerivationKernel = CompFactory.DerivationFramework.DerivationKernel

Definition at line 66 of file HION12.py.

◆ expression

string python.HION12.expression = "abs(InDetTrackParticles.d0)< 1000000000 && abs(InDetTrackParticles.z0*sin(InDetTrackParticles.theta)) < 1000000000 && InDetTrackParticles.pt > 200"

Definition at line 55 of file HION12.py.

◆ ExtraVariables

python.HION12.ExtraVariables

Definition at line 91 of file HION12.py.

◆ HION12ItemList

python.HION12.HION12ItemList = HION12SlimmingHelper.GetItemList()

Definition at line 94 of file HION12.py.

◆ HION12SlimmingHelper

python.HION12.HION12SlimmingHelper = SlimmingHelper("HION12SlimmingHelper", NamesAndTypes = flags.Input.TypedCollections, flags = flags)

Definition at line 87 of file HION12.py.

◆ HION12TrackThinningTool

python.HION12.HION12TrackThinningTool
Initial value:
1 = acc.getPrimaryAndMerge(TrackParticleThinningCfg(
2  flags,
3  name = "HION12TrackThinningTool",
4  StreamName = kwargs['StreamName'],
5  SelectionString = expression,
6  InDetTrackParticlesKey = "InDetTrackParticles"))

Definition at line 56 of file HION12.py.

◆ sequenceName

python.HION12.sequenceName

Definition at line 70 of file HION12.py.

◆ skimmingTool

python.HION12.skimmingTool = acc.getPrimaryAndMerge(HION12SkimmingToolCfg(flags))

Definition at line 64 of file HION12.py.

◆ SmartCollections

python.HION12.SmartCollections

Definition at line 89 of file HION12.py.

◆ thinningTools

list python.HION12.thinningTools = [HION12TrackThinningTool]

Definition at line 63 of file HION12.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.HION12.HION12SkimmingToolCfg
def HION12SkimmingToolCfg(flags)
Skiming.
Definition: HION12.py:11
python.InDetToolsConfig.TrackParticleThinningCfg
def TrackParticleThinningCfg(flags, name, **kwargs)
Definition: InDetToolsConfig.py:458
python.HION12.HION12KernelCfg
def HION12KernelCfg(flags, name='HION12Kernel', **kwargs)
Definition: HION12.py:47
python.CFElements.seqAND
def seqAND(name, subs=[])
Definition: CFElements.py:25
python.HION12.HION12Cfg
def HION12Cfg(flags)
Definition: HION12.py:74
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