ATLAS Offline Software
Loading...
Searching...
No Matches
ReadxAODConfig Namespace Reference

Functions

 ReadxAODCfg (flags)

Variables

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

Function Documentation

◆ ReadxAODCfg()

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

Definition at line 11 of file ReadxAODConfig.py.

11def 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 InDetTrackSelectionTool.InDetTrackSelectionToolConfig import (
20 InDetTrackSelectionTool_Loose_Cfg)
21 trackSelectionTool = acc.popToolsAndMerge(InDetTrackSelectionTool_Loose_Cfg(flags))
22
23 # Configure the algorithm.... note that the tool from above is passed
24 # Then add the algorithm to the accumulator
25 acc.addEventAlgo(CompFactory.ReadxAOD(name = "ReadxAOD",
26 PtCut = 1.0*GeV,
27 TrackSelectionTool = trackSelectionTool,
28 TrackParticlesKey = "InDetTrackParticles"))
29 return acc
30
31# Lines to allow the script to be run stand-alone via python

Variable Documentation

◆ cfg

ReadxAODConfig.cfg = MainServicesCfg(flags)

Definition at line 52 of file ReadxAODConfig.py.

◆ Files

ReadxAODConfig.Files

Definition at line 44 of file ReadxAODConfig.py.

◆ flags

ReadxAODConfig.flags = initConfigFlags()

Definition at line 38 of file ReadxAODConfig.py.

◆ MaxEvents

ReadxAODConfig.MaxEvents

Definition at line 47 of file ReadxAODConfig.py.