[gate-users] SPECT benchmark

Hiroshi Watabe watabe at ri.ncvc.go.jp
Wed Feb 23 03:33:13 CET 2005


Dear GATE users,

I'm a newbie of GATE and Geant4. 
Recently I downloaded Geant4, GATE (version 1.0.2) and ROOT (version 4.03.02) and
installed on my linux box (Linux 2.6.9 Fedora Core2).
PET benchmark worked fine and I can see plots by ROOT. But ROOT
doesn't like to plot SPECT benchmark results with following error;

Error: illegal pointer to class object Singles 0x0 115  FILE:benchSPECT.C LINE:40

I just edit benchSPECT.C as follows and it seems to work.

diff benchSPECT.C.orig  benchSPECT.C
1c1,2
< ROOT->Reset();
---
> {
>  gROOT->Reset();


Since I'm newbie of GATE and ROOT, and I don't know exact cause of the
error. But in my case, it works.

regards,

Hiroshi

--------------------------------------------------
             Hiroshi Watabe, PhD

watabe at ri.ncvc.go.jp
Department of Investigative Radiology
National Cardiovascular Center Research Institute

5-7-1 Fujishirodai, Suita, Osaka 565-8565

Tel:06-6833-5012-2560 or 06-6833-5004-2560
Fax:06-6872-7485
--------------------------------------------------



More information about the Gate-users mailing list