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