46 LogVolume(logicalVolume)
48 if (theSkinSurfaceTable ==
nullptr)
54 theSkinSurfaceTable->insert(std::make_pair(logicalVolume,
this));
79 if (theSkinSurfaceTable ==
nullptr)
83 return theSkinSurfaceTable;
89 if (theSkinSurfaceTable !=
nullptr)
91 return theSkinSurfaceTable->size();
100 if (theSkinSurfaceTable !=
nullptr)
102 auto pos = theSkinSurfaceTable->find(vol);
103 if(pos != theSkinSurfaceTable->cend())
return pos->second;
113 G4cout <<
"***** Skin Surface Table : Nb of Surfaces = "
116 if (theSkinSurfaceTable !=
nullptr)
118 for(
const auto & pos : *theSkinSurfaceTable)
122 <<
" Skin of logical volume "
133 if (theSkinSurfaceTable !=
nullptr)
135 for(
const auto & pos : *theSkinSurfaceTable)
139 theSkinSurfaceTable->clear();
std::map< const G4LogicalVolume *, G4LogicalSkinSurface * > G4LogicalSkinSurfaceTable
G4GLOB_DLL std::ostream G4cout
static G4LogicalSkinSurface * GetSurface(const G4LogicalVolume *vol)
G4bool operator==(const G4LogicalSkinSurface &right) const
const G4LogicalVolume * GetLogicalVolume() const
G4LogicalSkinSurface(const G4String &name, G4LogicalVolume *vol, G4SurfaceProperty *surfaceProperty)
static const G4LogicalSkinSurfaceTable * GetSurfaceTable()
static void CleanSurfaceTable()
~G4LogicalSkinSurface() override
static std::size_t GetNumberOfSkinSurfaces()
G4bool operator!=(const G4LogicalSkinSurface &right) const
const G4String & GetName() const
const G4String & GetName() const