Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
atlas
athena
Commits
70155412
Commit
70155412
authored
Aug 06, 2021
by
Robert Langenberg
Browse files
restrict to MT so ST can run until condSeq is reordered
parent
36e0e10c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Tracking/TrkConditions/TrackingGeometryCondAlg/python/AtlasTrackingGeometryCondAlg.py
View file @
70155412
...
...
@@ -89,18 +89,18 @@ class ConfiguredTrackingGeometryCondAlg( Trk__TrackingGeometryCondAlg ) :
# artifical dependencies to Si-DetectorElement conditions algs to ensure that
# the IOV is identical to the IOV of the tracking geoemtry
from
AthenaCommon.ConcurrencyFlags
import
jobproperties
as
jp
if
jp
.
ConcurrencyFlags
.
NumThreads
()
<=
0
:
#REORDER cond_seq, NO INDENTATION BC STUFF IS MISSING TO PROVOKE ERROR
MuonManagerKey
=
[
'MuonDetectorManager'
]
if
(
DetFlags
.
Muon_on
()
and
not
DetFlags
.
writeRDOPool
.
Muon_on
())
else
[]
TRT_DetEltKey
=
[
"TRT_DetElementContainer"
]
if
DetFlags
.
TRT_on
()
else
[]
SCTAlignStore
=
[
"SCTAlignmentStore"
]
if
DetFlags
.
SCT_on
()
else
[]
PixelAlignStore
=
[
"PixelAlignmentStore"
]
if
DetFlags
.
pixel_on
()
else
[]
modifyCondAlg
(
'SCT_DetectorElementCondAlg'
,
MuonManagerKey
=
MuonManagerKey
,
if
jp
.
ConcurrencyFlags
.
NumThreads
()
>
0
:
MuonManagerKey
=
[
'MuonDetectorManager'
]
if
(
DetFlags
.
Muon_on
()
and
not
DetFlags
.
writeRDOPool
.
Muon_on
())
else
[]
TRT_DetEltKey
=
[
"TRT_DetElementContainer"
]
if
DetFlags
.
TRT_on
()
else
[]
SCTAlignStore
=
[
"SCTAlignmentStore"
]
if
DetFlags
.
SCT_on
()
else
[]
PixelAlignStore
=
[
"PixelAlignmentStore"
]
if
DetFlags
.
pixel_on
()
else
[]
modifyCondAlg
(
'SCT_DetectorElementCondAlg'
,
MuonManagerKey
=
MuonManagerKey
,
TRT_DetEltContKey
=
TRT_DetEltKey
,
PixelAlignmentStore
=
PixelAlignStore
)
modifyCondAlg
(
'PixelDetectorElementCondAlg'
,
MuonManagerKey
=
MuonManagerKey
,
modifyCondAlg
(
'PixelDetectorElementCondAlg'
,
MuonManagerKey
=
MuonManagerKey
,
TRT_DetEltContKey
=
TRT_DetEltKey
,
SCTAlignmentStore
=
SCTAlignStore
)
...
...
Tracking/TrkConditions/TrackingGeometryCondAlg/python/AtlasTrackingGeometryCondAlgConfig.py
View file @
70155412
...
...
@@ -82,9 +82,9 @@ def _getInDetTrackingGeometryBuilder(name, flags,result, envelopeDefinitionSvc,
# is identical to the IOV of the tracking geoemtry cond alg
from
PixelConditionsAlgorithms.PixelConditionsConfig
import
PixelDetectorElementCondAlgCfg
result
.
merge
(
PixelDetectorElementCondAlgCfg
(
flags
,
MuonManagerKey
=
[
"MuonDetectorManager"
]
if
flags
.
Muon
.
enableAlignment
else
[],
TRT_DetEltContKey
=
[
"TRT_DetElementContainer"
]
if
flags
.
Detector
.
GeometryTRT
else
[],
SCTAlignmentStore
=
[
"SCTAlignmentStore"
]
if
flags
.
Detector
.
GeometrySCT
else
[]))
MuonManagerKey
=
[
"MuonDetectorManager"
]
if
flags
.
Muon
.
enableAlignment
and
flags
.
Concurrency
.
NumThreads
>
0
else
[],
TRT_DetEltContKey
=
[
"TRT_DetElementContainer"
]
if
flags
.
Detector
.
GeometryTRT
and
flags
.
Concurrency
.
NumThreads
>
0
else
[],
SCTAlignmentStore
=
[
"SCTAlignmentStore"
]
if
flags
.
Detector
.
GeometrySCT
and
flags
.
Concurrency
.
NumThreads
>
0
else
[]))
if
flags
.
Detector
.
GeometrySCT
:
# for SCT DetectorElement conditions data :
...
...
@@ -120,13 +120,13 @@ def _getInDetTrackingGeometryBuilder(name, flags,result, envelopeDefinitionSvc,
layerbuilders
+=
[
SCT_LayerBuilder
]
binnings
+=
[
SCT_LayerBinning
]
colors
+=
[
4
]
if
flags
.
Concurrency
.
NumThreads
<=
0
:
#ordering of algs is missing for single threaded athena
from
SCT_GeoModel.SCT_GeoModelConfig
import
SCT_DetectorElementCondAlgCfg
result
.
merge
(
SCT_DetectorElementCondAlgCfg
(
flags
,
MuonManagerKey
=
[
"MuonDetectorManager"
]
if
flags
.
Muon
.
enableAlignment
else
[],
TRT_DetEltContKey
=
[
"TRT_DetElementContainer"
]
if
flags
.
Detector
.
GeometryTRT
else
[],
PixelAlignmentStore
=
[
"PixelAlignmentStore"
]
if
flags
.
Detector
.
GeometryPixel
else
[]))
MuonManagerKey
=
[
"MuonDetectorManager"
]
if
flags
.
Muon
.
enableAlignment
and
flags
.
Concurrency
.
NumThreads
>
0
else
[],
TRT_DetEltContKey
=
[
"TRT_DetElementContainer"
]
if
flags
.
Detector
.
GeometryTRT
and
flags
.
Concurrency
.
NumThreads
>
0
else
[],
PixelAlignmentStore
=
[
"PixelAlignmentStore"
]
if
flags
.
Detector
.
GeometryPixel
and
flags
.
Concurrency
.
NumThreads
>
0
else
[]))
if
flags
.
Detector
.
GeometryTRT
:
# for TRT DetectorElement conditions data :
...
...
Vakhtang Tsulaia
@tsulaia
mentioned in commit
f80731b5
·
Aug 10, 2021
mentioned in commit
f80731b5
mentioned in commit f80731b5c672ef1e8420dee74c837477ce465682
Toggle commit list
Edward Moyse
@emoyse
mentioned in merge request
!45721 (closed)
·
Aug 10, 2021
mentioned in merge request
!45721 (closed)
mentioned in merge request !45721
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment