Problem open a file with a tree

Hello,

I have a problem open a file called ToF.root wich contain a tree t1. This is what appear in the screen:

Error in TFile::ReadBuffer: error reading all requested bytes from file ToF.root, got 212 of 300

This does not happen when I run in the same ROOT sesion functions that write and read the tree.

Thanks for help me and apologies for the english, this isn’t my native language.

Diego.

Hi,

Could provide a running example demonstrating this problem?

Cheers,
Philippe.