Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4LogicalSurface Class Reference

G4LogicalSurface is an abstraction of a geometrical surface, it is an abstract base class for different implementations of surfaces. Its primary function is to hold pointers to objects that describe the surface's physical properties. For example it holds a pointer to a surface's optical properties, and because of this it is used in processes like G4OpBoundaryProcess. More...

#include <G4LogicalSurface.hh>

Inheritance diagram for G4LogicalSurface:

Public Member Functions

virtual ~G4LogicalSurface ()=default
 G4LogicalSurface (const G4LogicalSurface &)=delete
G4LogicalSurfaceoperator= (const G4LogicalSurface &)=delete
G4SurfacePropertyGetSurfaceProperty () const
void SetSurfaceProperty (G4SurfaceProperty *ptrSurfaceProperty)
const G4StringGetName () const
void SetName (const G4String &name)
G4TransitionRadiationSurface * GetTransitionRadiationSurface () const
void SetTransitionRadiationSurface (G4TransitionRadiationSurface *trs)
G4bool operator== (const G4LogicalSurface &right) const
G4bool operator!= (const G4LogicalSurface &right) const

Protected Member Functions

 G4LogicalSurface (const G4String &name, G4SurfaceProperty *prop)

Detailed Description

G4LogicalSurface is an abstraction of a geometrical surface, it is an abstract base class for different implementations of surfaces. Its primary function is to hold pointers to objects that describe the surface's physical properties. For example it holds a pointer to a surface's optical properties, and because of this it is used in processes like G4OpBoundaryProcess.

Definition at line 72 of file G4LogicalSurface.hh.

Constructor & Destructor Documentation

◆ ~G4LogicalSurface()

virtual G4LogicalSurface::~G4LogicalSurface ( )
virtualdefault

Default Destructor.

◆ G4LogicalSurface() [1/2]

G4LogicalSurface::G4LogicalSurface ( const G4LogicalSurface & )
delete

◆ G4LogicalSurface() [2/2]

G4LogicalSurface::G4LogicalSurface ( const G4String & name,
G4SurfaceProperty * prop )
protected

Protected constructor. There should be no free instances of this class.

Definition at line 33 of file G4LogicalSurface.cc.

35 : theName(name), theSurfaceProperty(surfaceProperty)
36{
37}

Member Function Documentation

◆ GetName()

const G4String & G4LogicalSurface::GetName ( ) const
inline

◆ GetSurfaceProperty()

G4SurfaceProperty * G4LogicalSurface::GetSurfaceProperty ( ) const
inline

◆ GetTransitionRadiationSurface()

G4TransitionRadiationSurface * G4LogicalSurface::GetTransitionRadiationSurface ( ) const
inline

Getter and setter for the transition radiation surface attribute.

◆ operator!=()

G4bool G4LogicalSurface::operator!= ( const G4LogicalSurface & right) const
inline

◆ operator=()

G4LogicalSurface & G4LogicalSurface::operator= ( const G4LogicalSurface & )
delete

◆ operator==()

G4bool G4LogicalSurface::operator== ( const G4LogicalSurface & right) const
inline

Equality and disequality operators.

◆ SetName()

void G4LogicalSurface::SetName ( const G4String & name)
inline

◆ SetSurfaceProperty()

void G4LogicalSurface::SetSurfaceProperty ( G4SurfaceProperty * ptrSurfaceProperty)
inline

◆ SetTransitionRadiationSurface()

void G4LogicalSurface::SetTransitionRadiationSurface ( G4TransitionRadiationSurface * trs)
inline

The documentation for this class was generated from the following files: