Import Geant4 10.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2019-12-06 15:12:28 +01:00
parent b2a62ae692
commit 5baee230e9
2997 changed files with 141580 additions and 98673 deletions
@@ -23,11 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
//
////////////////////////////////////////////////////////////////////////
// Class G4LogicalSurface
////////////////////////////////////////////////////////////////////////
// G4LogicalSurface
//
// Class description:
//
@@ -55,44 +51,37 @@
// Created: 1997, June, 4th to 17th
// Author: John Apostolakis, (with help of Peter Gumplinger)
// mail: japost@mail.cern.ch
//
// ------------------------------------------------------------------------
#ifndef G4LogicalSurface_h
#define G4LogicalSurface_h 1
/////////////
// Includes
/////////////
#include "G4Types.hh"
#include "G4String.hh"
class G4SurfaceProperty;
class G4TransitionRadiationSurface;
/////////////////////
// Class Definition
/////////////////////
class G4LogicalSurface
{
public: // with description
inline G4SurfaceProperty* GetSurfaceProperty() const;
inline G4SurfaceProperty* GetSurfaceProperty() const;
inline void SetSurfaceProperty(G4SurfaceProperty* ptrSurfaceProperty);
inline const G4String& GetName() const;
inline void SetName(const G4String& name);
inline G4TransitionRadiationSurface* GetTransitionRadiationSurface() const;
inline void SetTransitionRadiationSurface(G4TransitionRadiationSurface* tRadSurf);
inline void SetTransitionRadiationSurface(G4TransitionRadiationSurface* trs);
public: // without description
virtual ~G4LogicalSurface();
G4LogicalSurface(const G4LogicalSurface&) = delete;
G4LogicalSurface& operator=(const G4LogicalSurface&) = delete;
inline G4bool operator==(const G4LogicalSurface &right) const;
inline G4bool operator!=(const G4LogicalSurface &right) const;
@@ -103,23 +92,14 @@ class G4LogicalSurface
G4LogicalSurface(const G4String& name, G4SurfaceProperty* prop);
// Is the name more meaningful for the properties or the logical surface ?
private: // Copying restricted
G4LogicalSurface(const G4LogicalSurface &right);
inline G4LogicalSurface& operator=(const G4LogicalSurface& right);
private:
G4String theName; // Surface name
G4SurfaceProperty* theSurfaceProperty;
G4TransitionRadiationSurface* theTransRadSurface;
G4SurfaceProperty* theSurfaceProperty = nullptr;
G4TransitionRadiationSurface* theTransRadSurface = nullptr;
};
////////////////////
// Inline methods
////////////////////
#include "G4LogicalSurface.icc"
#endif /* G4LogicalSurface_h */