Import Geant4 1.1.0 source tree
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4BREPSolid.cc,v 1.9.4.1 1999/12/07 20:48:20 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4BREPSolid.cc,v 1.10 1999/12/15 14:49:58 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
|
||||
#include "G4BREPSolid.hh"
|
||||
#include "G4VoxelLimits.hh"
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4BREPSolidBox.cc,v 1.1.10.1 1999/12/07 20:48:21 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4BREPSolidBox.cc,v 1.2 1999/12/15 14:50:00 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
#include "G4BREPSolidBox.hh"
|
||||
#include "G4FPlane.hh"
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4BREPSolidCone.cc,v 1.1.10.1 1999/12/07 20:48:21 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4BREPSolidCone.cc,v 1.2 1999/12/15 14:50:00 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
|
||||
#include "G4BREPSolidCone.hh"
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4BREPSolidCylinder.cc,v 1.1.10.1 1999/12/07 20:48:21 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4BREPSolidCylinder.cc,v 1.2 1999/12/15 14:50:00 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
|
||||
#include "G4BREPSolidCylinder.hh"
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4BREPSolidPCone.cc,v 1.12.8.1 1999/12/07 20:48:21 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4BREPSolidPCone.cc,v 1.14 1999/12/15 17:17:16 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
//
|
||||
// The polyconical solid G4BREPSolidPCone is a shape defined by a set of
|
||||
@@ -98,7 +98,7 @@ G4BREPSolidPCone::G4BREPSolidPCone(G4String name,
|
||||
{
|
||||
G4cerr << "Error in construction of G4BREPSolidPCone "
|
||||
<< "Exactly the same z, rmin and rmax given for "
|
||||
<< "consecutive indices, " << a << " and " << a+1 << endl;
|
||||
<< "consecutive indices, " << a << " and " << a+1 << G4endl;
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -485,7 +485,7 @@ G4ThreeVector G4BREPSolidPCone::SurfaceNormal(const G4ThreeVector& Pt) const
|
||||
|
||||
return n;
|
||||
} else {
|
||||
cout << "Warning ... PCone not able to return normal .. " << endl;
|
||||
G4cout << "Warning ... PCone not able to return normal .. " << G4endl;
|
||||
return ( G4ThreeVector(1,0,0));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4BREPSolidPolyhedra.cc,v 1.10.6.1 1999/12/07 20:48:22 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4BREPSolidPolyhedra.cc,v 1.11 1999/12/15 14:50:00 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// Corrections by S.Giani:
|
||||
// - Xaxis now corresponds to phi=0
|
||||
@@ -248,18 +248,18 @@ G4BREPSolidPolyhedra::G4BREPSolidPolyhedra(G4String name,
|
||||
|
||||
if(print_pgone_parameters)
|
||||
{
|
||||
G4cout << "Parameters of the G4PGone " << name << endl;
|
||||
G4cout << " starting angle =" << original_parameters.Start_angle << endl;
|
||||
G4cout << " opening angle =" << original_parameters.Opening_angle << endl;
|
||||
G4cout << " sides =" << original_parameters.Sides << endl;
|
||||
G4cout << " nb of z planes=" << original_parameters.Num_z_planes << endl;
|
||||
G4cout << "Parameters of the G4PGone " << name << G4endl;
|
||||
G4cout << " starting angle =" << original_parameters.Start_angle << G4endl;
|
||||
G4cout << " opening angle =" << original_parameters.Opening_angle << G4endl;
|
||||
G4cout << " sides =" << original_parameters.Sides << G4endl;
|
||||
G4cout << " nb of z planes=" << original_parameters.Num_z_planes << G4endl;
|
||||
|
||||
for (G4int nb = 0; nb <= sections; nb++)
|
||||
{
|
||||
G4cout << " Z[" << nb << "] = " << original_parameters.Z_values[nb];
|
||||
G4cout << " Rmin[" << nb << "] = " << original_parameters.Rmin[nb];
|
||||
G4cout << " Rmax[" << nb << "] = " << original_parameters.Rmax[nb]
|
||||
<< endl;
|
||||
<< G4endl;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4BREPSolidSphere.cc,v 1.1.10.1 1999/12/07 20:48:22 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4BREPSolidSphere.cc,v 1.2 1999/12/15 14:50:00 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
|
||||
#include "G4BREPSolidSphere.hh"
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4BREPSolidTorus.cc,v 1.1.10.1 1999/12/07 20:48:22 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4BREPSolidTorus.cc,v 1.2 1999/12/15 14:50:00 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
#include "G4BREPSolidTorus.hh"
|
||||
#include "G4ToroidalSurface.hh"
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4BSplineCurve.cc,v 1.1.10.1 1999/12/07 20:48:22 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4BSplineCurve.cc,v 1.2 1999/12/15 14:50:00 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
#include "G4BSplineCurve.hh"
|
||||
#include "G4ControlPoints.hh"
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4BSplineCurveWithKnots.cc,v 1.1.10.1 1999/12/07 20:48:22 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4BSplineCurveWithKnots.cc,v 1.2 1999/12/15 14:50:00 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
#include "G4BSplineCurveWithKnots.hh"
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4BSplineSurface.cc,v 1.2.8.1 1999/12/07 20:48:22 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4BSplineSurface.cc,v 1.3 1999/12/15 14:50:00 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
|
||||
#include "EntityInst.h"
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4BezierSurface.cc,v 1.1.10.1 1999/12/07 20:48:22 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4BezierSurface.cc,v 1.2 1999/12/15 14:50:00 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// L. Broglia, 10/10/98
|
||||
// Error in line 331 and replaced addition of coordinates by
|
||||
|
||||
@@ -28,12 +28,12 @@ void G4BoundingBox3D::Init(const G4Point3D& p1, const G4Point3D& p2)
|
||||
// Maybe temporary
|
||||
// Create a BBox bigger than the reality
|
||||
|
||||
box_min.setX( min(p1.x(), p2.x()) - kCarTolerance );
|
||||
box_min.setY( min(p1.y(), p2.y()) - kCarTolerance );
|
||||
box_min.setZ( min(p1.z(), p2.z()) - kCarTolerance );
|
||||
box_max.setX( max(p1.x(), p2.x()) + kCarTolerance );
|
||||
box_max.setY( max(p1.y(), p2.y()) + kCarTolerance );
|
||||
box_max.setZ( max(p1.z(), p2.z()) + kCarTolerance );
|
||||
box_min.setX( G4std::min(p1.x(), p2.x()) - kCarTolerance );
|
||||
box_min.setY( G4std::min(p1.y(), p2.y()) - kCarTolerance );
|
||||
box_min.setZ( G4std::min(p1.z(), p2.z()) - kCarTolerance );
|
||||
box_max.setX( G4std::max(p1.x(), p2.x()) + kCarTolerance );
|
||||
box_max.setY( G4std::max(p1.y(), p2.y()) + kCarTolerance );
|
||||
box_max.setZ( G4std::max(p1.z(), p2.z()) + kCarTolerance );
|
||||
|
||||
// Calc half spaces
|
||||
GeantBox = (box_max - box_min)*0.5;
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4CircularCurve.cc,v 1.1.10.1 1999/12/07 20:48:22 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4CircularCurve.cc,v 1.2 1999/12/15 14:50:01 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
|
||||
#include "G4CircularCurve.hh"
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4ConicalSurface.cc,v 1.1.10.1 1999/12/07 20:48:23 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4ConicalSurface.cc,v 1.2 1999/12/15 14:50:01 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
/* /usr/local/gismo/repo/geometry/G4ConicalSurface.cc,v 1.6 1994/08/03 17:15:01 burnett Exp */
|
||||
// File: G4ConicalSurface.cc
|
||||
@@ -17,7 +17,7 @@
|
||||
// G4ConicalSurface::G4ConicalSurface()
|
||||
// G4ConicalSurface::G4ConicalSurface( const G4Vector3D& o,
|
||||
// const G4Vector3D& a, G4double e )
|
||||
// G4ConicalSurface::PrintOn( ostream& os ) const
|
||||
// G4ConicalSurface::PrintOn( G4std::ostream& os ) const
|
||||
// G4ConicalSurface::HowNear( const G4Vector3D& x ) const
|
||||
// G4ConicalSurface::distanceAlongRay( int which_way, const Ray* ry,
|
||||
// G4Vector3D& p ) const
|
||||
@@ -91,9 +91,9 @@ void G4ConicalSurface::CalcBBox()
|
||||
}
|
||||
|
||||
|
||||
void G4ConicalSurface::PrintOn( ostream& os ) const
|
||||
void G4ConicalSurface::PrintOn( G4std::ostream& os ) const
|
||||
{
|
||||
// printing function using C++ ostream class
|
||||
// printing function using C++ G4std::ostream class
|
||||
os << "G4ConicalSurface surface with origin: " << origin << "\t"
|
||||
<< "angle: " << angle << " radians \tand axis " << axis << "\n";
|
||||
}
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4ControlPoints.cc,v 1.1.10.1 1999/12/07 20:48:23 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4ControlPoints.cc,v 1.2 1999/12/15 14:50:01 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
//
|
||||
// Modif 8 oct 98 : A.Floquet
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4Curve.cc,v 1.1.10.1 1999/12/07 20:48:23 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4Curve.cc,v 1.2 1999/12/15 14:50:01 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
#include "G4Curve.hh"
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4CylindricalSurface.cc,v 1.1.10.1 1999/12/07 20:48:23 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4CylindricalSurface.cc,v 1.2 1999/12/15 14:50:01 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
/* /usr/local/gismo/repo/geometry/G4CylindricalSurface.cc,v 1.24 1994/08/03 17:15:09 burnett Exp */
|
||||
// File: G4CylindricalSurface.cc
|
||||
@@ -18,7 +18,7 @@
|
||||
// G4CylindricalSurface::G4CylindricalSurface( const G4Vector3D& o,
|
||||
// const G4Vector3D& a,
|
||||
// G4double r )
|
||||
// G4CylindricalSurface::PrintOn( ostream& os ) const
|
||||
// G4CylindricalSurface::PrintOn( G4std::ostream& os ) const
|
||||
// G4CylindricalSurface::HowNear( const G4Vector3D& x ) const
|
||||
// G4CylindricalSurface::distanceAlongRay( int which_way, const Ray* ry,
|
||||
// G4Vector3D& p ) const
|
||||
@@ -85,9 +85,9 @@ G4CylindricalSurface::G4CylindricalSurface( const G4Vector3D& o,
|
||||
}
|
||||
|
||||
|
||||
void G4CylindricalSurface::PrintOn( ostream& os ) const
|
||||
void G4CylindricalSurface::PrintOn( G4std::ostream& os ) const
|
||||
{
|
||||
// printing function using C++ ostream class
|
||||
// printing function using C++ G4std::ostream class
|
||||
os << "G4CylindricalSurface surface with origin: " << origin << "\t"
|
||||
<< "radius: " << radius << "\tand axis " << axis << "\n";
|
||||
}
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4Ellipse.cc,v 1.1.10.1 1999/12/07 20:48:23 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4Ellipse.cc,v 1.2 1999/12/15 14:50:01 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
|
||||
#include "G4Ellipse.hh"
|
||||
@@ -72,7 +72,7 @@ void G4Ellipse::InitBounded()
|
||||
{
|
||||
// original implementation
|
||||
// const G4Point3D& center = position.GetLocation();
|
||||
// G4double maxEntent = max(semiAxis1, semiAxis2);
|
||||
// G4double maxEntent = G4std::max(semiAxis1, semiAxis2);
|
||||
// G4Vector3D halfExtent(maxEntent, maxEntent, maxEntent);
|
||||
// bBox.Init(center+halfExtent, center-halfExtent);
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4FConicalSurface.cc,v 1.8.8.1 1999/12/07 20:48:24 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4FConicalSurface.cc,v 1.9 1999/12/15 14:50:01 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
/* /usr/local/gismo/repo/geometry/G4FConicalSurface.cc,v 1.2 1993/02/05 00:38:39 alanb Exp */
|
||||
// File: G4FConicalSurface.cc
|
||||
@@ -18,7 +18,7 @@
|
||||
// const G4Vector3D& a,
|
||||
// G4double l, G4double sr, G4double lr )
|
||||
// G4FConicalSurface::G4FConicalSurface( const G4FConicalSurface& c )
|
||||
// G4FConicalSurface::PrintOn( ostream& os ) const
|
||||
// G4FConicalSurface::PrintOn( G4std::ostream& os ) const
|
||||
// G4FConicalSurface::operator==( const G4FConicalSurface& c )
|
||||
// G4FConicalSurface::WithinBoundary( const G4Vector3D& x ) const
|
||||
// G4FConicalSurface::Scale() const
|
||||
@@ -139,9 +139,9 @@ void G4FConicalSurface::CalcBBox()
|
||||
}
|
||||
|
||||
|
||||
void G4FConicalSurface::PrintOn( ostream& os ) const
|
||||
void G4FConicalSurface::PrintOn( G4std::ostream& os ) const
|
||||
{
|
||||
// printing function using C++ ostream class
|
||||
// printing function using C++ G4std::ostream class
|
||||
os << "G4FConicalSurface with origin: " << origin << "\t"
|
||||
<< "and axis: " << Position.GetAxis() << "\n"
|
||||
<< "\t small radius: " << small_radius
|
||||
@@ -362,7 +362,7 @@ G4double G4FConicalSurface::HowNear( const G4Vector3D& x ) const
|
||||
hownear = fabs(m*xd.x()-xd.z()+q)/sqrt(1+m*m);
|
||||
return hownear;
|
||||
} else {
|
||||
hownear = min ( (xd-upcorner).mag() , (xd-downcorner).mag() );
|
||||
hownear = G4std::min ( (xd-upcorner).mag() , (xd-downcorner).mag() );
|
||||
return hownear;
|
||||
}
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4FCylindricalSurface.cc,v 1.8.8.1 1999/12/07 20:48:24 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4FCylindricalSurface.cc,v 1.9 1999/12/15 14:50:01 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
/* /usr/local/gismo/repo/geometry/FG4Cylinder.cc,v 1.1 1992/10/27 22:02:29 alanb Exp */
|
||||
// File: FG4Cylinder.cc
|
||||
@@ -17,7 +17,7 @@
|
||||
// FG4Cylinder::FG4Cylinder( const G4Point3D& o, const G4ThreeVec& a,
|
||||
// G4double r, G4double l )
|
||||
// FG4Cylinder::FG4Cylinder( const FG4Cylinder& c )
|
||||
// FG4Cylinder::PrintOn( ostream& os ) const
|
||||
// FG4Cylinder::PrintOn( G4std::ostream& os ) const
|
||||
// FG4Cylinder::operator==( const FG4Cylinder& c )
|
||||
// FG4Cylinder::WithinBoundary( const G4ThreeVec& x ) const
|
||||
// FG4Cylinder::Scale() const
|
||||
@@ -76,8 +76,8 @@ G4FCylindricalSurface::G4FCylindricalSurface( const G4FCylindricalSurface& c )
|
||||
length = c.length;
|
||||
}
|
||||
|
||||
// printing function using C++ ostream class
|
||||
void G4FCylindricalSurface::PrintOn( ostream& os ) const
|
||||
// printing function using C++ G4std::ostream class
|
||||
void G4FCylindricalSurface::PrintOn( G4std::ostream& os ) const
|
||||
{
|
||||
os << "G4FCylindricalSurface with origin: " << origin << "\t"
|
||||
<< "and axis: " << Position.GetAxis() << "\n"
|
||||
@@ -239,7 +239,7 @@ G4double G4FCylindricalSurface::HowNear( const G4Vector3D& x ) const
|
||||
if ( ((Zinter >= downcorner.z()) && (Zinter <=upcorner.z())) ) {
|
||||
hownear = fabs( radius - xd.x() );
|
||||
} else {
|
||||
hownear = min ( (xd-upcorner).mag() , (xd-downcorner).mag() );
|
||||
hownear = G4std::min ( (xd-upcorner).mag() , (xd-downcorner).mag() );
|
||||
}
|
||||
|
||||
return hownear;
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4FPlane.cc,v 1.6.8.1 1999/12/07 20:48:24 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4FPlane.cc,v 1.7 1999/12/15 14:50:01 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// Corrections by S.Giani:
|
||||
// - The constructor using iVec now properly stores both the internal and
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4Hyperbola.cc,v 1.1.10.1 1999/12/07 20:48:25 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4Hyperbola.cc,v 1.2 1999/12/15 14:50:01 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
|
||||
#include "G4Hyperbola.hh"
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4KnotVector.cc,v 1.1.10.1 1999/12/07 20:48:25 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4KnotVector.cc,v 1.2 1999/12/15 14:50:01 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
|
||||
#include "G4KnotVector.hh"
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4Line.cc,v 1.3.8.1 1999/12/07 20:48:25 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4Line.cc,v 1.4 1999/12/15 14:50:01 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
#include "G4Line.hh"
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4OsloMatrix.cc,v 1.1.10.1 1999/12/07 20:48:25 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4OsloMatrix.cc,v 1.2 1999/12/15 14:50:01 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
|
||||
#include "G4OsloMatrix.hh"
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4Parabola.cc,v 1.1.10.1 1999/12/07 20:48:25 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4Parabola.cc,v 1.2 1999/12/15 14:50:02 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
#include "G4Parabola.hh"
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PlacedSolid.cc,v 1.1.10.1 1999/12/07 20:48:25 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4PlacedSolid.cc,v 1.2 1999/12/15 14:50:02 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
#include "G4PlacedSolid.hh"
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PointRat.cc,v 1.1.10.1 1999/12/07 20:48:25 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4PointRat.cc,v 1.2 1999/12/15 14:50:02 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
//
|
||||
// Modif 8 oct 98 : A.Floquet
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4ProjectedSurface.cc,v 1.2.8.1 1999/12/07 20:48:25 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4ProjectedSurface.cc,v 1.3 1999/12/15 14:50:02 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
#include "G4ProjectedSurface.hh"
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4Ray.cc,v 1.1.10.1 1999/12/07 20:48:26 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4Ray.cc,v 1.2 1999/12/15 14:50:02 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
#include "G4Ray.hh"
|
||||
#include "G4PointRat.hh"
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4RectangularTrimmedSurface.cc,v 1.1.10.1 1999/12/07 20:48:26 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4RectangularTrimmedSurface.cc,v 1.2 1999/12/15 14:50:02 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
#include "SdaiCONFIG_CONTROL_DESIGN.h"
|
||||
#include "G4RectangularTrimmedSurface.hh"
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4Sort.cc,v 1.1.10.1 1999/12/07 20:48:26 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4Sort.cc,v 1.2 1999/12/15 14:50:02 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// File: G4Sort.cc
|
||||
// Author: Alan Breakstone
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4SphericalSurface.cc,v 1.1.10.1 1999/12/07 20:48:27 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4SphericalSurface.cc,v 1.2 1999/12/15 14:50:02 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
/* $Header: /private/Net/unixhub/u1/ea/liml/gismo/gismo-0.2/geometry/RCS/G4SphericalSurface.cc,v 1.10 1992/08 */
|
||||
// File: G4SphericalSurface.cc
|
||||
@@ -20,7 +20,7 @@
|
||||
// const G4Vector3D& zhat,
|
||||
// G4double r, G4double ph1, G4double ph2,
|
||||
// G4double th1, G4double th2 )
|
||||
// G4SphericalSurface::PrintOn( ostream& os ) const
|
||||
// G4SphericalSurface::PrintOn( G4std::ostream& os ) const
|
||||
// G4SphericalSurface::HowNear( const G4Vector3D& x ) const
|
||||
// G4SphericalSurface::distanceAlongRay( int which_way, const Ray* ry,
|
||||
// G4Vector3D& p ) const
|
||||
@@ -162,9 +162,9 @@ G4SphericalSurface::G4SphericalSurface( const G4Vector3D& o,
|
||||
}
|
||||
|
||||
|
||||
void G4SphericalSurface::PrintOn( ostream& os ) const
|
||||
void G4SphericalSurface::PrintOn( G4std::ostream& os ) const
|
||||
{
|
||||
// printing function using C++ ostream class
|
||||
// printing function using C++ G4std::ostream class
|
||||
os << "G4SphericalSurface surface with origin: " << origin << "\t"
|
||||
<< "radius: " << radius << "\n"
|
||||
<< "\t local x_axis: " << x_axis
|
||||
|
||||
@@ -157,8 +157,8 @@ G4double G4Surface::ClosestDistanceToPoint(const G4Point3D& Pt)
|
||||
|
||||
// Contents ----------------------------------------------------------
|
||||
//
|
||||
// operator<<( ostream& os, const Surface& s )
|
||||
// Surface::PrintOn( ostream& os ) const
|
||||
// operator<<( G4std::ostream& os, const Surface& s )
|
||||
// Surface::PrintOn( G4std::ostream& os ) const
|
||||
// Surface::HowNear( const G4ThreeVec& x ) const
|
||||
// Surface::distanceAlongRay( int which_way, const Ray* ry,
|
||||
// G4ThreeVec& p ) const
|
||||
@@ -175,7 +175,7 @@ G4double G4Surface::ClosestDistanceToPoint(const G4Point3D& Pt)
|
||||
//
|
||||
// End ---------------------------------------------------------------
|
||||
|
||||
ostream& operator<<( ostream& os, const G4Surface& s )
|
||||
G4std::ostream& operator<<( G4std::ostream& os, const G4Surface& s )
|
||||
{
|
||||
// overwrite output operator << to Print out Surface objects
|
||||
// using the PrintOn function defined below
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4SurfaceList.cc,v 1.1.10.1 1999/12/07 20:48:27 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4SurfaceList.cc,v 1.2 1999/12/15 14:50:02 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
#include "G4SurfaceList.hh"
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4ThreeMat.cc,v 1.1.10.1 1999/12/07 20:48:27 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4ThreeMat.cc,v 1.2 1999/12/15 14:50:02 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
/* G4ThreeMat.cc,v 1.5 1993/08/02 22:21:27 atwood Exp */
|
||||
// File: G4ThreeMat.cc
|
||||
@@ -16,8 +16,8 @@
|
||||
//
|
||||
// G4ThreeMat::G4ThreeMat()
|
||||
// G4ThreeMat::G4ThreeMat( G4double a[3][3] )
|
||||
// operator<<( ostream&, const G4ThreeMat& m );
|
||||
// G4ThreeMat::PrintOn( ostream& os ) const
|
||||
// operator<<( G4std::ostream&, const G4ThreeMat& m );
|
||||
// G4ThreeMat::PrintOn( G4std::ostream& os ) const
|
||||
// operator==( const G4ThreeMat& m )
|
||||
// G4ThreeMat::operator=( const G4ThreeMat& m )
|
||||
// G4ThreeMat::operator-()
|
||||
@@ -76,7 +76,7 @@ G4ThreeMat::G4ThreeMat( const G4ThreeMat& m )
|
||||
}
|
||||
|
||||
|
||||
ostream& operator<<( ostream& os, const G4ThreeMat& m )
|
||||
G4std::ostream& operator<<( G4std::ostream& os, const G4ThreeMat& m )
|
||||
{
|
||||
// overwrite output operator << to Print out G4ThreeMat objects
|
||||
// using the PrintOn function defined below
|
||||
@@ -85,9 +85,9 @@ ostream& operator<<( ostream& os, const G4ThreeMat& m )
|
||||
}
|
||||
|
||||
|
||||
void G4ThreeMat::PrintOn( ostream& os ) const
|
||||
void G4ThreeMat::PrintOn( G4std::ostream& os ) const
|
||||
{
|
||||
// printing function using C++ ostream class
|
||||
// printing function using C++ G4std::ostream class
|
||||
os << "[ " << element[0][0] << "\t"
|
||||
<< element[0][1] << "\t"
|
||||
<< element[0][2] << "\n "
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4ToroidalSurface.cc,v 1.1.10.1 1999/12/07 20:48:27 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4ToroidalSurface.cc,v 1.2 1999/12/15 14:50:02 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
#include "G4ToroidalSurface.hh"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user