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

Fix combined muon cosmic reconstruction

Forgot to set using the origin in the combined muon instance of TrackParticleCreatorTool to only occur for cosmics in the previous commit.
parent 7b50f6a6
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,8 @@ def MuonCombinedParticleCreator(name="MuonCombinedParticleCreator",**kwargs):
kwargs.setdefault("TrackSummaryTool", ToolSvc.CombinedMuonTrackSummary ) #getPublicTool("CombinedMuonTrackSummary") )
kwargs.setdefault("KeepAllPerigee",True )
kwargs.setdefault("UseMuonSummaryTool",True )
kwargs.setdefault("PerigeeExpression","Origin")
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