I have a GDML file (let’s call it
test.gdml) which I want to convert to ROOT i.e.
TFile* f = new TFile("test.root","recreate"); TGeoManager::Import("test.gdml"); f->Write(); f->Close();
This gives me test.root which looked OK when viewed with
But the size of
test.root is 419 bytes compared to 25 MB of
So, I wonder if the conversion, here, was only limited to visualisation or a full conversion. I need to generate events in the test.root geometry (which needs .root file and not .gdml), so will the test.root created this way work?