11def ReadxAODCfg(flags):
12 '''Method to configure the ReadTriggerDecision algorithm'''
13 acc = ComponentAccumulator()
14
15
16
17
18
19 from InDetTrackSelectionTool.InDetTrackSelectionToolConfig import (
20 InDetTrackSelectionTool_Loose_Cfg)
21 trackSelectionTool = acc.popToolsAndMerge(InDetTrackSelectionTool_Loose_Cfg(flags))
22
23
24
25 acc.addEventAlgo(CompFactory.ReadxAOD(name = "ReadxAOD",
26 PtCut = 1.0*GeV,
27 TrackSelectionTool = trackSelectionTool,
28 TrackParticlesKey = "InDetTrackParticles"))
29 return acc
30
31