Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
calypso
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Savannah Rose Shively
calypso
Commits
1eb52d1e
Commit
1eb52d1e
authored
2 years ago
by
FASER Reco
Browse files
Options
Downloads
Patches
Plain Diff
Read data alignment from CONDBR3
parent
fc93c154
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Tracker/TrackerDetDescr/FaserSCT_GeoModel/python/FaserSCT_GeoModelConfig.py
+7
-4
7 additions, 4 deletions
...Descr/FaserSCT_GeoModel/python/FaserSCT_GeoModelConfig.py
with
7 additions
and
4 deletions
Tracker/TrackerDetDescr/FaserSCT_GeoModel/python/FaserSCT_GeoModelConfig.py
+
7
−
4
View file @
1eb52d1e
...
...
@@ -2,7 +2,7 @@
from
AthenaConfiguration.ComponentFactory
import
CompFactory
from
AthenaConfiguration.Enums
import
ProductionStep
from
IOVDbSvc.IOVDbSvcConfig
import
addFolders
,
addFoldersSplitOnline
from
IOVDbSvc.IOVDbSvcConfig
import
addFolders
#
, addFoldersSplitOnline
def
FaserSCT_GeometryCfg
(
flags
):
from
FaserGeoModel.GeoModelConfig
import
GeoModelCfg
...
...
@@ -27,17 +27,20 @@ def FaserSCT_GeometryCfg( flags ):
if
flags
.
GeoModel
.
Align
.
Disable
:
return
acc
# Don't specify db= in addFolders calls below
# dbname set globally to OFLP200 for MC and CONDBR3 for data
# Now have proper data and MC DBs for the alignment
if
flags
.
GeoModel
.
Align
.
Dynamic
:
# acc.merge(addFoldersSplitOnline(flags,"INDET","/Indet/Onl/AlignL1/ID","/Indet/AlignL1/ID",className="CondAttrListCollection"))
# acc.merge(addFoldersSplitOnline(flags,"INDET","/Indet/Onl/AlignL2/SCT","/Indet/AlignL2/SCT",className="CondAttrListCollection"))
# acc.merge(addFoldersSplitOnline(flags,"INDET","/Indet/Onl/AlignL3","/Indet/AlignL3",className="AlignableTransformContainer"))
print
(
"
FaserSCT dynamic align flag is not supported!
"
)
else
:
print
(
"
Override Alignment dbname to OFLP200, fix this when alignment available in CONDBR3
"
)
if
flags
.
Common
.
Project
!=
"
AthSimulation
"
and
(
flags
.
Common
.
ProductionStep
!=
ProductionStep
.
Simulation
or
flags
.
Overlay
.
DataOverlay
):
acc
.
merge
(
addFolders
(
flags
,
"
/Tracker/Align
"
,
"
SCT_OFL
"
,
className
=
"
AlignableTransformContainer
"
,
db
=
"
OFLP200
"
))
acc
.
merge
(
addFolders
(
flags
,
"
/Tracker/Align
"
,
"
SCT_OFL
"
,
className
=
"
AlignableTransformContainer
"
))
else
:
acc
.
merge
(
addFolders
(
flags
,
"
/Tracker/Align
"
,
"
SCT_OFL
"
,
db
=
"
OFLP200
"
))
acc
.
merge
(
addFolders
(
flags
,
"
/Tracker/Align
"
,
"
SCT_OFL
"
))
if
flags
.
Common
.
Project
!=
"
AthSimulation
"
:
# Protection for AthSimulation builds
if
flags
.
Common
.
ProductionStep
!=
ProductionStep
.
Simulation
or
flags
.
Overlay
.
DataOverlay
:
FaserSCT_AlignCondAlg
=
CompFactory
.
FaserSCT_AlignCondAlg
...
...
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