Use of gFile in latest root versions

Hi all!

Just by changing to a newer version of root the following line gives me an error:

TTree raw = (TTree)gFile->Get(“tree”)->Clone(“raw”);

Error: illegal pointer to class object gFile 0x0 38 time_calibrator.C:22

This happens with any call of gFile.

Is this normal?
Any suggestions?

Cheers,
Step0ut

Hi,
gFile has moved, so loading libRIO first should solve it.
Axel.