[Castor-users] Potential bug in castor-PetScannerLutEx

Peter Neilson neilson at txcorp.com
Mon May 18 22:01:56 CEST 2020


Hello All,

  I’m working on adapting castor-PetScannerLutEx to match a Gate geometry that is incompatible with castor-GATEMacToGeo. However on my first run of castor-PetScannerLutEx (no changes) I get a seg fault. 
I found there was a bug at line 342, the oMatrix needs to be initialized with nb_resctors +1 oMatrix *****crystal_center = new oMatrix ****[nb_rsectors+1];

After that seemed to get the program to compile alright, but I’m having some difficulty in getting sensible results out of it with my geometry. For now I’m using GATE with a cylindricalPET system with only a single ring of 28 rsectors, no layers and 16 x 16 crystal arrangement, nothing that castor-GateRootToCastor couldn’t handle. I end up with a non-sequential castor indexing, that I think is the cause of my problems. 

Are there any further tutorials on using castor-PetScannerLutEx ? 

Thanks,
-Peter Neilson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.castor-project.org/pipermail/castor-users/attachments/20200518/d2d9e1f8/attachment.html>


More information about the Castor-users mailing list