5 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
6 from AthenaConfiguration.ComponentFactory
import CompFactory
11 trackIsolation = CompFactory.TrigMuonEFTrackIsolationTool
13 kwargs.setdefault(
'deltaZCut', 2.0*mm)
14 kwargs.setdefault(
'removeSelf',
True)
15 kwargs.setdefault(
'useAnnulus',
False)
16 kwargs.setdefault(
'useVarIso',
True)
17 isoTool = trackIsolation(name=name, **kwargs)
18 acc.setPrivateTools(isoTool)
24 trackIsolationAlg = CompFactory.TrigMuonEFTrackIsolationAlg
27 kwargs.setdefault(
'OnlineIsolationTool', acc.popPrivateTools())
28 kwargs.setdefault(
'IdTrackParticles',
'InDetTrigTrackingxAODCnv_Muon_IDTrig')
29 kwargs.setdefault(
'requireCombinedMuon',
True)
30 kwargs.setdefault(
'useVarIso',
True)
31 kwargs.setdefault(
'MuonContName',
'MuonsIso')
32 kwargs.setdefault(
'ptcone02Name',
'MuonsIso.ptcone02')
33 kwargs.setdefault(
'ptcone02Name',
'MuonsIso.ptcone03')
35 isoAlg = trackIsolationAlg(name, **kwargs)
36 acc.addEventAlgo(isoAlg)
42 filterZeroMuons = CompFactory.MuonFilterAlg
44 kwargs.setdefault(
"MuonContainerLocation",
"MuonsCB")
46 acc.addEventAlgo(filterZeroMuons(name, **kwargs))
52 mergeMuons = CompFactory.MergeEFMuonsAlg
54 kwargs.setdefault(
"MuonCBContainerLocation",
"MuonsCB_outsideIn")
55 kwargs.setdefault(
"MuonInsideOutContainerLocation",
"MuonsCB_insideOut")
56 kwargs.setdefault(
"MuonOutputLocation",
"MuonsCB")
58 acc.addEventAlgo(mergeMuons(name, **kwargs))
63 filterAlg = CompFactory.MuonChainFilterAlg
65 acc.addEventAlgo(
filterAlg(name, **kwargs))
70 mergeTracks = CompFactory.MergeMuonInDetTracksAlg
72 acc.addEventAlgo(mergeTracks(name, **kwargs))