[gate-users] Arbitrary Beta Spectrum

Eric Vandervoort evander at phas.ubc.ca
Fri May 13 20:25:45 CEST 2005


Hi Richard,
Thanks for the rapid response. Changing the histname to energy solved some
of the problems. There are still a couple of apparent typos in in the
User Manual:
1. gps should not appear in /gate/source/NAME/gps/setForcedUnstableFlag
or in /gate/source/NAME/gps/setForcedHalfLife
2. /gate/source/NAME/gps/hispoint should read histpoint.
However, I can't seem to get the /gate/source/NAME/gps/arbint Lin command
to work or (Spline etc.). According to what I can make out in
GateGeneralParticleSourceMessenger.cc this is the correct syntax but I
get a segmentation violation and the cascade of errors shown below. If I
leave the comand out the positron energies are not generated properly.
Thanks Again,
Eric

0x087579d8 in G4PhysicsOrderedFreeVector::GetLowEdgeEnergy(unsigned int) const + 0xc from Gate
0x081af622 in GateGeneralParticleSource::ArbInterpolate(G4String) + 0xbe from Gate
0x0825a05d in GateGeneralParticleSourceMessenger::SetNewValue(G4UIcommand*, G4String) + 0x148b from Gate
0x087381e1 in G4UIcommand::DoIt(G4String) + 0x111f from Gate
0x08744737 in G4UImanager::ApplyCommand(char const*) + 0x7f3 from Gate
0x0874da94 in G4UIbatch::SessionStart() + 0x290 from Gate
0x087426b6 in G4UImanager::ExecuteMacroFile(char const*) + 0x50 from Gate
0x087544a0 in G4UIcontrolMessenger::SetNewValue(G4UIcommand*, G4String) + 0x3e from Gate
0x087381e1 in G4UIcommand::DoIt(G4String) + 0x111f from Gate
0x08744737 in G4UImanager::ApplyCommand(char const*) + 0x7f3 from Gate
0x08743f42 in G4UImanager::ApplyCommand(G4String) + 0x22 from Gate
0x082fd0b0 in G4UIterminal::ExecuteCommand(G4String) + 0x42 from Gate
0x082fcd8c in G4UIterminal::SessionStart() + 0x4c from Gate
0x0814c1f6 in main + 0x598 from Gate
0x0082ce23 in __libc_start_main + 0xd3 from /lib/tls/libc.so.6
0x0814b65d in TFile::TFile(char const*, char const*, char const*, int) + 0x41 from Gate
Abort


On Thu, 12 May 2005, Richard Taschereau wrote:

> Hi Eric,
>
> Looks like you want to define an energy histogram.  In this case, the
> histname should be energy.
>
> Richard
> On 5/12/05 5:09 PM, "evander at phas.ubc.ca" <evander at phas.ubc.ca> wrote:
>
> > Hello,
> > I was wondering if anyone had experience using the arbitrary energy-type
> > positron source. I encounter the following error message using the
> > "histname" gps command:
> >
> > parameter value is not listed in the candidate List.
> > ***** Illegal parameter (0) </gate/source/NAME/gps/histname MySource>
> > ********** Command ignored *****
> >
> >
>
>
> --
> Richard Taschereau, Ph.D.
> CRUMP Institute for Molecular Imaging
> University of California Los Angeles
> 700 Westwood Plaza A438
> Los Angeles, CA 90095-1770
> Phone: (310) 794-1839
> Fax:     (310) 206-8975
> email: RTaschereau at mednet.ucla.edu
>
>
>


More information about the Gate-users mailing list