Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
atlas
athena
Commits
6bda6b0f
Commit
6bda6b0f
authored
4 years ago
by
Nicolas Köhler
Browse files
Options
Downloads
Patches
Plain Diff
fix compilation warning
parent
e516459d
Loading
Loading
1 merge request
!32430
Use AtlasFieldCacheCondObj instead of IMagFieldSvc in MuonSegmentMakerTools
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
MuonSpectrometer/MuonConfig/python/MuonTrackBuildingConfig.py
+2
-1
2 additions, 1 deletion
...Spectrometer/MuonConfig/python/MuonTrackBuildingConfig.py
with
2 additions
and
1 deletion
MuonSpectrometer/MuonConfig/python/MuonTrackBuildingConfig.py
+
2
−
1
View file @
6bda6b0f
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment