Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue 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
Peter Sherwood
athena
Commits
8b4786f3
Commit
8b4786f3
authored
4 years ago
by
Susumu Oda
Browse files
Options
Downloads
Patches
Plain Diff
Possible fix of ATLASDQ-805
parent
52722fb6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
InnerDetector/InDetExample/InDetRecExample/share/InDetRecConditionsAccess.py
+18
-17
18 additions, 17 deletions
...Example/InDetRecExample/share/InDetRecConditionsAccess.py
with
18 additions
and
17 deletions
InnerDetector/InDetExample/InDetRecExample/share/InDetRecConditionsAccess.py
+
18
−
17
View file @
8b4786f3
...
...
@@ -282,7 +282,7 @@ if DetFlags.haveRIO.SCT_on():
InDetSCT_ReadCalibDataTool
=
sct_ReadCalibDataToolSetup
.
getTool
()
if
(
InDetFlags
.
doPrintConfigurables
()):
printfunc
(
InDetSCT_ReadCalibDataTool
)
# Load flagged condition tool
from
SCT_ConditionsTools.SCT_FlaggedConditionToolSetup
import
SCT_FlaggedConditionToolSetup
sct_FlaggedConditionToolSetup
=
SCT_FlaggedConditionToolSetup
()
...
...
@@ -315,8 +315,9 @@ if DetFlags.haveRIO.SCT_on():
sct_ByteStreamErrorsToolSetup
=
SCT_ByteStreamErrorsToolSetup
()
sct_ByteStreamErrorsToolSetup
.
setConfigTool
(
InDetSCT_ConfigurationConditionsTool
)
sct_ByteStreamErrorsToolSetup
.
setup
()
SCT_ByteStreamErrorsTool
=
sct_ByteStreamErrorsToolSetup
.
getTool
()
if
(
InDetFlags
.
doPrintConfigurables
()):
printfunc
(
sct
_ByteStreamErrorsTool
Setup
.
getTool
()
)
printfunc
(
SCT
_ByteStreamErrorsTool
)
if
InDetFlags
.
useSctDCS
():
from
SCT_ConditionsTools.SCT_DCSConditionsToolSetup
import
SCT_DCSConditionsToolSetup
...
...
@@ -344,31 +345,31 @@ if DetFlags.haveRIO.SCT_on():
printfunc
(
InDetSCT_TdaqEnabledTool
)
# Configure summary tool
InDetSCT_ConditionsSummaryTool
.
ConditionsTools
=
[
sct
_ConfigurationConditionsTool
Setup
.
getTool
().
getFullName
()
,
sct
_FlaggedConditionTool
Setup
.
getTool
().
getFullName
()
,
sct
_ByteStreamErrorsTool
Setup
.
getTool
().
getFullName
()
,
sct
_ReadCalibDataTool
Setup
.
getTool
().
getFullName
()
,
sct
_TdaqEnabledTool
Setup
.
getTool
().
getFullName
()
]
InDetSCT_ConditionsSummaryTool
.
ConditionsTools
=
[
InDetSCT
_ConfigurationConditionsTool
,
InDetSCT
_FlaggedConditionTool
,
SCT
_ByteStreamErrorsTool
,
InDetSCT
_ReadCalibDataTool
,
InDetSCT
_TdaqEnabledTool
]
if
not
athenaCommonFlags
.
isOnline
():
InDetSCT_ConditionsSummaryTool
.
ConditionsTools
+=
[
sct
_MonitorConditionsTool
Setup
.
getTool
().
getFullName
()
]
InDetSCT_ConditionsSummaryTool
.
ConditionsTools
+=
[
InDetSCT
_MonitorConditionsTool
]
if
InDetFlags
.
useSctDCS
():
InDetSCT_ConditionsSummaryTool
.
ConditionsTools
+=
[
sct
_DCSConditionsTool
Setup
.
getTool
().
getFullName
()
]
InDetSCT_ConditionsSummaryTool
.
ConditionsTools
+=
[
InDetSCT
_DCSConditionsTool
]
# switch conditions off for SLHC usage
elif
InDetFlags
.
doSLHC
():
InDetSCT_ConditionsSummaryTool
.
ConditionsTools
=
[]
else
:
InDetSCT_ConditionsSummaryTool
.
ConditionsTools
=
[
sct
_ConfigurationConditionsTool
Setup
.
getTool
().
getFullName
()
,
sct
_FlaggedConditionTool
Setup
.
getTool
().
getFullName
()
,
sct
_MonitorConditionsTool
Setup
.
getTool
().
getFullName
()
,
sct
_ReadCalibDataTool
Setup
.
getTool
().
getFullName
()
]
InDetSCT_ConditionsSummaryTool
.
ConditionsTools
=
[
InDetSCT
_ConfigurationConditionsTool
,
InDetSCT
_FlaggedConditionTool
,
InDetSCT
_MonitorConditionsTool
,
InDetSCT
_ReadCalibDataTool
]
if
InDetFlags
.
useSctDCS
():
InDetSCT_ConditionsSummaryTool
.
ConditionsTools
+=
[
sct
_DCSConditionsTool
Setup
.
getTool
().
getFullName
()
]
InDetSCT_ConditionsSummaryTool
.
ConditionsTools
+=
[
InDetSCT
_DCSConditionsTool
]
if
InDetFlags
.
doSCTModuleVeto
():
InDetSCT_ConditionsSummaryTool
.
ConditionsTools
+=
[
sct_MonitorConditionsToolSetup
.
g
etTool
().
getFullName
()
]
InDetSCT_ConditionsSummaryTool
.
ConditionsTools
+=
[
InDetSCT_ModuleV
et
o
Tool
]
# @TODO fix this temporary hack to make the configguration of the InDetSCT_ConditionsSummaryTool accessible to TrackingCommon
import
InDetRecExample.TrackingCommon
as
TrackingCommon
...
...
@@ -383,9 +384,9 @@ if DetFlags.haveRIO.SCT_on():
InDetSCT_ConditionsSummaryToolWithoutFlagged
=
sct_ConditionsSummaryToolSetupWithoutFlagged
.
getTool
()
condTools
=
[]
for
condToolHandle
in
InDetSCT_ConditionsSummaryTool
.
ConditionsTools
:
condTool
=
condToolHandle
.
typeAndName
condTool
=
condToolHandle
if
condTool
not
in
condTools
:
if
condTool
!=
InDetSCT_FlaggedConditionTool
.
getFullName
()
:
if
condTool
!=
InDetSCT_FlaggedConditionTool
:
condTools
.
append
(
condTool
)
InDetSCT_ConditionsSummaryToolWithoutFlagged
.
ConditionsTools
=
condTools
...
...
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