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
Merge requests
!70441
Clean up legacy TBCaloGeometry config
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Clean up legacy TBCaloGeometry config
tstreble-24.0-patch-9e48
into
24.0
Overview
2
Commits
1
Pipelines
1
Changes
2
Merged
Thomas Strebler
requested to merge
tstreble-24.0-patch-9e48
into
24.0
1 year ago
Overview
2
Commits
1
Pipelines
1
Changes
2
Expand
0
0
Merge request reports
Compare
24.0
24.0 (base)
and
latest version
latest version
8bf892e3
1 commit,
1 year ago
2 files
+
1
−
66
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
TestBeam/TBCaloGeometry/share/TBCaloGeometry_H8_joboptions.py deleted
100755 → 0
+
0
−
62
Options
if
not
'
TBCALOGEOMETRY_TBCALOGEOMETRY_HAS_BEEN_INCLUDED
'
in
dir
():
TBCALOGEOMETRY_TBCALOGEOMETRY_HAS_BEEN_INCLUDED
=
1
print
"
now executing TBCaloGeometry - for Atlas will do nothing
"
# theApp.Dlls += [ "TBCaloGeometry" ]
ToolSvc
=
Service
(
"
ToolSvc
"
)
from
TBCaloGeometry.TBCaloGeometryConf
import
TBCaloCoordinate
ToolSvc
+=
TBCaloCoordinate
()
# ------------------------------------------------
# TBCaloCoordinate : --> AlgTool Properties
#
# The numbers called calo_xxx correspond to a global shift
# of the calorimeter enveloppe, added on top of the known
# movements... for H8 data only !!!! ( DB Read = 0 belo )
#
# A Transform is : first a rotation around z (phi angle),
# then a rotation around y (theta angle),
# then a rotation around x (psi angle, not used in G4)
# then translation ( 3 coordinates, in mm )
#
# phi shift observed with respect to Pix+SCT, release 11.0.3
ToolSvc
.
TBCaloCoordinate
.
calo_phi_shift
=
-
0.012
# eta observed with respect to Pix+SCT, release 11.0.3
# this number has to be updated because the transformations are
# now applied in a different order.
ToolSvc
.
TBCaloCoordinate
.
calo_theta_shift
=
-
0.025
# not used/needed yet, release 10.0.0
ToolSvc
.
TBCaloCoordinate
.
calo_psi_shift
=
0.
ToolSvc
.
TBCaloCoordinate
.
calo_y_shift
=
0.
ToolSvc
.
TBCaloCoordinate
.
calo_z_shift
=
0.
ToolSvc
.
TBCaloCoordinate
.
calo_x_shift
=
0.
#
# ------------------------------------------------
# These properties define if the CondDB/Pool should be used or
# not to overwrite the default table_eta : 0 = Yes, -1 = No
if
(
globalflags
.
DetGeo
==
'
atlas
'
):
ToolSvc
.
TBCaloCoordinate
.
DBRead
=-
1
ToolSvc
.
TBCaloCoordinate
.
PoolRead
=-
1
else
:
# the tool which knows how to read the table position in DB
class
CondDBCool
:
TILE
=
"
<dbConnection>oracle://ATLAS_COOLPROD;schema=ATLAS_COOLONL_TILE;dbname=TBDP200</dbConnection>
"
# TILE="<dbConnection>COOLONL_TILE/TBDP200</dbConnection>"
# TILE="<dbConnection>impl=cool;techno=logical;schema=COOLONL_TILE;X:TBPROD</dbConnection>"
include
(
"
TBCaloConditions/TBCaloCoolConditions_jobOptions.py
"
)
# the tool which knows how to read the table position in Pool
include
(
"
TBDetDescrAlg/TBDetDescrLoader_jobOptions.py
"
)
if
(
globalflags
.
DataSource
()
==
'
data
'
):
ToolSvc
.
TBCaloCoordinate
.
DBRead
=-
1
ToolSvc
.
TBCaloCoordinate
.
PoolRead
=
0
else
:
ToolSvc
.
TBCaloCoordinate
.
DBRead
=-
1
ToolSvc
.
TBCaloCoordinate
.
PoolRead
=
0
Loading