Import Geant4 3.0.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: G4EllipticalTube.cc,v 1.7 2000/04/19 19:09:07 davidw Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
// $Id: G4EllipticalTube.cc,v 1.9 2000/11/20 18:18:58 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-03-00 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
@@ -35,8 +35,8 @@
|
||||
// Constructor
|
||||
//
|
||||
G4EllipticalTube::G4EllipticalTube( const G4String &name,
|
||||
const G4double theDx, const G4double theDy, const G4double theDz )
|
||||
: G4VSolid( name )
|
||||
G4double theDx, G4double theDy, G4double theDz )
|
||||
: G4VSolid( name )
|
||||
{
|
||||
dx = theDx;
|
||||
dy = theDy;
|
||||
@@ -182,7 +182,7 @@ EInside G4EllipticalTube::Inside( const G4ThreeVector& p) const
|
||||
//
|
||||
// Check x,y: are we outside?
|
||||
//
|
||||
G4double x = p.x(), y = p.y();
|
||||
// G4double x = p.x(), y = p.y();
|
||||
|
||||
if (CheckXY(p.x(), p.y(), +halfTol) > 1.0) return kOutside;
|
||||
|
||||
@@ -459,7 +459,7 @@ G4double G4EllipticalTube::DistanceToOut( const G4ThreeVector& p,const G4ThreeVe
|
||||
if (calcNorm) *validNorm = true;
|
||||
|
||||
G4double sBest = kInfinity;
|
||||
const G4ThreeVector *nBest;
|
||||
const G4ThreeVector *nBest=0;
|
||||
|
||||
//
|
||||
// Might we intersect the -dz surface?
|
||||
|
||||
Reference in New Issue
Block a user