Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-10 07:50:27

0001 #include "StrutMaker.h"
0002 #include "U4Mesh.h"
0003 
0004 int main()
0005 {
0006     const char* name = getenv("SOLID");
0007     const G4VSolid* solid = StrutMaker::Make(name);
0008 
0009     NPFold* fold = U4Mesh::Serialize(solid) ;
0010     fold->set_meta<std::string>("name",name);
0011     fold->set_meta<std::string>("desc",name);
0012     fold->save("$FOLD", name );
0013 
0014     return 0 ;
0015 }
0016