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 75 of file HION12.py.

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

◆ HION12KernelCfg()

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

Definition at line 48 of file HION12.py.

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

◆ HION12SkimmingToolCfg()

def python.HION12.HION12SkimmingToolCfg (   flags)

Skiming.

Configure the example skimming tool

Definition at line 12 of file HION12.py.

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

Variable Documentation

◆ AllVariables

python.HION12.AllVariables

Definition at line 91 of file HION12.py.

◆ DerivationKernel

python.HION12.DerivationKernel = CompFactory.DerivationFramework.DerivationKernel

Definition at line 67 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 56 of file HION12.py.

◆ ExtraVariables

python.HION12.ExtraVariables

Definition at line 92 of file HION12.py.

◆ HION12ItemList

python.HION12.HION12ItemList = HION12SlimmingHelper.GetItemList()

Definition at line 95 of file HION12.py.

◆ HION12SlimmingHelper

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

Definition at line 88 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 57 of file HION12.py.

◆ sequenceName

python.HION12.sequenceName

Definition at line 71 of file HION12.py.

◆ skimmingTool

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

Definition at line 65 of file HION12.py.

◆ SmartCollections

python.HION12.SmartCollections

Definition at line 90 of file HION12.py.

◆ thinningTools

list python.HION12.thinningTools = [HION12TrackThinningTool]

Definition at line 64 of file HION12.py.

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