File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ int HddsG4Builder::createMaterial(DOMElement* el)
160
160
valS = specEl->getAttribute (X (" smooth" ));
161
161
smooth.push_back (atof (S (valS)));
162
162
valS = specEl->getAttribute (X (" reflect" ));
163
- reflect.push_back (atof (S (valS)));;
163
+ reflect.push_back (atof (S (valS)));
164
164
valS = specEl->getAttribute (X (" effic" ));
165
165
effic.push_back (atof (S (valS)));
166
166
}
@@ -475,6 +475,7 @@ int HddsG4Builder::createSolid(DOMElement* el, Refsys& ref)
475
475
G4OpticalSurface *surface = new G4OpticalSurface (S (nameS));
476
476
surface->SetType (dielectric_metal);
477
477
surface->SetModel (glisur);
478
+ surface->SetMaterialPropertiesTable (mpt);
478
479
if (poli_vector != 0 ) {
479
480
double polish = poli_vector->GetMaxValue ();
480
481
surface->SetPolish (polish);
@@ -491,6 +492,7 @@ int HddsG4Builder::createSolid(DOMElement* el, Refsys& ref)
491
492
G4OpticalSurface *surface = new G4OpticalSurface (S (nameS));
492
493
surface->SetType (dielectric_dielectric);
493
494
surface->SetModel (glisur);
495
+ surface->SetMaterialPropertiesTable (mpt);
494
496
if (poli_vector != 0 ) {
495
497
double polish = poli_vector->GetMaxValue ();
496
498
surface->SetPolish (polish);
You can’t perform that action at this time.
0 commit comments