8 result = ComponentAccumulator()
9 if not flags.Input.isMC:
10 kwargs.setdefault(
"PixelTruthMap",
"")
11 the_tool = CompFactory.JiveXML.PixelClusterRetriever(name, **kwargs)
12 result.addPublicTool(the_tool, primary=
True)
17 result = ComponentAccumulator()
18 if not flags.Input.isMC:
19 kwargs.setdefault(
"SCT_TruthMap",
"")
20 the_tool = CompFactory.JiveXML.SiClusterRetriever(name, **kwargs)
21 result.addPublicTool(the_tool, primary=
True)
26 result = ComponentAccumulator()
27 if not flags.Input.isMC:
28 kwargs.setdefault(
"PRD_TruthPixel",
"")
29 kwargs.setdefault(
"PRD_TruthSCT",
"")
30 the_tool = CompFactory.JiveXML.SiSpacePointRetriever(name, **kwargs)
31 result.addPublicTool(the_tool, primary=
True)
36 result = ComponentAccumulator()
37 if not flags.Input.isMC:
38 kwargs.setdefault(
"TRTTruthMap",
"")
39 the_tool = CompFactory.JiveXML.TRTRetriever(name, **kwargs)
40 result.addPublicTool(the_tool, primary=
True)
46 result = ComponentAccumulator()
48 from MuonConfig.MuonRecToolsConfig
import MuonTrackSummaryHelperToolCfg
49 muonSummaryHelperTool=result.popToolsAndMerge(MuonTrackSummaryHelperToolCfg(flags))
51 from TrkConfig.TrkTrackSummaryToolConfig
import InDetTrackSummaryToolCfg
52 InDetTrackSummaryTool=result.popToolsAndMerge(InDetTrackSummaryToolCfg(flags,MuonSummaryHelperTool=muonSummaryHelperTool))
53 kwargs.setdefault(
"TrackSummaryTool", InDetTrackSummaryTool)
55 from TrkConfig.TrkResidualPullCalculatorConfig
import (ResidualPullCalculatorCfg)
56 ResidualPullCalculator=result.addPublicTool(result.popToolsAndMerge(ResidualPullCalculatorCfg(flags)))
57 kwargs.setdefault(
"ResidualPullCalculator", ResidualPullCalculator)
58 if not flags.Input.isMC:
59 kwargs.setdefault(
"TruthCollections",[
""])
60 kwargs.setdefault(
"isMC", flags.Input.isMC)
61 kwargs.setdefault(
"DoWriteResiduals",
False)
62 the_tool = CompFactory.JiveXML.TrackRetriever(name, **kwargs)
63 result.addPublicTool(the_tool, primary=
True)
103 result = ComponentAccumulator()
109 flags.Input.Format
is Format.BS
or "StreamRDO" in flags.Input.ProcessingTags
112 if flags.Detector.EnablePixel
and flags.Detector.GeometryPixel:
117 if flags.Detector.EnableID
and flags.Detector.GeometryID
and flags.Detector.EnablePixel
and flags.Detector.GeometryPixel
and flags.Detector.EnableSCT
and flags.Detector.GeometrySCT:
124 if flags.Detector.EnableTRT
and flags.Detector.GeometryTRT:
127 if haveRDO
and flags.Detector.EnableSCT
and flags.Detector.GeometrySCT:
130 if not flags.OnlineEventDisplays.OfflineTest: