Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
topside
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
EIC
detectors
topside
Merge requests
!54
Hack to define ACTS pos/neg endcaps
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Hack to define ACTS pos/neg endcaps
subdet
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Whitney Armstrong
requested to merge
subdet
into
master
4 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
modified: src/SiTrackerEndcap_geo.cpp
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
9bb1faff
1 commit,
4 years ago
1 file
+
6
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/SiTrackerEndcap_geo.cpp
+
6
−
1
Options
@@ -193,7 +193,12 @@ static Ref_t create_detector(Detector& description, xml_h e, SensitiveDetector s
++
ring_num
;
}
}
pv
=
motherVol
.
placeVolume
(
assembly
);
// hack to get around the way ACTS defines pos/neg endcaps based on zposition
Position
final_pos
(
0
,
0
,
0
);
if
(
reflect
)
{
final_pos
=
Position
(
0
,
0
,
-
1.0e-9
);
}
pv
=
motherVol
.
placeVolume
(
assembly
,
final_pos
);
pv
.
addPhysVolID
(
"system"
,
det_id
);
sdet
.
setPlacement
(
pv
);
return
sdet
;
Loading