10 #include "G4OpticalSurface.hh"
26 G4OpticalSurfaceModel g4Model;
27 G4OpticalSurfaceFinish g4Finish;
30 switch(geoOpticalSurface->
GetModel())
55 g4Finish = polishedfrontpainted;
60 g4Finish = polishedbackpainted;
70 g4Finish = groundfrontpainted;
75 g4Finish = groundbackpainted;
82 switch(geoOpticalSurface->
GetType())
86 g4Type = dielectric_metal;
91 g4Type = dielectric_dielectric;
105 g4Type = dielectric_dielectric;
110 G4OpticalSurface* newG4Surface =
new G4OpticalSurface(geoOpticalSurface->
GetName(),
121 G4MaterialPropertiesTable* g4PropTable = tFactory.
Build(geoPropTable);
123 newG4Surface->SetMaterialPropertiesTable(g4PropTable);