Rev | Line | |
---|
[1350] | 1 | $Id: README.SBT,v 1.1 2008/02/22 11:20:39 ivana Exp $ |
---|
| 2 | |
---|
| 3 | The SBT log outputs can be debugged with Fred in this |
---|
| 4 | way: |
---|
| 5 | |
---|
| 6 | 1. Copy a selected SBT log output file in Fred/test3.log |
---|
| 7 | |
---|
| 8 | $> cd $G4INSTALL/source/geometry/solids/test/fred |
---|
| 9 | $> cp ../SBT/log/cons.e2.log test3.log |
---|
| 10 | |
---|
| 11 | 2. Update the solid definition in src/FredDetectorConstruction.cc |
---|
| 12 | and recompile Fred: |
---|
| 13 | |
---|
| 14 | $> make |
---|
| 15 | |
---|
| 16 | 3, Uncomment the solid type in test1.mac |
---|
| 17 | /fred/volume CONE |
---|
| 18 | |
---|
| 19 | 4. Run fred and process all errors in the log file: |
---|
| 20 | |
---|
| 21 | $> fred |
---|
| 22 | /control/execute test1.mac |
---|
| 23 | /fred/test3/runDebug |
---|
| 24 | |
---|
| 25 | Or debug a selected error using the commands: |
---|
| 26 | |
---|
| 27 | /fred/test3/debug 3 |
---|
| 28 | /run/beamOn 1 |
---|
| 29 | |
---|
| 30 | |
---|
Note: See
TracBrowser
for help on using the repository browser.