Reading data of custom classes

Same problem with the new ROOT version 6.36.04. I will try another Windows computer…

I can now access the data of the medusa_run78850.root file by using the sligthly changed files provided by Wile_E_Coyote above, and a

  • Windows 11 WSL system with
  • Ubuntu 24.04.3 LTS (GNU/Linux 6.6.87.2-microsoft-standard-WSL2 x86_64)
  • ROOT 6.36.04

by using the commands of bellenot :

root [0] .L TMedusa.cxx++
root [1] TFile *f = TFile::Open("medusa_run78850.root");
root [2] for(Int_t i = 1; i <= 10; i++) {TMedusa *m = f->Get<TMedusa>(TString("medusa.") + i); m->Dump(); delete m;}

It seems that it was indeed an issue with the Windows/WSL/ROOT system. Many thanks again for all your efforts and patience!

Just a last question: Are the minor changes of the TMedusa.cxx and TMedusa.h files by Wile_E_Coyote required due to changes of the newer ROOT software/interpreter?

Some source code cleanup/improvements/fixes in the “TMedusa.cxx”.
Fixes of the “TMedusa” class layout in the “TMedusa.h” (so that it corresponds to the objects present in the various “medusa_run78850.root” files).
No changes due to the “ROOT software/interpreter” version.

Thank you very much for clarification!