Rev | Line | |
---|
[807] | 1 | # $Id: run2.mac,v 1.1 2002/03/05 15:21:54 gcosmo Exp $ |
---|
| 2 | # |
---|
| 3 | # Macro file for "ParN02.cc" |
---|
| 4 | # |
---|
| 5 | # can be run in batch, without graphic |
---|
| 6 | # or interactively: Idle> /control/execute run2.mac |
---|
| 7 | # |
---|
| 8 | /run/verbose 2 |
---|
| 9 | /event/verbose 0 |
---|
| 10 | # |
---|
| 11 | # proton 3 GeV to the direction (0.,0.,1.) (default kinematic) |
---|
| 12 | # 1 event with detailled printing |
---|
| 13 | # |
---|
| 14 | /tracking/verbose 1 |
---|
| 15 | /run/beamOn 1 |
---|
| 16 | # |
---|
| 17 | # set a magnetic field |
---|
| 18 | # 1 events; print the hits |
---|
| 19 | # |
---|
| 20 | /mydet/setField 2 tesla |
---|
| 21 | /tracking/verbose 0 |
---|
| 22 | /hits/verbose 1 |
---|
| 23 | /run/beamOn 1 |
---|
Note: See
TracBrowser
for help on using the repository browser.