Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VeikonKone
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
AUSA
Oliskir
VeikonKone
Commits
5d6982b2
Commit
5d6982b2
authored
7 years ago
by
Oliver Kirsebom
Browse files
Options
Downloads
Patches
Plain Diff
separate definition of surface optical properties of 6um mylar window
parent
088522a5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
electron.mac
+2
-2
2 additions, 2 deletions
electron.mac
src/VKBetaDetector.cpp
+15
-1
15 additions, 1 deletion
src/VKBetaDetector.cpp
with
17 additions
and
3 deletions
electron.mac
+
2
−
2
View file @
5d6982b2
...
...
@@ -20,7 +20,7 @@
/gps/energy 1682.232 keV
# magnetic field
/VK/field/maxbfield 0.1
2
5 tesla
/VK/field/maxbfield 0.1
5
5 tesla
/VK/output/openFile output/electron1
2
5.root
/VK/output/openFile output/electron15
5_mylarR90
.root
/run/beamOn 1000
This diff is collapsed.
Click to expand it.
src/VKBetaDetector.cpp
+
15
−
1
View file @
5d6982b2
...
...
@@ -338,13 +338,27 @@ void VKBetaDetector::SurfaceProperties()
new
G4OpticalSurface
(
"photocathOptSurf"
,
glisur
,
polished
,
dielectric_metal
);
photocathOptSurf
->
SetMaterialPropertiesTable
(
photocath_mpt
);
//
// 6um Mylar window (same properties as Reflective coating)
//
G4double
mylarRefl
[]
=
{
fRefl
,
fRefl
};
G4double
mylarEff
[]
=
{
0.0
,
0.0
};
G4MaterialPropertiesTable
*
mylarWindow_mpt
=
new
G4MaterialPropertiesTable
();
mylarWindow_mpt
->
AddProperty
(
"REFLECTIVITY"
,
ephoton
,
mylarRefl
,
num
);
mylarWindow_mpt
->
AddProperty
(
"EFFICIENCY"
,
ephoton
,
mylarEff
,
num
);
// Create optical surface
G4OpticalSurface
*
mylarWindowOptSurf
=
new
G4OpticalSurface
(
"mylarWindowOptSurf"
,
unified
,
polished
,
dielectric_metal
);
mylarWindowOptSurf
->
SetMaterialPropertiesTable
(
mylarWindow_mpt
);
//
// Create logical skin surfaces
//
// *** NB: Mylar window gets same properties as reflective coating
//
new
G4LogicalSkinSurface
(
"coating_surf"
,
fCoating_log
,
reflCoatOptSurf
);
new
G4LogicalSkinSurface
(
"window_surf"
,
fWindow_log
,
reflCoat
OptSurf
);
new
G4LogicalSkinSurface
(
"window_surf"
,
fWindow_log
,
mylarWindow
OptSurf
);
new
G4LogicalSkinSurface
(
"photocathode_surf"
,
fPhotocathode_log
,
photocathOptSurf
);
}
...
...
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