diff --git a/run1.mac b/run1.mac index a3ed1a0e9b19240d04895624589fa4e3ee27aa88..e5e896d86e6ca7af4d0e0f507fb373d2f35d226a 100644 --- a/run1.mac +++ b/run1.mac @@ -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 ############################################################## ############################################################## diff --git a/src/DetectorConstruction.cc b/src/DetectorConstruction.cc index d39ef2c8f68f98c0b8d1380ab056e2c3bcc5a97d..89a883181b5a048d0d3624dc14272f319e163752 100644 --- a/src/DetectorConstruction.cc +++ b/src/DetectorConstruction.cc @@ -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 diff --git a/surface.mac b/surface.mac index 40e8c3c9e0c07ac7b61c770a82565907ae738130..ca2238214ceff431799d0c6a234984a81f96d9d6 100644 --- a/surface.mac +++ b/surface.mac @@ -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 #