Import Geant4 0.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:09:25 +02:00
parent b97f8d0df7
commit aaa409b6ee
2922 changed files with 55107 additions and 81674 deletions
+15 -5
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4OpticalSurface.cc,v 2.1 1998/07/13 17:14:17 urbi Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4OpticalSurface.cc,v 1.2 1999/04/14 12:49:04 maire Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
////////////////////////////////////////////////////////////////////////
@@ -34,10 +34,20 @@
// Operators
//////////////
const G4OpticalSurface &
G4OpticalSurface::operator=(const G4OpticalSurface &right)
const G4OpticalSurface&
G4OpticalSurface::operator=(const G4OpticalSurface& right)
{
return right;
if (this != &right)
{
theName = right.theName;
theModel = right.theModel;
theFinish = right.theFinish;
theType = right.theType;
sigma_alpha = right.sigma_alpha;
polish = right.polish;
theMaterialPropertiesTable = right.theMaterialPropertiesTable;
}
return *this;
}
/////////////////