#/** #* Example Macro for changing PMT settings in SNO+ #* #* pmt_options.mac #* Date: 09/12/2008 #* contact: J. Wilson, Oxford #*/ # # Updated by P G Jones 28/03/2011 # Select the snoplus geometry file (should be default) /rat/db/set DETECTOR geo_file "geo/snoplus.geo" # These are the possible PMT options (make all changes before initialisation): # Also note the OWL PMTs are in the outerPMT volume. # Turn the whole innerPMT volume on (off 0): /rat/db/set GEO[innerPMT] enable 1 # Set simple visualisation (just show envelopes) /rat/db/set GEO[innerPMT] vis_simple 1 # Set no visualisation /rat/db/set GEO[innerPMT] vis_invisible 1 /rat/db/set GEO[innerPMT] pmt_build_type [1] // NORMAL # Change the PMT-type (options r5912, r5912-02-MOD, s1408, r7081, r1408) Latter is SNO PMT /rat/db/set GEO[innerPMT] pmt_type ["r1408"] /rat/db/set GEO[innerPMT] add_concentrator [1] # Change the concentrator type (options cRAT, cSNOMAN) /rat/db/set GEO[innerPMT] concentrator_type ["cRAT"] /rat/db/set GEO[innerPMT] add_bucket [1] # Change the bucket type (options bRAT, bSNOMAN) /rat/db/set GEO[innerPMT] bucket_type ["bRAT"] /rat/db/set GEO[innerPMT] add_pmtbase [1] # Change the pmt base type (r1408) /rat/db/set GEO[innerPMT] pmtbase_type ["r1408"] /rat/db/set GEO[innerPMT] grey_disc [0] # Choose the grey disc model params /rat/db/set GEO[innerPMT] grey_disc_model_params ["DiscOptics0_0"] /run/initialize