Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/advanced/fastAerosol/test.mac is written in an unsupported language. File is not indexed.

0001 # ------------
0002 # random setup
0003 # ------------
0004 /geometry/cloudSeed 1                           # random seed
0005 
0006 # ---------------------------
0007 # geometry setup (unchanging)
0008 # ---------------------------
0009 /geometry/minSpacing 0.01 mm            # minimum spacing between droplets
0010 /geometry/dropletNumDens 0.0002         # droplet number density. Hardcoded units (1/mm3)
0011 
0012 # -------------------------
0013 # geometry setup (changing)
0014 # ------------------------
0015 
0016 # choose only one build type out of the following 3:
0017 #      smooth cloud - model aerosol as a single volume model with background and droplet material in proper mass fraction
0018 #      fastAerosol cloud - model aerosol with the fastAerosol class
0019 #      parameterised cloud - model aerosol with a parameterised solid
0020 
0021 /geometry/smoothCloud false                     # build as a single volume
0022 /geometry/parameterisedCloud false      # build as droplets described by G4VPVParameterisation. Must first generate droplet centers in distribution_r?mm_n?mm-3.csv
0023 /geometry/fastAerosolCloud true         # build as droplets described by fastAerosol and fastAerosolSolid
0024 
0025 /geometry/prePopulate false                     # whether to populate all droplets at the beginning or not for fastAerosol
0026 
0027 /geometry/dropletR 1 mm                         # minimum bounding radius of individual droplets
0028 
0029 /geometry/cloudShape box                        # bulk shape of the aerosol
0030 /geometry/dropletShape sphere           # droplet shape
0031 
0032 
0033 # initialize
0034 # ----------
0035 /run/initialize
0036 
0037 /control/verbose 2
0038 /run/verbose 2
0039 /event/verbose 0
0040 /tracking/verbose 1
0041 
0042 
0043 # gun setup
0044 # ---------
0045 /gun/particle proton
0046 /gun/energy 50 MeV
0047 
0048 
0049 # score
0050 # -----
0051 /score/create/boxMesh detectorMesh
0052 /score/mesh/boxSize 250 250 25 mm
0053 /score/mesh/translate/xyz 0.0 0.0 2625 mm
0054 /score/mesh/nBin 20 20 1
0055 
0056 /score/quantity/energyDeposit eDep
0057 
0058 /score/close
0059 
0060 # shoot
0061 # -----
0062 /run/beamOn 10
0063 
0064 # save
0065 # ----
0066 /score/dumpQuantityToFile detectorMesh eDep eDep_fastAerosol_r1p0mm_n1E-3p7mm-3_bulkbox_dropletsphere.csv