Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ip6
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIC
detectors
ip6
Commits
f3a9781a
Commit
f3a9781a
authored
3 years ago
by
Wouter Deconinck
Browse files
Options
Downloads
Patches
Plain Diff
Unused variables removed/commented
parent
4bb74aa1
Branches
Branches containing commit
Tags
v1.1.0
1 merge request
!97
Unused variables removed/commented
Pipeline
#30414
failed
3 years ago
Stage: config
Stage: initialize
Stage: test
Stage: docs
Stage: collect
Stage: deploy
Pipeline: athena
#30415
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/B0Tracker_geo.cpp
+0
-2
0 additions, 2 deletions
src/B0Tracker_geo.cpp
src/OffMomentumTracker_geo.cpp
+1
-1
1 addition, 1 deletion
src/OffMomentumTracker_geo.cpp
with
1 addition
and
3 deletions
src/B0Tracker_geo.cpp
+
0
−
2
View file @
f3a9781a
...
...
@@ -97,7 +97,6 @@ static Ref_t create_B0Tracker(Detector& description, xml_h e, SensitiveDetector
}
double
thickness_so_far
=
0.0
;
double
thickness_sum
=
-
total_thickness
/
2.0
;
for
(
ci
.
reset
(),
n_sensor
=
1
,
c_id
=
0
,
posY
=
-
y1
;
ci
;
++
ci
,
++
c_id
)
{
xml_comp_t
c
=
ci
;
double
c_thick
=
c
.
thickness
();
...
...
@@ -147,7 +146,6 @@ static Ref_t create_B0Tracker(Detector& description, xml_h e, SensitiveDetector
volplane_surfaces
[
m_nam
].
push_back
(
surf
);
}
posY
+=
c_thick
;
thickness_sum
+=
c_thick
;
thickness_so_far
+=
c_thick
;
}
modules
[
m_nam
]
=
m_volume
;
...
...
This diff is collapsed.
Click to expand it.
src/OffMomentumTracker_geo.cpp
+
1
−
1
View file @
f3a9781a
...
...
@@ -102,7 +102,7 @@ static Ref_t create_OffMomentumTracker(Detector& description, xml_h e, Sensitive
Volume
m_volume
(
m_nam
,
m_solid
,
vacuum
);
m_volume
.
setVisAttributes
(
description
.
visAttributes
(
x_mod
.
visStr
()));
Solid
frame_s
;
//
Solid frame_s;
if
(
x_mod
.
hasChild
(
"frame"
)){
// todo
// build frame from trd (assumed to be smaller)
...
...
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