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
3cafd031
Commit
3cafd031
authored
10 years ago
by
Frank Gaede
Browse files
Options
Downloads
Patches
Plain Diff
fixed _Unicode to not have quotation marks
parent
4c640b9b
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/SimpleDetector/src/ZPlanarTracker_geo.cpp
+2
-2
2 additions, 2 deletions
examples/SimpleDetector/src/ZPlanarTracker_geo.cpp
with
2 additions
and
2 deletions
examples/SimpleDetector/src/ZPlanarTracker_geo.cpp
+
2
−
2
View file @
3cafd031
...
...
@@ -42,7 +42,7 @@ static Ref_t create_element(LCDD& lcdd, xml_h e, SensitiveDetector sens) {
bool
isStripDetector
=
false
;
try
{
isStripDetector
=
x_det
.
attr
<
bool
>
(
_Unicode
(
"
isStripDetector
"
)
)
;
isStripDetector
=
x_det
.
attr
<
bool
>
(
_Unicode
(
isStripDetector
)
)
;
}
catch
(
std
::
runtime_error
){}
...
...
@@ -57,7 +57,7 @@ static Ref_t create_element(LCDD& lcdd, xml_h e, SensitiveDetector sens) {
xml_comp_t
x_ladder
(
x_layer
.
child
(
_U
(
ladder
)
));
int
layer_id
=
x_layer
.
id
();
int
nLadders
=
x_layer
.
attr
<
double
>
(
_Unicode
(
"
nLadders
"
)
)
;
int
nLadders
=
x_layer
.
attr
<
double
>
(
_Unicode
(
nLadders
)
)
;
double
dphi
=
2.
*
M_PI
/
double
(
nLadders
);
...
...
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