diff --git a/beam.mac b/beam.mac index 638b8d57d450ec96da73d82837730f8b4fb317e9..dfe1ba063c3ee774013af747299311d3a754bf60 100644 --- a/beam.mac +++ b/beam.mac @@ -9,17 +9,17 @@ #----- Set the beam geometry ----- # Circular beam source. Simulates a single fiber optic -/gps/pos/type Beam -/gps/pos/shape Circle +#/gps/pos/type Beam +#/gps/pos/shape Circle #/gps/pos/radius 0.75 mm -/gps/pos/radius 102 mm +#/gps/pos/radius 102 mm #/gps/pos/sigma_r 0.002 mm # Rectangular plane for infinite resolution -#/gps/pos/type Plane -#/gps/pos/shape Rectangle -#/gps/pos/halfx 40 mm -#/gps/pos/halfy 68 mm +/gps/pos/type Plane +/gps/pos/shape Rectangle +/gps/pos/halfx 40 mm +/gps/pos/halfy 68 mm # the incident surface is in the x-z plane just below the gas /gps/pos/rot1 1 0 0 diff --git a/geometry.mac b/geometry.mac index 64a63da37d0d34a34ba680ee021f86c08c51d6a7..8a6b9ceee828f2af110b9edd535aa8f49991f684 100644 --- a/geometry.mac +++ b/geometry.mac @@ -2,8 +2,9 @@ /lightGuide/worldVolume 0.25 0.25 0.25 m /lightGuide/envelope 89.75 113. 165. mm -#/lightGuide/model/nSegmentsX 1 -#/lightGuide/model/nSegmentsZ 1 +/lightGuide/model/PMTDiameter 53 mm +/lightGuide/model/nSegmentsX 2 +/lightGuide/model/nSegmentsZ 2 @@ -53,9 +54,9 @@ #----- Set surface properties of the light guide ----- -/lightGuide/surface/Model unified -/lightGuide/surface/Type dielectric_metal -/lightGuide/surface/Finish ground +#/lightGuide/surface/Model unified +#/lightGuide/surface/Type dielectric_metal +#/lightGuide/surface/Finish ground #/lightGuide/surface/SigmaAlpha .1 #/lightGuide/surface/Property SPECULARLOBECONSTANT 0.000002 .4 0.000008 .4 #/lightGuide/surface/Property SPECULARSPIKECONSTANT 0.000002 .1 0.000008 .1 diff --git a/run1.mac b/run1.mac index 0df87e19d7662dd11018e38d24ebd2a5c4ea6efb..9e22f98604ac7313064f6b2a501624b25ae90821 100644 --- a/run1.mac +++ b/run1.mac @@ -23,14 +23,14 @@ ############################################################## #Uncomment to generate events from ASCII file, set the file path here. #make sure /run/beamOn is commented out below -/Input/FileName Out_target1.txt +#/Input/FileName Out_target1.txt #Uncomment to use gps style of setting the beam profile -#/control/execute beam.mac +/control/execute beam.mac #set number of photons per event -#/gps/number 10 +/gps/number 100 # number of events -#/run/beamOn 1 +/run/beamOn 1 ############################################################## ##############################################################