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
3deff377
Commit
3deff377
authored
Apr 2, 2020
by
Chao Peng
Browse files
Options
Downloads
Patches
Plain Diff
minor adjustment
parent
36af636c
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/ConceptDetectors/SoLID/src/EMCalorimeterSOLID_geo.cpp
+7
-8
7 additions, 8 deletions
src/ConceptDetectors/SoLID/src/EMCalorimeterSOLID_geo.cpp
with
7 additions
and
8 deletions
src/ConceptDetectors/SoLID/src/EMCalorimeterSOLID_geo.cpp
+
7
−
8
View file @
3deff377
...
...
@@ -76,6 +76,7 @@ static Ref_t createDetector(Detector& desc, xml::Handle_t handle, SensitiveDetec
Material
air
=
desc
.
air
();
int
det_id
=
x_det
.
id
();
string
det_name
=
x_det
.
nameStr
();
xml_comp_t
x_dim
=
x_det
.
dimensions
();
double
rmin
=
x_dim
.
rmin
();
double
rmax
=
x_dim
.
rmax
();
...
...
@@ -117,7 +118,6 @@ static Ref_t createDetector(Detector& desc, xml::Handle_t handle, SensitiveDetec
PolyhedraRegular
l_hex
(
6
,
0.
,
rmod
,
l_thickness
);
Volume
l_vol
(
l_name
,
l_hex
,
air
);
DetElement
layer_DE
(
mod_DE
,
l_name
,
det_id
);
l_vol
.
setVisAttributes
(
desc
.
invisible
());
// Loop over the sublayers or slices for this layer.
int
s_num
=
1
;
...
...
@@ -182,7 +182,6 @@ static Ref_t createDetector(Detector& desc, xml::Handle_t handle, SensitiveDetec
auto
amod
=
(
nmod
==
0
?
mod_DE
:
mod_DE
.
clone
(
"module"
+
std
::
to_string
(
nmod
+
1
),
nmod
+
1
));
amod
.
setPlacement
(
pv
);
sdet
.
add
(
amod
);
nmod
++
;
}
...
...
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