54 LogVolume(logicalVolume)
58 theSkinSurfaceTable.push_back(
this);
65 LogVolume = right.LogVolume;
66 theSkinSurfaceTable = right.theSkinSurfaceTable;
80 if (&right ==
this)
return *
this;
86 LogVolume = right.LogVolume;
87 theSkinSurfaceTable = right.theSkinSurfaceTable;
110 return &theSkinSurfaceTable;
115 return theSkinSurfaceTable.size();
121 for (
size_t i=0; i<theSkinSurfaceTable.size(); i++)
124 return theSkinSurfaceTable[i];
133 G4cout <<
"***** Skin Surface Table : Nb of Surfaces = "
136 for (
size_t i=0; i<theSkinSurfaceTable.size(); i++)
140 <<
" Skin of logical volume "
149 G4LogicalSkinSurfaceTable::iterator pos;
150 for(pos=theSkinSurfaceTable.begin(); pos!=theSkinSurfaceTable.end(); pos++)
152 if (*pos)
delete *pos;
154 theSkinSurfaceTable.clear();
std::vector< G4LogicalSkinSurface * > G4LogicalSkinSurfaceTable
G4DLLIMPORT std::ostream G4cout
G4int operator==(const G4LogicalSkinSurface &right) const
static G4LogicalSkinSurface * GetSurface(const G4LogicalVolume *vol)
const G4LogicalVolume * GetLogicalVolume() const
G4LogicalSkinSurface(const G4String &name, G4LogicalVolume *vol, G4SurfaceProperty *surfaceProperty)
G4int operator!=(const G4LogicalSkinSurface &right) const
static const G4LogicalSkinSurfaceTable * GetSurfaceTable()
static void CleanSurfaceTable()
static size_t GetNumberOfSkinSurfaces()
const G4String & GetName() const
void SetName(const G4String &name)
G4SurfaceProperty * GetSurfaceProperty() const
G4TransitionRadiationSurface * GetTransitionRadiationSurface() const
void SetTransitionRadiationSurface(G4TransitionRadiationSurface *tRadSurf)
void SetSurfaceProperty(G4SurfaceProperty *ptrSurfaceProperty)