g4system
Loading...
Searching...
No Matches
g4mirrors.cc File Reference

Implementation of G4World optical surface construction (phase 5). More...

#include "g4world.h"
#include "gsystemConventions.h"
#include "g4systemConventions.h"
#include "G4OpticalSurface.hh"
#include "G4LogicalSkinSurface.hh"
#include "G4LogicalBorderSurface.hh"
Include dependency graph for g4mirrors.cc:

Go to the source code of this file.

Detailed Description

Header documentation in g4world.h is authoritative. This file implements:

  • table-driven mapping of surface type/finish/model strings to Geant4 enums (unknown values are hard errors, unlike GEMC2 which silently ignored them);
  • one shared G4OpticalSurface per mirror definition, reused by every volume that references it (GEMC2 created one surface and one properties table per volume);
  • skin and border logical surface attachment.

Definition in file g4mirrors.cc.