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
24364aed
Commit
24364aed
authored
9 years ago
by
Nikiforos Nikiforou
Browse files
Options
Downloads
Patches
Plain Diff
Added possibility to add det flags to DD4hep_SubdetectorAssembly
parent
8fa1bfa9
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
DDDetectors/src/SubdetectorAssembly_geo.cpp
+2
-0
2 additions, 0 deletions
DDDetectors/src/SubdetectorAssembly_geo.cpp
with
2 additions
and
0 deletions
DDDetectors/src/SubdetectorAssembly_geo.cpp
+
2
−
0
View file @
24364aed
...
@@ -35,6 +35,8 @@ static Ref_t create_element(LCDD& lcdd, xml_h e, Ref_t) {
...
@@ -35,6 +35,8 @@ static Ref_t create_element(LCDD& lcdd, xml_h e, Ref_t) {
RotationZYX
rot
;
RotationZYX
rot
;
sdet
.
setType
(
"compound"
);
sdet
.
setType
(
"compound"
);
XML
::
setDetectorTypeFlag
(
e
,
sdet
)
;
if
(
usePos
)
{
if
(
usePos
)
{
pos
=
Position
(
x_det
.
position
().
x
(),
x_det
.
position
().
y
(),
x_det
.
position
().
z
());
pos
=
Position
(
x_det
.
position
().
x
(),
x_det
.
position
().
y
(),
x_det
.
position
().
z
());
}
}
...
...
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