[gate-users]

Heath, Christopher Charles christopher.c.heath at vanderbilt.edu
Wed Jun 16 00:10:56 CEST 2004


Hi,

Does anyone know how to define an energy histogram for a source?  Currently, I
am trying to model different energy gamma rays based off of the sample found in
the user's manual, and both the User and Arb enerytypes are causing segmentation
faults when I run the code.  Here is the code for my (completely arbitrary) source:

#SOURCE
/gate/source/addSource POINTSOURCE
/gate/source/POINTSOURCE/setActivity 10000. becquerel
/gate/source/POINTSOURCE/gps/particle gamma
/gate/source/POINTSOURCE/gps/energytype Arb
/gate/source/POINTSOURCE/gps/emin 26.5 keV
/gate/source/POINTSOURCE/gps/emax 30 keV
/gate/source/POINTSOURCE/gps/histpoint 26.5 1
/gate/source/POINTSOURCE/gps/histpoint 27 0
/gate/source/POINTSOURCE/gps/histpoint 29 3
/gate/source/POINTSOURCE/gps/histpoint 30 0
/gate/source/POINTSOURCE/gps/arbint Lin
/gate/source/POINTSOURCE/gps/angtype beam1d
/gate/source/POINTSOURCE/gps/angrot1 0 1 0
/gate/source/POINTSOURCE/gps/angrot2 0 0 1
/gate/source/POINTSOURCE/gps/type Point
/gate/source/POINTSOURCE/gps/centre 0. 0. 0. cm

which leads to the following error after processing the ../arbint Lin command:
Idle> /gate/source/POINTSOURCE/gps/arbint Lin
/gate/source/POINTSOURCE/gps/arbint Lin
 
 *** Break *** segmentation violation
 Generating stack trace...
/usr/bin/addr2line: Gate: No such file or directory
/usr/bin/addr2line: Gate: No such file or directory
/usr/bin/addr2line: Gate: No such file or directory
/usr/bin/addr2line: Gate: No such file or directory
/usr/bin/addr2line: Gate: No such file or directory
/usr/bin/addr2line: Gate: No such file or directory
/usr/bin/addr2line: Gate: No such file or directory
/usr/bin/addr2line: Gate: No such file or directory
/usr/bin/addr2line: Gate: No such file or directory
 0x081b6ba5 in GateGeneralParticleSource::ArbInterpolate(G4String) + 0xb3 from Gate
 0x0825182d in GateGeneralParticleSourceMessenger::SetNewValue(G4UIcommand*,
G4String) + 0x14e1 from Gate
 0x0871654b in G4UIcommand::DoIt(G4String) + 0x11bf from Gate
 0x087221d8 in G4UImanager::ApplyCommand(char const*) + 0x868 from Gate
 0x0872196e in G4UImanager::ApplyCommand(G4String) + 0x22 from Gate
 0x082e93b8 in G4UIterminal::ExecuteCommand(G4String) + 0x42 from Gate
 0x082e9094 in G4UIterminal::SessionStart() + 0x4c from Gate
 0x08152fac in main + 0x63a from Gate
 0x412f8768 in __libc_start_main + 0xf8 from /lib/tls/libc.so.6
 0x08152375 in TFile::TFile[in-charge](char const*, char const*, char const*,
int) + 0x41 from Gate
Aborted


-----------------------------------------------------------------
Heath, Christopher Charles
Vanderbilt University
Email: christopher.c.heath at Vanderbilt.Edu


More information about the Gate-users mailing list