Warning, /geant4/examples/extended/exoticphysics/channeling/ch2/run.mac is written in an unsupported language. File is not indexed.
0001 /random/setSeeds 19577794 424238336
0002 #setting number of cores
0003 /run/numberOfThreads 2
0004
0005 #crystal geometry
0006 #change it as you want
0007 /crystal/setCrystalSize 20. 20. 0.0305 mm
0008 /crystal/setCrystalBendingAngle 0.905 mrad #default is 0
0009 /crystal/setCrystalAngleX 0 mrad #default is 0
0010 /crystal/setCrystalAngleY 0 mrad #default is 0
0011
0012 #crystal undulator parameters
0013 #CAUTION: incompatible with bent crystal
0014 #CAUTION: needs small detector size (1/gamma) and high photon statistics to observe the effect
0015 #(see also comments in ConstructSDandField in DetectorConstruction)
0016 #use if necessary:
0017 #/crystal/setCrystallineUndulatorAmplitude 1 nm
0018 #/crystal/setCrystallineUndulatorPeriod 100 um
0019 #/crystal/setCrystallineUndulatorPhase 0.
0020
0021 #crystal lattice parameters
0022 #change it according to the data available in G4CHANNELINGDATA
0023 /crystal/setCrystalMaterial G4_Si # check G4CHANNELINGDATA dataset
0024 /crystal/setCrystalLattice (111) # check G4CHANNELINGDATA dataset
0025
0026 #detector parameters
0027 #change it as you want
0028 /crystal/setDetectorSize 10 10 0.03 cm
0029 /crystal/setFrontPositionZ 5973 mm
0030
0031 #G4ChannelingFastSimModel parameters
0032 #change it as you want
0033 /crystal/setChannelingModel true #switch on/off G4ChannelingFastSimModel
0034 /crystal/setRadiationModel true #switch on/off G4BaierKatkov
0035 #(G4ChannelingFastSimModel must be switched on)
0036 #the pass to channeling data if different from the default:
0037 #/crystal/setChannelingDataPath your_path
0038
0039 #the following can be changed or commented:
0040 #the low energy threshold for particle to enter the G4ChannelingFastSimModel:
0041 /crystal/setParticleMinKinEnergy 200 MeV # default value for all charged particles
0042 #the same for specific particles (has priority vs default)
0043 /crystal/setParticleMinKinEnergy/proton 200 MeV
0044 /crystal/setParticleMinKinEnergy/anti_proton 200 MeV
0045 /crystal/setParticleMinKinEnergy/pi+ 200 MeV
0046 /crystal/setParticleMinKinEnergy/pi- 200 MeV
0047 /crystal/setParticleMinKinEnergy/e+ 200 MeV
0048 /crystal/setParticleMinKinEnergy/e- 200 MeV
0049 /crystal/setParticleMinKinEnergy/mu+ 200 MeV
0050 /crystal/setParticleMinKinEnergy/mu- 200 MeV
0051
0052 #the following can be changed or commented:
0053 #high angular threshold for particle to enter the G4ChannelingFastSimModel expressed in Lindhard angles:
0054 /crystal/setLindhardAngles 100. # default value for all charged particles
0055 #the same for specific particles (has priority vs default)
0056 /crystal/setLindhardAngles/proton 100.
0057 /crystal/setLindhardAngles/anti_proton 100.
0058 /crystal/setLindhardAngles/pi+ 100.
0059 /crystal/setLindhardAngles/pi- 100.
0060 /crystal/setLindhardAngles/e+ 100.
0061 /crystal/setLindhardAngles/e- 100.
0062 /crystal/setLindhardAngles/mu+ 100.
0063 /crystal/setLindhardAngles/mu- 100.
0064
0065 #the following can be changed or commented:
0066 #G4BaierKatkov parameters
0067 #(see also comments in ConstructSDandField in DetectorConstruction):
0068 /crystal/setMinPhotonEnergy 1 MeV # G4BaierKatkov default
0069 /crystal/setSamplingPhotonsNumber 150 # G4BaierKatkov default
0070 /crystal/setNSmallTrajectorySteps 10000 # G4BaierKatkov default
0071 /crystal/setRadiationAngleFactor 4. # G4BaierKatkov default
0072
0073 #add statistics of sampling photons in G4BaierKatkov in specific energy range
0074 #use if necessary (usually in the crystalline undulator case):
0075 #CAUTION: this energy range must not be below minimum photon energy
0076 #(see also comments in ConstructSDandField in DetectorConstruction)
0077 #/crystal/AddPhotonStatistics/setMinPhotonEnergy 1 MeV
0078 #/crystal/AddPhotonStatistics/setMaxPhotonEnergy 20 MeV
0079 #/crystal/AddPhotonStatistics/setMultiplePhotonStatistics 10
0080
0081 /run/initialize
0082
0083 #settings
0084 /control/verbose 0
0085 /run/verbose 0
0086 /tracking/verbose 0
0087
0088 #beam
0089 /gps/particle e-
0090
0091 #coordinate distribution (radial Gauss)
0092 /gps/pos/centre 0. 0. -1. cm
0093 /gps/pos/type Beam
0094 /gps/pos/sigma_x 0.07 mm
0095 /gps/pos/sigma_y 0.2 mm
0096
0097 #angular distribution (radial Gauss)
0098 /gps/ang/type beam2d
0099 /gps/ang/rot1 1 0 0
0100 /gps/ang/rot2 0 -1 0
0101 /gps/ang/sigma_x 30.E-6 rad
0102 /gps/ang/sigma_y 30.E-6 rad
0103
0104 #energy distribution (constant)
0105 /gps/ene/mono 0.855 GeV
0106
0107 #statistics
0108 /run/printProgress 10
0109 /run/beamOn 1000