Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
G4Alfo
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alfonso Pisapia
G4Alfo
Commits
2a4681fb
Commit
2a4681fb
authored
6 months ago
by
Alfonso
Browse files
Options
Downloads
Patches
Plain Diff
lower optCoupler
parent
f7be5d81
Branches
main
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/DetectorConstruction.hh
+2
-1
2 additions, 1 deletion
include/DetectorConstruction.hh
src/DetectorConstruction.cc
+21
-9
21 additions, 9 deletions
src/DetectorConstruction.cc
xgis_M7
+0
-0
0 additions, 0 deletions
xgis_M7
with
23 additions
and
10 deletions
include/DetectorConstruction.hh
+
2
−
1
View file @
2a4681fb
...
...
@@ -203,7 +203,8 @@ class DetectorConstruction : public G4VUserDetectorConstruction
G4VPhysicalVolume
*
scint_phys
;
G4VPhysicalVolume
*
sddUpper_phys
;
G4VPhysicalVolume
*
sddLower_phys
;
G4VPhysicalVolume
*
optCoupler_phys
;
G4VPhysicalVolume
*
optCouplerUpper_phys
;
G4VPhysicalVolume
*
optCouplerLower_phys
;
G4VPhysicalVolume
*
coll_sideXp_phys
;
G4VPhysicalVolume
*
coll_sideXm_phys
;
G4VPhysicalVolume
*
coll_sideYp_phys
;
...
...
This diff is collapsed.
Click to expand it.
src/DetectorConstruction.cc
+
21
−
9
View file @
2a4681fb
...
...
@@ -78,7 +78,8 @@ DetectorConstruction::DetectorConstruction()
scint_phys
(
0
),
sddUpper_phys
(
0
),
sddLower_phys
(
0
),
optCoupler_phys
(
0
),
optCouplerUpper_phys
(
0
),
optCouplerLower_phys
(
0
),
polyprop_phys
(
0
),
coll_sideXp_phys
(
0
),
coll_sideXm_phys
(
0
),
...
...
@@ -556,7 +557,7 @@ G4VPhysicalVolume* DetectorConstruction::Construct()
G4double
sddLower_x
=
0
;
G4double
sddLower_y
=
0
;
G4double
sddLower_z
=
-
scint_z
-
sdd_thick
/
2.
;
G4double
sddLower_z
=
-
scint_z
-
optCoupler_thick
-
sdd_thick
/
2.
;
sddLower_phys
=
new
G4PVPlacement
(
0
,
G4ThreeVector
(
sddLower_x
,
sddLower_y
,
sddLower_z
),
sddLower_log
,
...
...
@@ -574,13 +575,24 @@ G4VPhysicalVolume* DetectorConstruction::Construct()
optCoupler_log
=
new
G4LogicalVolume
(
optCoupler_box
,
optCouplerMaterial
,
"optCoupler_log"
,
0
,
0
,
0
);
// Physical
G4double
optCoupler_x
=
0
;
G4double
optCoupler_y
=
0
;
G4double
optCoupler_z
=
optCoupler_thick
/
2.
;
optCoupler_phys
=
new
G4PVPlacement
(
0
,
G4ThreeVector
(
optCoupler_x
,
optCoupler_y
,
optCoupler_z
),
G4double
optCoupler
Upper
_x
=
0
;
G4double
optCoupler
Upper
_y
=
0
;
G4double
optCoupler
Upper
_z
=
optCoupler_thick
/
2.
;
optCoupler
Upper
_phys
=
new
G4PVPlacement
(
0
,
G4ThreeVector
(
optCoupler
Upper
_x
,
optCoupler
Upper
_y
,
optCoupler
Upper
_z
),
optCoupler_log
,
"optCoupler_phys"
,
"optCouplerUpper_phys"
,
experimentalHall_log
,
false
,
0
);
G4double
optCouplerLower_x
=
0
;
G4double
optCouplerLower_y
=
0
;
G4double
optCouplerLower_z
=
-
scint_z
-
optCoupler_thick
/
2.
;
optCouplerUpper_phys
=
new
G4PVPlacement
(
0
,
G4ThreeVector
(
optCouplerLower_x
,
optCouplerLower_y
,
optCouplerLower_z
),
optCoupler_log
,
"optCouplerLower_phys"
,
experimentalHall_log
,
false
,
0
);
...
...
This diff is collapsed.
Click to expand it.
xgis_M7
+
0
−
0
View file @
2a4681fb
No preview for this file type
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