Skip to content
Snippets Groups Projects

Use AtlasFieldCacheCondObj instead of IMagFieldSvc in MuonSegmentMakerTools

Merged Nicolas Koehler requested to merge nkoehler/athena:rec5469 into master
All threads resolved!
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
@@ -185,9 +185,9 @@ def MuonSegmentMatchingToolCfg(flags, name="MuonSegmentMatchingTool", **kwargs):
kwargs.setdefault( "doThetaMatching", flags.Muon.useSegmentMatching)
kwargs.setdefault( "doPhiMatching", False )
kwargs.setdefault( "ToroidOn", True ) # Was "not jobproperties.BField.allToroidOn()" but do not have access to Field here.
if flags.Beam.Type == 'cosmics':
kwargs.setdefault("OverlapMatchAveragePhiHitPullCut", 200.)
kwargs.setdefault( "ToroidOn", False ) # Was "not jobproperties.BField.allToroidOn()" but do not have access to Field here.
# There are two tools which this depends on which aren't properties and which weren't defined in old configuration
# Ignore for now, but FIXME one day
@@ -195,6 +195,7 @@ def MuonSegmentMatchingToolCfg(flags, name="MuonSegmentMatchingTool", **kwargs):
# m_pairMatchingTool("Muon::MuonSegmentPairMatchingTool/MuonSegmentPairMatchingTool"),
# Also, residual pull calculator not yet configured. #FIXME
result = ComponentAccumulator()
matching = Muon__MuonSegmentMatchingTool(name, **kwargs)
result.setPrivateTools(matching)
return result
Loading