14 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
18 from AthenaConfiguration.ComponentFactory
import CompFactory
19 histsvc = CompFactory.THistSvc(name=
"THistSvc", Output=flags.Output.HISTFileName)
20 acc.addService ( histsvc )
23 from TrkConfig.AtlasExtrapolatorConfig
import InDetExtrapolatorCfg
25 acc.addPublicTool(InDetExtrapolator)
28 from TrackToVertex.TrackToVertexConfig
import TrackToVertexCfg
30 acc.addPublicTool(TrackToVertexTool)
33 from TrkConfig.TrkVertexFitterUtilsConfig
import TrackToVertexIPEstimatorCfg
35 acc.addPublicTool(TrackToVertexIPEstimatorTool)
38 from TrkConfig.TrkGlobalChi2FitterConfig
import InDetGlobalChi2FitterCfg
42 MuonRefitterTool = CompFactory.egammaTrkRefitterTool (name =
'MuonRefitterTool',
43 FitterTool = GX2TrackFitter,
46 acc.addPublicTool(MuonRefitterTool)
49 SiOnlyRefitterTool = CompFactory.egammaTrkRefitterTool (name =
'SiOnlyRefitterTool',
50 FitterTool = GX2TrackFitter,
54 acc.addPublicTool(SiOnlyRefitterTool)
57 from MuonSelectorTools.MuonSelectorToolsConfig
import MuonSelectionToolCfg
59 name =
"MuonSelectorIDalign",
63 TurnOffMomCorr =
True))
64 acc.addPublicTool(MuonSelectorIDAl)
68 theIDPerfMonZmumu = CompFactory.IDPerfMonZmumu (name =
"IDPerfMonZmumu",
69 TrackParticleName =
'CombinedTrackParticle',
70 isMC = flags.Input.isMC,
71 UseTrackSelectionTool =
True,
73 ReFitterTool1 = MuonRefitterTool,
74 ReFitterTool2 = SiOnlyRefitterTool,
75 OutputTracksName =
"SelectedMuons",
76 Extrapolator = InDetExtrapolator,
79 TrackToVertexTool = TrackToVertexTool,
80 TrackToVertexIPEstimator = TrackToVertexIPEstimatorTool,
81 commonTreeFolder =
"/ZmumuValidationUserSel/common",
84 doZmumuEventDebug =
False,
85 useCustomMuonSelector =
True,
86 MuonSelector = MuonSelectorIDAl,
88 MassWindowHigh = 2000.,
92 acc.addEventAlgo(theIDPerfMonZmumu)