Skip to content
Snippets Groups Projects
Commit a2867698 authored by clantz's avatar clantz
Browse files

Got tunable surfaces working

parent d9f0accf
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,16 @@
/gps/particle opticalphoton
#Set reflective surface properties
/lightGuide/surfaceModel unified
/lightGuide/surfaceType dielectric_metal
/lightGuide/surfaceFinish ground
/lightGuide/surfaceSigmaAlpha .01
/lightGuide/surfaceProperty SPECULARLOBECONSTANT 0.000002 1.0 0.000008 1.0
/lightGuide/surfaceProperty SPECULARSPIKECONSTANT 0.000002 0.99 0.000008 0.99
/lightGuide/surfaceProperty BACKSCATTERCONSTANT 0.000002 .05 0.000008 .05
/lightGuide/surfaceProperty REFLECTIVITY 0.000002 .99 0.000008 .99
# the beam energy is in gaussian profile
/gps/ene/type Gauss
/gps/ene/mono 3.4 eV
......@@ -59,6 +69,6 @@
##############################################################
##############################################################
# number of events
/run/beamOn 10000000
/run/beamOn 5000000
##############################################################
##############################################################
......@@ -177,7 +177,11 @@ G4VPhysicalVolume* DetectorConstruction::Construct(){
m_physWorld,
cad_physical,
materials->AlSurface );
(void)alumLSS;
G4LogicalBorderSurface* alumLSS1 =
new G4LogicalBorderSurface("AlSurface",
cad_physical,
m_physWorld,
materials->AlSurface );
}else{
//Create a trapezoidal air light guide made of aluminum sheet
......@@ -239,8 +243,6 @@ G4VPhysicalVolume* DetectorConstruction::Construct(){
m_physWorld,
physLightGuide,
materials->AlSurface );
(void)alumLSS1;
(void)alumLSS2;
}//end else
......
......@@ -21,7 +21,7 @@
/gun/particle opticalphoton
/gun/energy 3 eV
/gun/position 0 0 0 cm
/gun/direction 1 0 0
/gun/direction 1 0 0
/opnovice2/gun/optPhotonPolar
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment