ATLAS Offline Software
Functions | Variables
ReadxAODConfig Namespace Reference

Functions

def ReadxAODCfg (flags)
 

Variables

 flags = initConfigFlags()
 
 Files
 
 MaxEvents
 
 cfg = MainServicesCfg(flags)
 

Function Documentation

◆ ReadxAODCfg()

def ReadxAODConfig.ReadxAODCfg (   flags)
Method to configure the ReadTriggerDecision algorithm

Definition at line 11 of file ReadxAODConfig.py.

11 def ReadxAODCfg(flags):
12  '''Method to configure the ReadTriggerDecision algorithm'''
13  acc = ComponentAccumulator()
14 
15  # Track selection tool configuration
16  # https://twiki.cern.ch/twiki/bin/view/AtlasProtected/InDetTrackSelectionTool
17  # The exact configuration of the tool is set in InDetTrackSelectionTool_Loose_Cfg
18  # One could also configure the tool directly here if bespoke settings were needed
19  from InDetConfig.InDetTrackSelectionToolConfig import InDetTrackSelectionTool_Loose_Cfg
20  trackSelectionTool = acc.popToolsAndMerge(InDetTrackSelectionTool_Loose_Cfg(flags))
21 
22  # Configure the algorithm.... note that the tool from above is passed
23  # Then add the algorithm to the accumulator
24  acc.addEventAlgo(CompFactory.ReadxAOD(name = "ReadxAOD",
25  PtCut = 1.0*GeV,
26  TrackSelectionTool = trackSelectionTool,
27  TrackParticlesKey = "InDetTrackParticles"))
28  return acc
29 
30 # Lines to allow the script to be run stand-alone via python

Variable Documentation

◆ cfg

ReadxAODConfig.cfg = MainServicesCfg(flags)

Definition at line 51 of file ReadxAODConfig.py.

◆ Files

ReadxAODConfig.Files

Definition at line 43 of file ReadxAODConfig.py.

◆ flags

ReadxAODConfig.flags = initConfigFlags()

Definition at line 37 of file ReadxAODConfig.py.

◆ MaxEvents

ReadxAODConfig.MaxEvents

Definition at line 46 of file ReadxAODConfig.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.InDetTrackSelectionToolConfig.InDetTrackSelectionTool_Loose_Cfg
def InDetTrackSelectionTool_Loose_Cfg(flags, name="InDetTrackSelectionTool_Loose", **kwargs)
Configs based on CutLevel Loose #####.
Definition: InDetTrackSelectionToolConfig.py:36
ReadxAODConfig.ReadxAODCfg
def ReadxAODCfg(flags)
Definition: ReadxAODConfig.py:11