| 1 | #
|
|---|
| 2 | # Macro file 'run11.mac' for the initialization phase of "TestEm10.cc"
|
|---|
| 3 | #
|
|---|
| 4 | /control/verbose 2
|
|---|
| 5 | #
|
|---|
| 6 | #control/saveHistory
|
|---|
| 7 | #
|
|---|
| 8 | /run/verbose 2
|
|---|
| 9 | #
|
|---|
| 10 | #/run/initialize
|
|---|
| 11 | #
|
|---|
| 12 | # Parameters of MWPC detector: material and its thickness
|
|---|
| 13 | # Xe55He15CH4, Xe10CH4, Xe20CH4, Xe5CH4, Xe20CO2, Kr20CO2
|
|---|
| 14 | # Kr7CH4, Ar7CH4, XeArCH4
|
|---|
| 15 | #
|
|---|
| 16 | #/XTRdetector/setAbsMat Xe10CH4
|
|---|
| 17 | #/XTRdetector/setAbsThick 30.0 mm
|
|---|
| 18 | #/XTRdetector/setWorldZ 4000.0 mm
|
|---|
| 19 | #
|
|---|
| 20 | # Parameters of Radiator (default mm)
|
|---|
| 21 | # TRT_CH2, Radiator, CarbonFiber, Li, Be, Mylar, Kapton ?, CH2
|
|---|
| 22 | # Air, CO2, He, Ne, Kr, Ar, Xe,
|
|---|
| 23 | #
|
|---|
| 24 | #/XTRdetector/setRadMat Li
|
|---|
| 25 | #/XTRdetector/setWorldMat He
|
|---|
| 26 | #/XTRdetector/setRadThick 0.04 mm
|
|---|
| 27 | #/XTRdetector/setGasGapThick 0.126 mm
|
|---|
| 28 | #/XTRdetector/setFoilNum 300
|
|---|
| 29 | #
|
|---|
| 30 | # Selection of XTR parametrisation model: 1-10
|
|---|
| 31 | # TRmodel/XTRdEdx: Foam 1/2, GamDistr 3/4, Irr 5/6, Plate 7/8, Reg 9/10, no model 0
|
|---|
| 32 | #
|
|---|
| 33 | #/XTRdetector/setModel 0
|
|---|
| 34 | #
|
|---|
| 35 | # Update geometry after changing its parametrs
|
|---|
| 36 | #
|
|---|
| 37 | #/XTRdetector/update
|
|---|
| 38 | # window: Mylar 51 micron
|
|---|
| 39 | # PLOT: energy deposit distribution in absorber (g4.11)
|
|---|
| 40 | #
|
|---|
| 41 | /plots/sethistName g4.p11
|
|---|
| 42 | /plots/setnbinEn 35
|
|---|
| 43 | /plots/setEnlow 0.0 MeV
|
|---|
| 44 | /plots/setEnhigh 0.07 MeV
|
|---|
| 45 | #
|
|---|
| 46 | #
|
|---|
| 47 | # Change and choice of experimental setups. Can be
|
|---|
| 48 | # simpleALICE.,
|
|---|
| 49 | #
|
|---|
| 50 | #
|
|---|
| 51 | /XTRdetector/setup simpleALICE
|
|---|
| 52 | #
|
|---|
| 53 | # these commands do not change energy cuts???
|
|---|
| 54 | #
|
|---|
| 55 | # Set XTR model (default: transpM). Name list consits:
|
|---|
| 56 | # gammaR, gammaM, regR, regM, strawR, transpR, transpM
|
|---|
| 57 | #
|
|---|
| 58 | # R - XTR dE/dx models, M - XTR flux after radiator models
|
|---|
| 59 | #
|
|---|
| 60 | #/emphyslist/setXTRModel transpM
|
|---|
| 61 | #/emphyslist/setXTRModel transpR
|
|---|
| 62 | /emphyslist/setXTRModel gammaM
|
|---|
| 63 | #/emphyslist/setXTRModel gammaR
|
|---|
| 64 | #/emphyslist/setXTRModel strawR
|
|---|
| 65 | #/emphyslist/setXTRModel regM
|
|---|
| 66 | #/emphyslist/setXTRModel regR
|
|---|
| 67 | #
|
|---|
| 68 | #/emphyslist/eMinEnergy 100.
|
|---|
| 69 | #/emphyslist/gMinEnergy 100.
|
|---|
| 70 | #
|
|---|
| 71 | #/run/initialize
|
|---|
| 72 | #
|
|---|
| 73 | #/run/particle/dumpCutValues
|
|---|
| 74 | #
|
|---|
| 75 | /run/particle/applyCuts
|
|---|
| 76 | #
|
|---|
| 77 | # set cuts in XTR radiator
|
|---|
| 78 | #
|
|---|
| 79 | /emphyslist/setGammaCut 1.0
|
|---|
| 80 | /emphyslist/setElectronCut 100.0
|
|---|
| 81 | /emphyslist/setPositronCut 100.
|
|---|
| 82 | /emphyslist/setRadiatorCuts 1.
|
|---|
| 83 | #
|
|---|
| 84 | # set cuts in XTR detector
|
|---|
| 85 | #
|
|---|
| 86 | /emphyslist/setGammaCut 100.0
|
|---|
| 87 | /emphyslist/setElectronCut 100.0
|
|---|
| 88 | /emphyslist/setPositronCut 100.
|
|---|
| 89 | /emphyslist/setDetectorCuts 1.
|
|---|
| 90 | #
|
|---|
| 91 | /run/initialize
|
|---|
| 92 | #
|
|---|
| 93 | #/XTRdetector/update
|
|---|
| 94 | #
|
|---|
| 95 | #Innactivate some processes: msc eIoni eBrem RegularXTRadiator
|
|---|
| 96 | # hIoni
|
|---|
| 97 | #
|
|---|
| 98 | # (switch off dEdx and msc always together!)
|
|---|
| 99 | #
|
|---|
| 100 | /process/inactivate msc
|
|---|
| 101 | /process/inactivate eIoni
|
|---|
| 102 | /process/inactivate hIoni
|
|---|
| 103 | #
|
|---|
| 104 | #/process/inactivate eBrem
|
|---|
| 105 | #
|
|---|
| 106 | # Inactivate gamma processes
|
|---|
| 107 | #
|
|---|
| 108 | #/process/inactivate phot
|
|---|
| 109 | #/process/inactivate compt
|
|---|
| 110 | #/process/inactivate conv
|
|---|
| 111 | #
|
|---|
| 112 | #/process/inactivate RegularXTRadiator
|
|---|
| 113 | #
|
|---|
| 114 | #/process/inactivate GammaXTRadiator
|
|---|
| 115 | #
|
|---|
| 116 | #/process/eLoss/fluct false
|
|---|
| 117 | #
|
|---|
| 118 | #/process/verbose 1
|
|---|
| 119 | #
|
|---|
| 120 | #
|
|---|
| 121 | # Particle and its energy
|
|---|
| 122 | #
|
|---|
| 123 | /gun/particle e-
|
|---|
| 124 | /gun/energy 2000.0 MeV
|
|---|
| 125 | #
|
|---|
| 126 | #/gun/particle proton
|
|---|
| 127 | #/gun/energy 6000000.0 MeV
|
|---|
| 128 | #
|
|---|
| 129 | #/tracking/verbose 2
|
|---|
| 130 | #
|
|---|
| 131 | /event/printModulo 1000
|
|---|
| 132 | /run/beamOn 5000
|
|---|
| 133 | #
|
|---|
| 134 | #/run/beamOn 1
|
|---|
| 135 | #/process/inactivate eIoni
|
|---|
| 136 | #/process/inactivate eBrem
|
|---|
| 137 | #
|
|---|
| 138 | #
|
|---|
| 139 |
|
|---|
| 140 |
|
|---|
| 141 |
|
|---|
| 142 |
|
|---|
| 143 |
|
|---|
| 144 |
|
|---|
| 145 |
|
|---|
| 146 |
|
|---|
| 147 |
|
|---|
| 148 |
|
|---|