G4LogicalSkinSurface is a Logical Surface class for the surface surrounding a single logical volume.
More...
#include <G4LogicalSkinSurface.hh>
G4LogicalSkinSurface is a Logical Surface class for the surface surrounding a single logical volume.
Definition at line 52 of file G4LogicalSkinSurface.hh.
◆ G4LogicalSkinSurface() [1/2]
Constructor and Destructor.
Definition at line 40 of file G4LogicalSkinSurface.cc.
44 LogVolume(logicalVolume)
45{
46 if (theSkinSurfaceTable == nullptr)
47 {
49 }
50
51
52 theSkinSurfaceTable->insert(std::make_pair(logicalVolume, this));
53}
std::map< const G4LogicalVolume *, G4LogicalSkinSurface * > G4LogicalSkinSurfaceTable
G4LogicalSurface(const G4LogicalSurface &)=delete
Referenced by DumpInfo(), GetLogicalVolume(), operator!=(), operator=(), and operator==().
◆ ~G4LogicalSkinSurface()
| G4LogicalSkinSurface::~G4LogicalSkinSurface |
( |
| ) |
|
|
overridedefault |
◆ G4LogicalSkinSurface() [2/2]
Copy constructor and assignment operator are not allowed.
◆ CleanSurfaceTable()
| void G4LogicalSkinSurface::CleanSurfaceTable |
( |
| ) |
|
|
static |
Handling of the table of surfaces.
Definition at line 124 of file G4LogicalSkinSurface.cc.
125{
126 if (theSkinSurfaceTable == nullptr) { return; }
127
128
130 {
131 G4cout <<
"WARNING - Attempt to clear the skin surface store"
132 <<
" while geometry closed !" <<
G4endl;
133 return;
134 }
135
136 for (const auto& pos : *theSkinSurfaceTable)
137 {
139 }
140 theSkinSurfaceTable->clear();
141}
G4GLOB_DLL std::ostream G4cout
static G4GeometryManager * GetInstance()
Referenced by G4RunManager::ReinitializeGeometry().
◆ DumpInfo()
| void G4LogicalSkinSurface::DumpInfo |
( |
| ) |
|
|
static |
Definition at line 104 of file G4LogicalSkinSurface.cc.
105{
106 G4cout <<
"***** Skin Surface Table : Nb of Surfaces = "
108
109 if (theSkinSurfaceTable != nullptr)
110 {
111 for(const auto & pos : *theSkinSurfaceTable)
112 {
115 << " Skin of logical volume "
118 }
119 }
121}
const G4LogicalVolume * GetLogicalVolume() const
G4LogicalSkinSurface(const G4String &name, G4LogicalVolume *vol, G4SurfaceProperty *surfaceProperty)
static std::size_t GetNumberOfSkinSurfaces()
const G4String & GetName() const
const G4String & GetName() const
◆ GetLogicalVolume()
◆ GetNumberOfSkinSurfaces()
| size_t G4LogicalSkinSurface::GetNumberOfSkinSurfaces |
( |
| ) |
|
|
static |
◆ GetSurface()
◆ GetSurfaceTable()
◆ operator!=()
◆ operator=()
◆ operator==()
◆ SetLogicalVolume()
The documentation for this class was generated from the following files: