Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
08b00e43
Commit
08b00e43
authored
10 years ago
by
Frank Gaede
Browse files
Options
Downloads
Patches
Plain Diff
- replace one Box with a Trap for debugging ( change l.66 to #ifdef 1)
parent
2ce6691f
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
examples/ILDExDet/src/ILDExSIT_geo.cpp
+17
-0
17 additions, 0 deletions
examples/ILDExDet/src/ILDExSIT_geo.cpp
with
17 additions
and
0 deletions
examples/ILDExDet/src/ILDExSIT_geo.cpp
+
17
−
0
View file @
08b00e43
...
...
@@ -61,7 +61,24 @@ static Ref_t create_element(LCDD& lcdd, xml_h e, SensitiveDetector sens) {
Material
sensmat
=
lcdd
.
material
(
x_ladder
.
materialStr
()
);
Volume
laddervol
(
layername
+
"_ladder"
,
ladderbox
,
suppmat
);
#if 0 /// debug: replacing Box with Trap ...
Trap sensbox( zhalf,
0.0,
0.0,
width/2.,
sens_thick/2.,
sens_thick/2.,
0.0,
width/2.,
sens_thick/2.,
sens_thick/2.,
0.0 ) ;
#else
Box
sensbox
(
sens_thick
/
2.
,
width
/
2.
,
zhalf
);
#endif
Volume
sensvol
(
layername
+
"_sens"
,
sensbox
,
sensmat
);
Box
suppbox
(
supp_thick
/
2.
,
width
/
2.
,
zhalf
);
Volume
suppvol
(
layername
+
"_supp"
,
suppbox
,
lcdd
.
material
(
x_support
.
materialStr
()));
...
...
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