Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
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
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
EIC
detectors
athena
Merge requests
!36
Fix ecal support on outside surface
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix ecal support on outside surface
13-emcal-support
into
master
Overview
0
Commits
19
Pipelines
0
Changes
1
Merged
Whitney Armstrong
requested to merge
13-emcal-support
into
master
3 years ago
Overview
0
Commits
19
Pipelines
0
Changes
1
Expand
modified: src/BarrelCalorimeter_geo.cpp
Closes
#13 (closed)
0
0
Merge request reports
Viewing commit
3c3f7719
Prev
Next
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
3c3f7719
modified: src/BarrelCalorimeter_geo.cpp
· 3c3f7719
Whitney Armstrong
authored
3 years ago
src/BarrelCalorimeter_geo.cpp
+
1
−
1
Options
@@ -56,7 +56,7 @@ static Ref_t create_detector(Detector& description, xml_h e, SensitiveDetector s
double
dx
=
0.0
;
//mod_z / std::sin(dphi); // dx per layer
// Compute the top and bottom face measurements.
double
trd_x2
=
(
2
*
std
::
tan
(
hphi
)
*
outer_r
-
dx
-
support_thickness
)
/
2
-
tolerance
;
double
trd_x2
=
(
2
*
std
::
tan
(
hphi
)
*
outer_r
-
dx
)
/
2
-
tolerance
;
double
trd_x1
=
(
2
*
std
::
tan
(
hphi
)
*
inner_r
+
dx
)
/
2
-
tolerance
;
double
trd_y1
=
x_dim
.
z
()
/
2
-
tolerance
;
double
trd_y2
=
trd_y1
;
Loading