| Line | |
|---|
| 1 | # $Id: run01.mac,v 1.4 2007/01/18 09:07:20 hbu Exp $
|
|---|
| 2 | #
|
|---|
| 3 | # Macro file for "TestEm16.cc"
|
|---|
| 4 | # (can be run in batch, without graphic)
|
|---|
| 5 | #
|
|---|
| 6 | #
|
|---|
| 7 | /control/verbose 2
|
|---|
| 8 | /run/verbose 2
|
|---|
| 9 | #
|
|---|
| 10 | /testem/det/setMat Vacuum
|
|---|
| 11 | #
|
|---|
| 12 | /run/initialize
|
|---|
| 13 | #
|
|---|
| 14 | # /process/activate SynchrotronRadiation
|
|---|
| 15 | #
|
|---|
| 16 | # inactivate other processes to make SynchrotronRadiation more visible
|
|---|
| 17 | /process/inactivate msc
|
|---|
| 18 | /process/inactivate eIoni
|
|---|
| 19 | /process/inactivate eBrem
|
|---|
| 20 | /process/inactivate annihil
|
|---|
| 21 | /process/inactivate phot
|
|---|
| 22 | /process/inactivate compt
|
|---|
| 23 | /process/inactivate conv
|
|---|
| 24 | #
|
|---|
| 25 | /testem/det/setField 1 tesla
|
|---|
| 26 | #
|
|---|
| 27 | /gun/particle e-
|
|---|
| 28 | /gun/energy 9.9994890009 GeV
|
|---|
| 29 | # set up histos. A reasonable choice for the upper limits is about 5*Ecr and 10*MeanFreePath
|
|---|
| 30 | /testem/histo/setHisto 1 100 0 400 keV #SynRad Energy
|
|---|
| 31 | /testem/histo/setHisto 2 100 0 400 keV #SynRad Power
|
|---|
| 32 | /testem/histo/setHisto 3 100 0 1.6 m #Path Length
|
|---|
| 33 | /testem/histo/setFileName testem16
|
|---|
| 34 | /testem/histo/setFileType hbook
|
|---|
| 35 | #
|
|---|
| 36 | # next would be 30 degree angle sin 30deg = 0.5 cos 30 deg = 0.866025403
|
|---|
| 37 | #/gun/direction 0.5 0 0.866025403
|
|---|
| 38 | #
|
|---|
| 39 | /run/beamOn 1000
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.