|
Last change
on this file since 1355 was 562, checked in by garnier, 18 years ago |
r565@mac-90108: laurentgarnier | 2007-08-14 14:18:03 +0200
mise a jour suite au plantage de svk (cheksum error) suite au crash du DD en juin
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 1 | # $Id: heprep.mac,v 1.2 2003/12/01 21:09:28 perl Exp $
|
|---|
| 2 | #
|
|---|
| 3 | # Macro file for "exampleN03.cc"
|
|---|
| 4 | #
|
|---|
| 5 | # can be run in batch, without graphic
|
|---|
| 6 | # or interactively: Idle> /control/execute heprep.mac
|
|---|
| 7 | #
|
|---|
| 8 | # Produces heprep2 file(s)
|
|---|
| 9 | #
|
|---|
| 10 | /control/verbose 0
|
|---|
| 11 | /control/saveHistory
|
|---|
| 12 | #
|
|---|
| 13 | /run/verbose 0
|
|---|
| 14 | /event/verbose 0
|
|---|
| 15 | /tracking/verbose 0
|
|---|
| 16 | #
|
|---|
| 17 | # muon 300 MeV to the direction (1.,0.,0.)
|
|---|
| 18 | # 3 events
|
|---|
| 19 | #
|
|---|
| 20 | # Create a scene containing the detector.
|
|---|
| 21 | /vis/scene/create
|
|---|
| 22 | /vis/scene/add/volume world
|
|---|
| 23 | #
|
|---|
| 24 | # Open a HepRep version 2 file suitable for viewing in WIRED.
|
|---|
| 25 | /vis/open HepRepXML
|
|---|
| 26 | #
|
|---|
| 27 | # Output an empty detector
|
|---|
| 28 | /vis/viewer/flush
|
|---|
| 29 | #
|
|---|
| 30 | # Include trajectories in the image.
|
|---|
| 31 | /tracking/storeTrajectory 1
|
|---|
| 32 | /vis/scene/add/trajectories
|
|---|
| 33 | #
|
|---|
| 34 | # If multiple events in one run, accumulate all events into a single
|
|---|
| 35 | # graphical image. If this line is commented out, each event will instead
|
|---|
| 36 | # appear in a separate image.
|
|---|
| 37 | /vis/scene/endOfEventAction accumulate
|
|---|
| 38 | #
|
|---|
| 39 | # At end of each run, an automatic flush causes graphical output.
|
|---|
| 40 | # This run will make an image with one event.
|
|---|
| 41 | /run/beamOn 1
|
|---|
| 42 | # This run will make an image with ten events.
|
|---|
| 43 | /run/beamOn 10
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.