Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ecce
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
ecce
Commits
538f9cec
Commit
538f9cec
authored
3 years ago
by
Sylvester Joosten
Committed by
Wouter Deconinck
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
fix overlaps in disk support plugin
parent
4cfbd061
No related branches found
No related tags found
1 merge request
!5
Draft: Resolve "Reparametrize, cleanup, implement inner central detector"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/SupportServiceMaterial_geo.cpp
+2
-1
2 additions, 1 deletion
src/SupportServiceMaterial_geo.cpp
with
2 additions
and
1 deletion
src/SupportServiceMaterial_geo.cpp
+
2
−
1
View file @
538f9cec
...
@@ -49,8 +49,9 @@ namespace {
...
@@ -49,8 +49,9 @@ namespace {
const
double
thickness
=
getAttrOrDefault
(
x_child
,
_U
(
thickness
),
x_support
.
thickness
());
const
double
thickness
=
getAttrOrDefault
(
x_child
,
_U
(
thickness
),
x_support
.
thickness
());
const
double
rmin
=
getAttrOrDefault
(
x_child
,
_U
(
rmin
),
x_support
.
rmin
());
const
double
rmin
=
getAttrOrDefault
(
x_child
,
_U
(
rmin
),
x_support
.
rmin
());
const
double
rmax
=
getAttrOrDefault
(
x_child
,
_U
(
rmax
),
x_support
.
rmax
());
const
double
rmax
=
getAttrOrDefault
(
x_child
,
_U
(
rmax
),
x_support
.
rmax
());
pos3D
=
pos3D
+
Position
(
0
,
0
,
offset
);
pos3D
=
pos3D
+
Position
(
0
,
0
,
-
x_support
.
thickness
()
/
2
+
thickness
/
2
+
offset
);
solid
=
Tube
(
rmin
,
rmax
,
thickness
/
2
);
solid
=
Tube
(
rmin
,
rmax
,
thickness
/
2
);
std
::
cout
<<
pos3D
<<
std
::
endl
;
}
else
if
(
type
==
"Cone"
)
{
}
else
if
(
type
==
"Cone"
)
{
const
double
thickness
=
getAttrOrDefault
(
x_child
,
_U
(
thickness
),
x_support
.
thickness
());
const
double
thickness
=
getAttrOrDefault
(
x_child
,
_U
(
thickness
),
x_support
.
thickness
());
const
double
length
=
getAttrOrDefault
(
x_child
,
_U
(
length
),
x_support
.
length
());
const
double
length
=
getAttrOrDefault
(
x_child
,
_U
(
length
),
x_support
.
length
());
...
...
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