Skip to content
Snippets Groups Projects
Commit bc043ee6 authored by Will Leight's avatar Will Leight
Browse files

Fix for combined muon reconstruction in cosmics

For some reason cherry-picking MR 1743 directly didn't work so I am doing it manually.
Please see that MR for more details: this should not be particularly important for the trigger, but it keeps the online and offline codes consistent.
As it has been in 21.0 for a couple of weeks, this change has already passed RTT tests equivalent to trigtest.pl.
parent 87cfb539
No related branches found
No related tags found
No related merge requests found
......@@ -59,6 +59,8 @@ def MuonCombinedParticleCreator(name="MuonCombinedParticleCreator",**kwargs):
kwargs.setdefault("TrackSummaryTool", ToolSvc.CombinedMuonTrackSummary ) #getPublicTool("CombinedMuonTrackSummary") )
kwargs.setdefault("KeepAllPerigee",True )
kwargs.setdefault("UseMuonSummaryTool",True )
if beamFlags.beamType() == 'cosmics':
kwargs.setdefault("PerigeeExpression","Origin")
return CfgMgr.Trk__TrackParticleCreatorTool(name,**kwargs)
def MuonCaloParticleCreator(name="MuonCaloParticleCreator",**kwargs):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment