Import Geant4 6.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 10:41:53 +02:00
parent 4aea781e80
commit 96686e0c8f
6560 changed files with 153347 additions and 238155 deletions
@@ -22,7 +22,7 @@
//
//
// $Id: G4Assembly.cc,v 1.5 2001/07/11 09:59:40 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -22,7 +22,7 @@
//
//
// $Id: G4Axis2Placement3D.cc,v 1.6 2001/07/11 09:59:40 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4BREPSolid.cc,v 1.24 2003/06/16 16:52:43 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// $Id: G4BREPSolid.cc,v 1.25 2003/10/28 13:42:29 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -726,7 +726,8 @@ G4BREPSolid::CreateRotatedVertices(const G4AffineTransform& pTransform) const
}
else
{
G4Exception("G4BREPSolid::CreateRotatedVertices Out of memory - Cannot alloc vertices");
G4Exception("G4BREPSolid::CreateRotatedVertices()", "FatalError",
FatalException, "Out of memory - Cannot allocate vertices!");
}
return vertices;
}
@@ -22,7 +22,7 @@
//
//
// $Id: G4BREPSolidBox.cc,v 1.8 2003/06/16 16:52:44 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: G4BREPSolidCone.cc,v 1.12 2003/06/16 16:52:45 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: G4BREPSolidCylinder.cc,v 1.9 2003/06/16 16:52:46 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -22,7 +22,7 @@
//
//
// $Id: G4BREPSolidOpenPCone.cc,v 1.8 2003/06/16 16:52:47 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -20,8 +20,8 @@
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4BREPSolidPCone.cc,v 1.32 2003/06/16 16:52:48 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// $Id: G4BREPSolidPCone.cc,v 1.33 2003/10/28 13:42:30 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -80,8 +80,11 @@ G4BREPSolidPCone::G4BREPSolidPCone(const G4String& name,
// At the moment (11/03/2002) the phi section is not implemented
// so we take a G4 application down if there is a request for such
// a configuration
if( opening_angle < 2*pi-perMillion ) {
G4Exception( "G4BREPSolidPCone::G4BREPSolidPCone() - phi section not supported yet, try to use G4Polycone instead!\a\n" );
if( opening_angle < 2*pi-perMillion )
{
G4Exception("G4BREPSolidPCone::G4BREPSolidPCone()",
"NotImplemented", FatalException,
"Sorry, phi-section not supported yet, try to use G4Polycone instead!");
}
///////////////////////////////////////////////////
@@ -91,21 +94,29 @@ G4BREPSolidPCone::G4BREPSolidPCone(const G4String& name,
// when RMIN[0] or RMIN[num_z_planes-1] are = 0
if( ((RMIN[0] == 0) && (RMAX[0] == 0)) ||
((RMIN[num_z_planes-1] == 0) && (RMAX[num_z_planes-1] == 0)) )
G4Exception("G4BREPSolidPCone::G4BREPSolidPCone() - RMIN at the extremities cannot be 0 when RMAX = 0 !");
G4Exception("G4BREPSolidPCone::G4BREPSolidPCone()",
"InvalidSetup", FatalException,
"RMIN at the extremities cannot be 0 when RMAX=0 !");
// only RMAX[0] and RMAX[num_z_planes-1] can be = 0
for(a = 1; a < num_z_planes-1; a++)
if (RMAX[a] == 0)
G4Exception("G4BREPSolidPCone::G4BREPSolidPCone() - RMAX inside the solid cannot be 0 !");
G4Exception("G4BREPSolidPCone::G4BREPSolidPCone()",
"InvalidSetup", FatalException,
"RMAX inside the solid cannot be 0 !");
// RMAX[a] must be greater than RMIN[a]
for(a = 1; a < num_z_planes-1; a++)
if (RMIN[a] >= RMAX[a])
G4Exception("G4BREPSolidPCone::G4BREPSolidPCone() - RMAX must be greater than RMIN in the middle Z planes !");
G4Exception("G4BREPSolidPCone::G4BREPSolidPCone()",
"InvalidSetup", FatalException,
"RMAX must be greater than RMIN in the middle Z planes !");
if( (RMIN[num_z_planes-1] > RMAX[num_z_planes-1] )
|| (RMIN[0] > RMAX[0]) )
G4Exception("G4BREPSolidPCone::G4BREPSolidPCone() - RMAX must be greater or equal than RMIN at the ends !");
G4Exception("G4BREPSolidPCone::G4BREPSolidPCone()",
"InvalidSetup", FatalException,
"RMAX must be greater or equal than RMIN at the ends !");
// Create surfaces
for( a = 0; a < sections; a++)
@@ -154,10 +165,13 @@ G4BREPSolidPCone::G4BREPSolidPCone(const G4String& name,
if( RMIN[a] > RMAX[a+1] || RMAX[a] < RMIN[a+1] ) {
char msgbuf[512];
std::ostrstream os(msgbuf,512);
os << G4endl << "G4BREPSolidPCone::G4BREPSolidPCone() - The values "
<< "of RMIN[" << a << "] & RMAX[" << a+1 << "] or RMAX[" << a << "] & RMIN[" << a+1 << "] "
<< "make an invalid configuration of G4BREPSolidPCone " << name.c_str() << "!" << G4endl;
G4Exception( msgbuf );
os << "The values of RMIN[" << a
<< "] & RMAX[" << a+1 << "] or RMAX[" << a
<< "] & RMIN[" << a+1 << "] "
<< "generate an invalid configuration for solid: "
<< name.c_str() << "!" << G4endl;
G4Exception("G4BREPSolidPCone::G4BREPSolidPCone()",
"InvalidSetup", FatalException, msgbuf );
}
ESurfaceSense UpSurfSense, LowSurfSense;
@@ -20,8 +20,8 @@
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4BREPSolidPolyhedra.cc,v 1.25 2003/06/16 16:52:49 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// $Id: G4BREPSolidPolyhedra.cc,v 1.26 2003/10/28 13:42:30 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -101,18 +101,24 @@ G4BREPSolidPolyhedra::G4BREPSolidPolyhedra(const G4String& name,
// Detecting minimal required number of sides
if( sides < 3 ) {
G4Exception( "\nG4BREPSolidPolyhedra must have at least 3 sides!\a\n" );
G4Exception( "G4BREPSolidPolyhedra::G4BREPSolidPolyhedra()",
"InvalidSetup", FatalException,
"The solid must have at least 3 sides!" );
}
// Detecting minimal required number of z-sections
if( num_z_planes < 2 ) {
G4Exception( "\nG4BREPSolidPolyhedra must have at least 2 z-sections!\a\n" );
G4Exception( "G4BREPSolidPolyhedra::G4BREPSolidPolyhedra()",
"InvalidSetup", FatalException,
"The solid must have at least 2 z-sections!" );
}
// Detect invalid configurations at the ends of polyhedra which would not lead to
// a valid solid creation and likely to a crash
if( z_values[0] == z_values[1] || z_values[sections-1] == z_values[sections] ) {
G4Exception( "\nG4BREPSolidPolyhedra must have the first 2 and the last 2 z-values different!\a\n" );
G4Exception( "G4BREPSolidPolyhedra::G4BREPSolidPolyhedra()",
"InvalidSetup", FatalException,
"The solid must have the first 2 and the last 2 z-values different!" );
}
// Find out how the z-values sequence is ordered
@@ -135,11 +141,14 @@ G4BREPSolidPolyhedra::G4BREPSolidPolyhedra(const G4String& name,
// ERROR! Invalid sequence of z-values
std::ostrstream msgstr;
msgstr << G4endl
<< "ERROR: The unordered, non-increasing or non-decreasing sequence of z_values detected!\a"
<< "ERROR: unordered, non-increasing or non-decreasing sequence"
<< G4endl
<< "Check z_values with indexes: "
<< idx << " " << (idx+1) << G4endl << std::ends;
G4Exception( msgstr.str() );
<< " of z_values detected!"
<< G4endl
<< " Check z_values with indexes: "
<< idx << " " << (idx+1) << "." << G4endl << std::ends;
G4Exception( "G4BREPSolidPolyhedra::G4BREPSolidPolyhedra()",
"InvalidSetup", FatalException, msgstr.str() );
}
}
///////////////////////////////////////////////////
@@ -182,11 +191,15 @@ G4BREPSolidPolyhedra::G4BREPSolidPolyhedra(const G4String& name,
// ERROR! The surface conflict!
std::ostrstream msgstr;
msgstr << G4endl
<< "ERROR: The unordered sequence of z_values detected with conflicting RMAX or RMIN values!\a"
<< "ERROR: unordered sequence of z_values detected with"
<< G4endl
<< "Check z_values with indexes: "
<< (idx-1) << " " << idx << " " << (idx+1) << G4endl << std::ends;
G4Exception( msgstr.str() );
<< " conflicting RMAX or RMIN values!"
<< G4endl
<< " Check z_values with indexes: "
<< (idx-1) << " " << idx << " " << (idx+1) << "."
<< G4endl << std::ends;
G4Exception( "G4BREPSolidPolyhedra::G4BREPSolidPolyhedra()",
"InvalidSetup", FatalException, msgstr.str() );
}
}
}
@@ -254,7 +267,9 @@ G4BREPSolidPolyhedra::G4BREPSolidPolyhedra(const G4String& name,
TmpAxis, PartAngle, ENormal );
} else {
// Two consecutive RMAX values can't be zero as it's against the definition of BREP polyhedra
G4Exception( "\nTwo consecutive RMAX values can't be zero!\n" );
G4Exception( "G4BREPSolidPolyhedra::G4BREPSolidPolyhedra()",
"InvalidSetup", FatalException,
"Two consecutive RMAX values cannot be zero!" );
}
Count++;
@@ -302,10 +317,12 @@ G4BREPSolidPolyhedra::G4BREPSolidPolyhedra(const G4String& name,
// where i in in interval 0 < i < num_z_planes-1. So:
if( RMIN[a] > RMAX[a+1] || RMAX[a] < RMIN[a+1] ) {
std::strstream s;
s << G4endl << "G4BREPSolidPolyhedra::G4BREPSolidPolyhedra() - The values "
<< "of RMIN[" << a << "] & RMAX[" << a+1 << "] or RMAX[" << a << "] & RMIN[" << a+1 << "] "
<< "make an invalid configuration of G4BREPSolidPolyhedra " << name.c_str() << "!" << G4endl << std::ends;
G4Exception( s.str() );
s << G4endl << "The values of RMIN[" << a << "] & RMAX[" << a+1
<< "] or RMAX[" << a << "] & RMIN[" << a+1 << "] "
<< "generate an invalid configuration of solid: "
<< name.c_str() << "!" << G4endl << std::ends;
G4Exception( "G4BREPSolidPolyhedra::G4BREPSolidPolyhedra()",
"InvalidSetup", FatalException, s.str() );
}
// We need to clasify all the cases in order to figure out the planar surface sense
@@ -408,9 +425,16 @@ G4BREPSolidPolyhedra::G4BREPSolidPolyhedra(const G4String& name,
SurfSense = EInverse;
}
} else {
G4cerr << "Error in construction of G4BREPSolidPolyhedra. \n"
<< "Exactly the same z, rmin and rmax given for \n"
<< "consecutive indices, " << a << " and " << a+1 << G4endl;
G4cerr << "ERROR - G4BREPSolidPolyhedra::G4BREPSolidPolyhedra()"
<< G4endl
<< " Error in construction."
<< G4endl
<< " Exactly the same z, rmin and rmax given for"
<< G4endl
<< " consecutive indices, " << a << " and " << a+1
<< G4endl;
G4Exception( "G4BREPSolidPolyhedra::G4BREPSolidPolyhedra()",
"Notification", JustWarning, "Construction Error!" );
continue;
}
@@ -547,14 +571,17 @@ G4BREPSolidPolyhedra::G4BREPSolidPolyhedra(const G4String& name,
}
if( sf != nb_of_surfaces ) {
G4cerr << "Bad number of surfaces!\a\n"
<< "sf: " << sf
<< " nb_of_surfaces: " << nb_of_surfaces
<< " Count: " << Count
G4cerr << "ERROR - G4BREPSolidPolyhedra::G4BREPSolidPolyhedra()" << G4endl
<< " Bad number of surfaces!" << G4endl
<< " sf : " << sf
<< " nb_of_surfaces: " << nb_of_surfaces
<< " Count : " << Count
<< G4endl;
// Should we call G4Exception here ?
// Yes, because it usually leads to a crash
G4Exception( "INTERNAL ERROR: Going bananas!\a\n" );
G4Exception( "G4BREPSolidPolyhedra::G4BREPSolidPolyhedra()",
"FatalError", FatalException,
"INTERNAL ERROR: Going bananas!" );
}
// Clean up the temporary vector of surfaces
@@ -594,10 +621,13 @@ G4BREPSolidPolyhedra::G4BREPSolidPolyhedra(const G4String& name,
if( z_values[0] != z_start )
{
G4cerr << "ERROR in creating G4BREPSolidPolyhedra: " <<
" z_values[0]= " << z_values[0] << " is not equal to " <<
" z_start= " << z_start;
// G4Exception(" Error in creating G4BREPSolidPolyhedra: z_values[0] must be equal to z_start" );
G4cerr << "ERROR - G4BREPSolidPolyhedra::G4BREPSolidPolyhedra()" << G4endl
<< " Wrong solid parameters: "
<< " z_values[0]= " << z_values[0] << " is not equal to "
<< " z_start= " << z_start << "." << G4endl;
G4Exception( "G4BREPSolidPolyhedra::G4BREPSolidPolyhedra()",
"Notification", JustWarning,
"Construction Error. z_values[0] must be equal to z_start!" );
constructorParams.z_values[0]= z_start;
}
@@ -22,7 +22,7 @@
//
//
// $Id: G4BREPSolidSphere.cc,v 1.7 2003/06/16 16:52:50 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -22,7 +22,7 @@
//
//
// $Id: G4BREPSolidTorus.cc,v 1.7 2003/06/16 16:52:51 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4BSplineCurve.cc,v 1.10 2003/03/28 13:11:52 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-02 $
// $Id: G4BSplineCurve.cc,v 1.11 2003/10/28 13:42:30 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -326,8 +326,8 @@ G4Point3d G4BSplineCurve::GetBoundMax()
G4bool G4BSplineCurve::Tangent(G4CurvePoint&, G4Vector3D&)
{
G4Exception("G4BSplineCurve::Tangent - Not implemented !");
G4Exception("G4BSplineCurve::Tangent()", "NotImplemented",
FatalException, "Sorry, not implemented !");
return false;
}
@@ -22,7 +22,7 @@
//
//
// $Id: G4BSplineCurveWithKnots.cc,v 1.4 2001/07/11 09:59:42 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -22,7 +22,7 @@
//
//
// $Id: G4BSplineSurface.cc,v 1.12 2003/03/28 13:11:53 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -22,7 +22,7 @@
//
//
// $Id: G4BSplineSurfaceWithKnots.cc,v 1.3 2001/07/11 09:59:43 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -22,7 +22,7 @@
//
//
// $Id: G4BezierSurface.cc,v 1.7 2003/03/28 13:11:53 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -22,7 +22,7 @@
//
//
// $Id: G4BoundingBox3D.cc,v 1.8 2003/06/16 16:52:52 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4CircularCurve.cc,v 1.7 2003/03/28 13:11:56 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-02 $
// $Id: G4CircularCurve.cc,v 1.8 2003/10/28 13:42:30 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -145,16 +145,19 @@ G4double G4CircularCurve::GetPPoint(const G4Point3D& pt) const
/*
#include "G4CurveRayIntersection.hh"
void G4CircularCurve::IntersectRay2D(const G4Ray& ray,
G4CurveRayIntersection& is)
void G4CircularCurve::IntersectRay2D(const G4Ray&,
G4CurveRayIntersection&)
{
G4Exception("G4CircularCurve is always 3D!");
exit(1);
G4Exception("G4CircularCurve::IntersectRay2D()",
"NotApplicable", FatalException,
"G4CircularCurve is always 3D!");
}
*/
G4int G4CircularCurve::IntersectRay2D(const G4Ray&)
{
G4Exception("G4CircularCurve is always 3D!");
G4Exception("G4CircularCurve::IntersectRay2D()",
"NotApplicable", FatalException,
"G4CircularCurve is always 3D!");
return 0;
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4CompositeCurve.cc,v 1.11 2003/03/28 13:11:56 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-02 $
// $Id: G4CompositeCurve.cc,v 1.12 2003/10/28 13:42:30 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -121,20 +121,23 @@ G4Curve* G4CompositeCurve::Project(const G4Transform3D& tr)
G4double G4CompositeCurve::GetPMax() const
{
G4Exception("G4CompositeCurve::GetPMax");
G4Exception("G4CompositeCurve::GetPMax()", "NotApplicable",
FatalException, "Not applicable to base class.");
return 0;
}
G4Point3D G4CompositeCurve::GetPoint(G4double) const
{
G4Exception("G4CompositeCurve::GetPoint");
G4Exception("G4CompositeCurve::GetPoint()", "NotApplicable",
FatalException, "Not applicable to base class.");
// Fake return value
return G4Point3D();
}
G4double G4CompositeCurve::GetPPoint(const G4Point3D&) const
{
G4Exception("G4CompositeCurve::GetPPoint");
G4Exception("G4CompositeCurve::GetPPoint()", "NotApplicable",
FatalException, "Not applicable to base class.");
return 0;
}
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4Conic.cc,v 1.7 2003/03/28 13:11:57 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -22,7 +22,7 @@
//
//
// $Id: G4ConicalSurface.cc,v 1.8 2003/06/16 16:52:53 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -22,7 +22,7 @@
//
//
// $Id: G4ControlPoints.cc,v 1.7 2003/03/28 13:11:57 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4Curve.cc,v 1.6 2001/07/11 09:59:44 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -22,7 +22,7 @@
//
//
// $Id: G4CurvePoint.cc,v 1.4 2001/07/11 09:59:44 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -22,7 +22,7 @@
//
//
// $Id: G4CurveRayIntersection.cc,v 1.5 2003/03/28 13:11:58 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -22,7 +22,7 @@
//
//
// $Id: G4CylindricalSurface.cc,v 1.5 2003/06/16 16:52:54 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -22,7 +22,7 @@
//
//
// $Id: G4Ellipse.cc,v 1.9 2003/06/16 16:52:55 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -22,7 +22,7 @@
//
//
// $Id: G4FConicalSurface.cc,v 1.16 2003/06/16 16:52:56 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -22,7 +22,7 @@
//
//
// $Id: G4FCylindricalSurface.cc,v 1.13 2003/06/16 16:52:57 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4FPlane.cc,v 1.14 2002/01/28 16:29:42 radoone Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Hyperbola.cc,v 1.8 2003/03/28 13:11:58 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-02 $
// $Id: G4Hyperbola.cc,v 1.9 2003/10/28 13:42:30 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -90,7 +90,8 @@ G4Hyperbola& G4Hyperbola::operator=(const G4Hyperbola& right)
G4Curve* G4Hyperbola::Project(const G4Transform3D& tr)
{
G4Exception("G4Hyperbola::Project");
G4Exception("G4Hyperbola::Project()", "NotImplemented",
FatalException, "Sorry, not yet implemented.");
G4Point3D newLocation= tr*position.GetLocation();
newLocation.setZ(0);
@@ -22,7 +22,7 @@
//
//
// $Id: G4KnotVector.cc,v 1.6 2001/07/11 09:59:45 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4Line.cc,v 1.8 2003/03/28 13:12:00 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -22,7 +22,7 @@
//
//
// $Id: G4OsloMatrix.cc,v 1.5 2001/07/11 09:59:45 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -22,7 +22,7 @@
//
//
// $Id: G4Parabola.cc,v 1.6 2003/03/28 13:12:01 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -22,7 +22,7 @@
//
//
// $Id: G4PlacedSolid.cc,v 1.4 2001/07/11 09:59:46 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -22,7 +22,7 @@
//
//
// $Id: G4PointRat.cc,v 1.5 2001/07/11 09:59:46 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -22,7 +22,7 @@
//
//
// $Id: G4ProjectedSurface.cc,v 1.9 2003/03/28 13:12:02 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4Ray.cc,v 1.9 2003/03/28 13:12:02 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -22,7 +22,7 @@
//
//
// $Id: G4RectangularTrimmedSurface.cc,v 1.6 2001/07/11 09:59:46 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4Sort.cc,v 1.4 2001/07/11 09:59:46 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 source file
@@ -22,7 +22,7 @@
//
//
// $Id: G4SphericalSurface.cc,v 1.7 2003/06/16 16:52:58 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Surface.cc,v 1.12 2003/06/16 16:52:59 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// $Id: G4Surface.cc,v 1.13 2003/10/28 13:42:30 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -135,7 +135,8 @@ G4int G4Surface::Intersect(const G4Ray&)
{
G4int Result = 0;
G4Exception("G4Surface::Intersect is not implemented. It should not be called. ");
G4Exception("G4Surface::Intersect()", "NotImplemented",
FatalException, "Sorry, not yet implemented.");
#ifdef NEW_IMPLEMENTATION
// get the intersection
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4SurfaceBoundary.cc,v 1.11 2003/03/28 13:12:03 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-02 $
// $Id: G4SurfaceBoundary.cc,v 1.12 2003/10/28 13:42:31 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -209,12 +209,14 @@ void G4SurfaceBoundary::SplitWithPlane(const G4Point3D&,
G4SurfaceBoundary*&,
G4SurfaceBoundary*&)
{
G4Exception("To be implemented");
G4Exception("G4SurfaceBoundary::SplitWithPlane()", "NotImplemented",
FatalException, "Sorry, not yet implemented.");
}
void G4SurfaceBoundary::SplitWithCylinder(const G4CylindricalSurface&,
G4SurfaceBoundary*&,
G4SurfaceBoundary*&)
{
G4Exception("To be implemented");
G4Exception("G4SurfaceBoundary::SplitWithCylinder()", "NotImplemented",
FatalException, "Sorry, not yet implemented.");
}
@@ -22,7 +22,7 @@
//
//
// $Id: G4SurfaceList.cc,v 1.6 2001/07/11 09:59:48 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -22,7 +22,7 @@
//
//
// $Id: G4SurfaceOfLinearExtrusion.cc,v 1.3 2001/07/11 09:59:48 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -25,7 +25,7 @@
// and all its terms.
//
// $Id: G4SurfaceOfRevolution.cc,v 1.3 2001/07/11 09:59:48 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -22,7 +22,7 @@
//
//
// $Id: G4ThreeMat.cc,v 1.7 2003/06/16 16:53:00 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -22,7 +22,7 @@
//
//
// $Id: G4ToroidalSurface.cc,v 1.7 2003/03/28 13:12:03 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-02 $
// GEANT4 tag $Name: geant4-06-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file