Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NPDet
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
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIC
NPDet
Commits
1d94130d
Commit
1d94130d
authored
Mar 26, 2020
by
Whitney Armstrong
Browse files
Options
Downloads
Patches
Plain Diff
Fixed XML parsing issue and commented out surface installer
parent
6ad1228a
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/GenericDetectors/trackers/compact/RomanPot_example.xml
+3
-1
3 additions, 1 deletion
src/GenericDetectors/trackers/compact/RomanPot_example.xml
src/GenericDetectors/trackers/src/RomanPot_geo.cpp
+1
-1
1 addition, 1 deletion
src/GenericDetectors/trackers/src/RomanPot_geo.cpp
with
4 additions
and
2 deletions
src/GenericDetectors/trackers/compact/RomanPot_example.xml
+
3
−
1
View file @
1d94130d
...
@@ -77,13 +77,15 @@
...
@@ -77,13 +77,15 @@
</readouts>
</readouts>
<plugins>
<plugins>
<!--
<plugin name="DD4hep_GenericSurfaceInstallerPlugin">
<plugin name="DD4hep_GenericSurfaceInstallerPlugin">
<argument
value=
"
Forward
RomanPot"
/>
<argument value="
My
RomanPot"/>
<argument value="dimension=2"/>
<argument value="dimension=2"/>
<argument value="u_x=-1."/>
<argument value="u_x=-1."/>
<argument value="v_y=-1."/>
<argument value="v_y=-1."/>
<argument value="n_z=1."/>
<argument value="n_z=1."/>
</plugin>
</plugin>
-->
<plugin
name=
"InstallSurfaceManager"
/>
<plugin
name=
"InstallSurfaceManager"
/>
</plugins>
</plugins>
...
...
This diff is collapsed.
Click to expand it.
src/GenericDetectors/trackers/src/RomanPot_geo.cpp
+
1
−
1
View file @
1d94130d
...
@@ -27,7 +27,7 @@ static Ref_t build_detector(Detector& dtor, xml_h e, SensitiveDetector sens) {
...
@@ -27,7 +27,7 @@ static Ref_t build_detector(Detector& dtor, xml_h e, SensitiveDetector sens) {
//FIXME: Element [position] has no child of type 'rotation'
//FIXME: Element [position] has no child of type 'rotation'
xml_dim_t
pos
=
x_det
.
position
();
xml_dim_t
pos
=
x_det
.
position
();
double
zoffset
=
pos
.
z_offset
();
double
zoffset
=
pos
.
z_offset
();
bool
rotated
=
pos
.
rotation
(
);
bool
rotated
=
pos
.
attr
<
bool
>
(
_Unicode
(
rotation
)
);
double
pos_out
=
pos
.
vmax
();
double
pos_out
=
pos
.
vmax
();
double
curr_pos
=
pos
.
v
();
double
curr_pos
=
pos
.
v
();
Material
air
=
dtor
.
air
();
Material
air
=
dtor
.
air
();
...
...
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