Geometry root file isn't created from tutorial example

This example doesn’t produce root file with geometry as stated in the description.

  1. Run root assembly.C This will produce assembly.root containing the extract.
  2. Display the assebly as: root show_extract.C(“assembly.root”)

What lines are responsible for creating the file? I don’t understand.

https://root.cern.ch/doc/v608/eve_2assembly_8C.html

ROOT Version: 622
Platform: Centos 7
Compiler: gcc9

Hi,

Looking on file history, I do not see any Export statements. This can be done like:

geom->Export("assembly.root");

But it does not helps - eve7/show_extract.C macro expects TEveGeoShapeExtract class to be stored in the file.

I hope @matevz could help you here.

Regards,
Sergey

1 Like

Hello,

Oh, the webs are showing the wrong assembly.C, there is another copy of it that does the export in tutorials/eve/

Cheers,
Matevz

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.