Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
athena
Manage
Activity
Members
Labels
Plan
Issues
38
Issue boards
Milestones
Wiki
Code
Merge requests
34
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
Commits
4a548906
Commit
4a548906
authored
3 years ago
by
Chao Peng
Browse files
Options
Downloads
Patches
Plain Diff
change H beam to T beam
parent
b462d6af
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!301
Change H beam to T beam for Ecal Barrel Support
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/BarrelCalorimeterInterlayers_geo.cpp
+6
-4
6 additions, 4 deletions
src/BarrelCalorimeterInterlayers_geo.cpp
with
6 additions
and
4 deletions
src/BarrelCalorimeterInterlayers_geo.cpp
+
6
−
4
View file @
4a548906
...
...
@@ -284,11 +284,13 @@ void buildSupport(Detector& desc, Volume &mod_vol, xml_comp_t x_support,
double
beam_pos_z
=
-
beam_thickness
/
2.
;
double
beam_center_z
=
support_thickness
/
2.
+
beam_pos_z
;
Box
beam_vert_s
(
beam_thickness
/
2.
,
trd_y
,
cross_thickness
/
2.
);
// Box beam_vert_s(beam_thickness / 2., trd_y, cross_thickness / 2.);
Box
beam_vert_s
(
beam_thickness
/
2.
,
trd_y
,
beam_space_z
/
2.
);
Box
beam_hori_s
(
beam_width
/
2.
,
trd_y
,
beam_thickness
/
2.
);
UnionSolid
T_beam_s
(
beam_hori_s
,
beam_vert_s
,
Position
(
0.
,
0.
,
beam_space_z
/
2.
));
UnionSolid
H_beam_s
(
T_beam_s
,
beam_hori_s
,
Position
(
0.
,
0.
,
support_thickness
-
beam_thickness
));
Volume
H_beam_vol
(
"H_beam"
,
H_beam_s
,
desc
.
material
(
x_support
.
materialStr
()));
// UnionSolid T_beam_s(beam_hori_s, beam_vert_s, Position(0., 0., beam_space_z / 2.));
// UnionSolid H_beam_s(T_beam_s, beam_hori_s, Position(0., 0., support_thickness - beam_thickness));
UnionSolid
T_beam_s
(
beam_hori_s
,
beam_vert_s
,
Position
(
0.
,
0.
,
support_thickness
/
2.
));
Volume
H_beam_vol
(
"H_beam"
,
T_beam_s
,
desc
.
material
(
x_support
.
materialStr
()));
H_beam_vol
.
setVisAttributes
(
desc
,
x_support
.
visStr
());
// place H beams first
double
beam_start_x
=
-
(
n_beams
-
1
)
*
(
beam_width
+
beam_gap
)
/
2.
;
...
...
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