CASToR requirement: ROOT version


Is there a version requirement for ROOT when using CASToR? We have a Gate 7.0 installation, which require a ROOT v5.XX , and I had installed the latest one (v6.YY) for my CASToR installation. It is difficult to make libraries of two version of ROOT co-exist: I need to execute the "" of the ROOT linked to the program before using it (v5.XX for Gate 7.0 and v6.YY for CASToR). While it does seems to work, I fear that it might not when I start doing simulation and reconstruction at the same time.

Have a nice day,
Maxime Toussaint

Hello Maxime,

CASToR has been assessed with ROOT v5.34 as well as several ROOT v6.xx versions. I am rather confident it will work with other v5.xx ROOT versions, so you should be able to avoid the burden of having to keep two ROOT versions. Please let me know if it is not the case.

Kind regards,

Thibaut M.


Thank you for your response, I shall try it. Is there a script available to test/validate CASToR for a given ROOT installation or will it send an error message if the ROOT-CASToR combination is invalid?

Have a nice day,
Maxime Toussaint

Hi Maxime,

There is no such script, so the best is that you link CASToR with your ROOT v5.xx version and directly try to convert some data generated with GATE and check if the ROOT files are correctly read.

I attached a bash file to convert the data generated by the GATE PET benchmark, but you could try with your own data as well.

Best regards, (2.89 KB)