Line | |
---|
1 | # $Id: run2.mac,v 1.1 2005/10/18 18:09:14 allison Exp $ |
---|
2 | # |
---|
3 | # Macro file for "exampleN02.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 | /N02/det/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.