2 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
3 from AthenaConfiguration.ComponentFactory
import CompFactory
4 from AthenaConfiguration.Enums
import Format
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)
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)
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)
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)
48 kwargs.setdefault(
"PriorityTrackCollection",
"Tracks")
50 "OtherTrackCollections",
53 "MuonSpectrometerTracks",
54 "ConvertedStacoTracks",
55 "ConvertedMuIdCBTracks",
56 "CombinedInDetTracks",
64 kwargs.setdefault(
"DoWriteResiduals",
False)
65 the_tool = CompFactory.JiveXML.TrackRetriever(name, **kwargs)
66 result.addPublicTool(the_tool, primary=
True)
72 the_tool = CompFactory.JiveXML.VertexRetriever(name=
"VertexRetriever", **kwargs)
73 result.addPublicTool(the_tool, primary=
True)
79 the_tool = CompFactory.JiveXML.SegmentRetriever(name=
"SegmentRetriever", **kwargs)
80 result.addPublicTool(the_tool, primary=
True)
86 the_tool = CompFactory.JiveXML.BeamSpotRetriever(name=
"BeamSpotRetriever", **kwargs)
87 result.addPublicTool(the_tool, primary=
True)
93 the_tool = CompFactory.JiveXML.PixelRDORetriever(name=
"PixelRDORetriever", **kwargs)
94 result.addPublicTool(the_tool, primary=
True)
100 the_tool = CompFactory.JiveXML.SCTRDORetriever(name=
"SCTRDORetriever", **kwargs)
101 result.addPublicTool(the_tool, primary=
True)
112 flags.Input.Format
is Format.BS
or "StreamRDO" in flags.Input.ProcessingTags
115 if flags.Detector.EnablePixel
and flags.Detector.GeometryPixel:
120 if flags.Detector.EnableID
and flags.Detector.GeometryID
and flags.Detector.EnablePixel
and flags.Detector.GeometryPixel
and flags.Detector.EnableSCT
and flags.Detector.GeometrySCT:
127 if flags.Detector.EnableTRT
and flags.Detector.GeometryTRT:
130 if haveRDO
and flags.Detector.EnableSCT
and flags.Detector.GeometrySCT:
133 if not flags.OnlineEventDisplays.OfflineTest: