47 LogVolume(logicalVolume)
49 if (theSkinSurfaceTable ==
nullptr)
55 theSkinSurfaceTable->push_back(
this);
84 if (theSkinSurfaceTable ==
nullptr)
88 return theSkinSurfaceTable;
93 if (theSkinSurfaceTable !=
nullptr)
95 return theSkinSurfaceTable->size();
103 if (theSkinSurfaceTable !=
nullptr)
105 for(
auto pos = theSkinSurfaceTable->cbegin();
106 pos != theSkinSurfaceTable->cend(); ++pos)
108 if ((*pos)->GetLogicalVolume() == vol) {
return *pos; }
118 G4cout <<
"***** Skin Surface Table : Nb of Surfaces = "
121 if (theSkinSurfaceTable !=
nullptr)
123 for(
auto pos = theSkinSurfaceTable->cbegin();
124 pos != theSkinSurfaceTable->cend(); ++pos)
127 <<
" Skin of logical volume "
128 << (*pos)->GetLogicalVolume()->GetName()
137 if (theSkinSurfaceTable)
139 for(
auto pos = theSkinSurfaceTable->cbegin();
140 pos != theSkinSurfaceTable->cend(); ++pos)
142 if (*pos) {
delete *pos; }
144 theSkinSurfaceTable->clear();
std::vector< G4LogicalSkinSurface * > G4LogicalSkinSurfaceTable
G4GLOB_DLL std::ostream G4cout
static G4LogicalSkinSurface * GetSurface(const G4LogicalVolume *vol)
G4bool operator==(const G4LogicalSkinSurface &right) const
G4LogicalSkinSurface(const G4String &name, G4LogicalVolume *vol, G4SurfaceProperty *surfaceProperty)
static const G4LogicalSkinSurfaceTable * GetSurfaceTable()
static void CleanSurfaceTable()
static std::size_t GetNumberOfSkinSurfaces()
G4bool operator!=(const G4LogicalSkinSurface &right) const