Last change
on this file since 574 was
474,
checked in by garnier, 17 years ago
|
r553@wl-72148: laurentgarnier | 2007-05-15 16:01:10 +0200
|
File size:
468 bytes
|
Rev | Line | |
---|
[474] | 1 | # $Id: run2.mac,v 1.6 2002/12/16 16:37:25 maire Exp $ |
---|
| 2 | # |
---|
| 3 | # Macro file of "exampleN03.cc" |
---|
| 4 | # |
---|
| 5 | # can be run in batch, without graphic |
---|
| 6 | # or interactively: Idle> /control/execute run2.mac |
---|
| 7 | # |
---|
| 8 | /control/verbose 2 |
---|
| 9 | # |
---|
| 10 | # electron 30 MeV to the direction (1.,0.,0.) |
---|
| 11 | # 1 event |
---|
| 12 | # |
---|
| 13 | /run/beamOn 1 |
---|
| 14 | # |
---|
| 15 | # shoot randomly 20 events |
---|
| 16 | # |
---|
| 17 | /N03/event/printModulo 5 |
---|
| 18 | /N03/gun/rndm on |
---|
| 19 | /run/beamOn 20 |
---|
| 20 | # |
---|
| 21 | # activate/inactivate physic processes |
---|
| 22 | # |
---|
| 23 | /process/list |
---|
| 24 | /process/inactivate eBrem |
---|
| 25 | # |
---|
| 26 | /run/beamOn 20 |
---|
| 27 | # |
---|
| 28 | |
---|
Note: See
TracBrowser
for help on using the repository browser.