Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/extended/exoticphysics/channeling/ch5/macros/run.mac is written in an unsupported language. File is not indexed.

0001 #/run/numberOfThreads 10
0002 
0003 #/random/setSeeds 19577793 424238335        #uncomment this to have reproducibility
0004 
0005 #Positron Source type
0006 #/det/isHybridSource false                  #defualt true
0007 
0008 #Radiator Crystal settings
0009 /crystal/setCrystalMaterial W               #All materials with channeling data can be used.
0010                                             #Up to now we have: W, C(diamond), Ge and Si
0011 /crystal/setCrystalSize 20 20 2 mm
0012 /crystal/setCrystalLattice <111>            #planes (e.g. (111)) or axes (e.g. <111>)
0013 /crystal/setCrystalAngleX 0.e-6             #rad (default 0.)
0014 /crystal/setCrystalAngleY 0.e-6             #rad (default 0.)
0015 #/crystal/setOCeffects false                #Deactivate Orientetional Coherent (OC) effects
0016                                             #in crystals through G4ChannelingFastSimModel
0017 
0018 #Converter/Target t (amorphous) settings
0019 /det/setConverterMaterial W                 #PWO, BGO, W (default), Ir
0020 /det/setRadiatorConverterSepDistance 50 cm
0021 /det/setConverterSize 100 100 8 mm
0022 #/det/setGranularConverter true              #default is false
0023 #/det/setSphereRadius 1.1 mm                 #radius of the spheres in a granular target
0024 
0025 #other geometry settings
0026 #/det/setMagneticField true                  #default is false
0027 #/det/setMagneticFieldValue 5 tesla
0028 #/det/setMagneticFieldRegionLength 20 cm
0029 
0030 #/det/setCollimator true                     #default is false
0031 #/det/setCollimatorAperture 5.5 mm
0032 #/det/setCollimatorHole circular             #default is squared
0033 #/det/setCollimatorThickness 50 cm
0034 #/det/setCollimatorSide 2.5 m
0035 #/det/setRadiatorCollimatorSepDistance 5 cm
0036 
0037 #/crystal/setVirtualDetectorSize 40 40 0.001 cm
0038 
0039 #further settings
0040 #/det/setScoringCrystalExit true             #score all particles exiting the radiator crystal
0041 
0042 /run/initialize
0043 
0044 /control/verbose 0
0045 /run/verbose 1                              #to see the Couples CutsVsRegion
0046 /tracking/verbose 0
0047 
0048 /run/setfilenamesave output/output_6GeV_W2.0mm_conv8.0mm_D50cm.root
0049 
0050 #/gun/UseGPS true                            #default false.
0051 #/control/execute macros/beam.mac            #it works if UseGPS is true
0052 /control/execute macros/setPrimaryBeam.mac  #new custom ParticleGun commands  
0053 
0054 /score/create/boxMesh boxMesh1                
0055 /score/mesh/boxSize 50 50 4.0 mm            #semi-quantities
0056 /score/mesh/nBin 401 401 33                
0057 /score/mesh/translate/xyz 0 0 504.03 mm     #CHECK ALWAYS!
0058 /score/quantity/energyDeposit Edep          #[MeV]       
0059 /score/close
0060 /score/list
0061 
0062 /score/create/boxMesh boxMesh2                
0063 /score/mesh/boxSize 10 10 1.0 mm            #semi-quantities
0064 /score/mesh/nBin 81 81 9                
0065 /score/mesh/translate/xyz 0 0 -1.0 mm
0066 /score/quantity/energyDeposit Edep          #[MeV]        
0067 /score/close
0068 /score/list                
0069 
0070 #statistics
0071 /run/printProgress 10
0072 /run/beamOn 10
0073 
0074 /score/dumpQuantityToFile boxMesh1 Edep output/Edep_6GeV_W2.0mm_conv8.0mm_D50cm.txt
0075 /score/dumpQuantityToFile boxMesh2 Edep output/Edep_6GeV_W2.0mm_conv8.0mm_D50cm_rad.txt
0076