Import Geant4 8.2.0 source tree
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4AssemblyVolume.cc,v 1.10 2006/06/29 18:57:50 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
//
|
||||
// Class G4AssemblyVolume - implementation
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4GRSSolid.cc,v 1.8 2006/06/29 18:57:53 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
//
|
||||
// class G4GRSSolid Implementation
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4GRSVolume.cc,v 1.8 2006/06/29 18:57:55 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
//
|
||||
// class G4GRSVolume Implementation
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4LogicalBorderSurface.cc,v 1.14 2006/06/29 18:57:57 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
// G4LogicalBorderSurface Implementation
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4LogicalSkinSurface.cc,v 1.13 2006/06/29 18:57:59 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
// G4LogicalSkinSurface Implementation
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4NavigationHistory.cc,v 1.10 2006/06/29 18:58:02 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
//
|
||||
// G4NavigationHistory Implementation
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4NavigationLevel.cc,v 1.4 2006/06/29 18:58:04 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
// 30.09.97 J.Apostolakis Initial version.
|
||||
//
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4NavigationLevelRep.cc,v 1.2 2006/06/29 18:58:06 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
// 1 October 1997 J.Apostolakis Initial version.
|
||||
//
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4PVParameterised.cc,v 1.6 2006/06/29 18:58:09 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// $Id: G4PVParameterised.cc,v 1.7 2006/11/10 09:42:27 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
//
|
||||
// class G4PVParameterised
|
||||
@@ -168,7 +168,7 @@ G4bool G4PVParameterised::CheckOverlaps(G4int res)
|
||||
|
||||
// Create the transformation from daughter to mother
|
||||
//
|
||||
G4AffineTransform Tm( GetFrameRotation(), GetFrameTranslation() );
|
||||
G4AffineTransform Tm( GetRotation(), GetTranslation() );
|
||||
|
||||
// Generate random points on surface according to the given resolution,
|
||||
// transform them to the mother's coordinate system and if no overlaps
|
||||
@@ -189,7 +189,7 @@ G4bool G4PVParameterised::CheckOverlaps(G4int res)
|
||||
<< GetName() << ", parameterised instance: " << i << G4endl
|
||||
<< " with its mother volume "
|
||||
<< motherLog->GetName() << G4endl
|
||||
<< " at point " << mp << G4endl;
|
||||
<< " at mother local point " << mp << G4endl;
|
||||
G4Exception("G4PVParameterised::CheckOverlaps()", "InvalidSetup",
|
||||
JustWarning, "Overlap with mother volume !");
|
||||
return true;
|
||||
@@ -208,7 +208,7 @@ G4bool G4PVParameterised::CheckOverlaps(G4int res)
|
||||
|
||||
// Create the transformation for daughter volume
|
||||
//
|
||||
G4AffineTransform Td( GetFrameRotation(), GetFrameTranslation() );
|
||||
G4AffineTransform Td( GetRotation(), GetTranslation() );
|
||||
|
||||
for (pos=points.begin(); pos!=points.end(); pos++)
|
||||
{
|
||||
@@ -224,7 +224,7 @@ G4bool G4PVParameterised::CheckOverlaps(G4int res)
|
||||
<< GetName() << ", parameterised instance: " << i << G4endl
|
||||
<< " with parameterised volume instance: " << j
|
||||
<< G4endl
|
||||
<< " at point " << md << G4endl;
|
||||
<< " at daughter local point " << md << G4endl;
|
||||
G4Exception("G4PVParameterised::CheckOverlaps()", "InvalidSetup",
|
||||
JustWarning, "Overlap within parameterised volumes !");
|
||||
return true;
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4PVPlacement.cc,v 1.11 2006/06/29 18:58:11 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// $Id: G4PVPlacement.cc,v 1.12 2006/11/10 09:42:27 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
//
|
||||
// class G4PVPlacement Implementation
|
||||
@@ -252,7 +252,7 @@ G4bool G4PVPlacement::CheckOverlaps(G4int res)
|
||||
|
||||
// Create the transformation from daughter to mother
|
||||
//
|
||||
G4AffineTransform Tm( GetFrameRotation(), GetFrameTranslation() );
|
||||
G4AffineTransform Tm( GetRotation(), GetTranslation() );
|
||||
|
||||
for (G4int n=0; n<res; n++)
|
||||
{
|
||||
@@ -274,7 +274,7 @@ G4bool G4PVPlacement::CheckOverlaps(G4int res)
|
||||
<< GetName() << G4endl
|
||||
<< " with its mother volume "
|
||||
<< motherLog->GetName() << G4endl
|
||||
<< " at point " << mp << G4endl;
|
||||
<< " at mother local point " << mp << G4endl;
|
||||
G4Exception("G4PVPlacement::CheckOverlaps()", "InvalidSetup",
|
||||
JustWarning, "Overlap with mother volume !");
|
||||
return true;
|
||||
@@ -288,8 +288,8 @@ G4bool G4PVPlacement::CheckOverlaps(G4int res)
|
||||
|
||||
// Create the transformation for daughter volume and transform point
|
||||
//
|
||||
G4AffineTransform Td( daughter->GetFrameRotation(),
|
||||
daughter->GetFrameTranslation() );
|
||||
G4AffineTransform Td( daughter->GetRotation(),
|
||||
daughter->GetTranslation() );
|
||||
G4ThreeVector md = Td.Inverse().TransformPoint(mp);
|
||||
|
||||
G4VSolid* daughterSolid = daughter->GetLogicalVolume()->GetSolid();
|
||||
@@ -300,7 +300,7 @@ G4bool G4PVPlacement::CheckOverlaps(G4int res)
|
||||
<< " Overlap is detected for volume "
|
||||
<< GetName() << G4endl
|
||||
<< " with volume " << daughter->GetName() << G4endl
|
||||
<< " at point " << md << G4endl;
|
||||
<< " at daughter local point " << md << G4endl;
|
||||
G4Exception("G4PVPlacement::CheckOverlaps()", "InvalidSetup",
|
||||
JustWarning, "Overlap with volume already placed !");
|
||||
return true;
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4PVReplica.cc,v 1.7 2006/06/29 18:58:14 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
//
|
||||
// class G4PVReplica Implementation
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4ReflectionFactory.cc,v 1.5 2006/06/29 18:58:17 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
//
|
||||
// Class G4ReflectionFactory Implementation
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4TouchableHistory.cc,v 1.12 2006/06/29 18:58:20 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
//
|
||||
// class G4TouchableHistory Implementation
|
||||
|
||||
Reference in New Issue
Block a user