root to Castor


I’m trying to reconstruct an image fro a GATE modeled PET system using CASTOR, I read in the users guide that there is a utility named castor-GATEroot2Castor.exe which converts from the ROOT output to Castor format. I’ve installer castor on my Ubuntu machine however I’m unable to get it or use the root2Castor utility.

Does anyone knows how to get it or use it?

Thank you,


If you compiled CASToR from source, is it possible that you forgot to set CASToR_BUILD_GATE_UTILITIES as ON in the cmake parameters? Compiling with that flag activated should give you an executable called castor-GATERootToCastor. Also, is it possible that cmake didn't found you root configuration?

To use ```castor-GATERootToCastor, open a terminal and “launch” the executable. If you don’t give any arguments, it will tell you what it needs.`

Maxime Toussaint

Hi Maxim,

Thank you for you’re quick response. I’ve reinstall as you recommended and it works.