Import Geant4 7.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 11:11:55 +02:00
parent e083ffb441
commit 516dbf1a58
5914 changed files with 202605 additions and 71141 deletions
@@ -22,7 +22,7 @@
//
//
// $Id: G4AssemblyVolume.cc,v 1.3 2004/01/19 14:07:55 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-00-patch-01 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
//
// Class G4AssemblyVolume - implementation
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4GRSSolid.cc,v 1.7 2003/11/02 16:06:06 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-00-patch-01 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
//
// class G4GRSSolid Implementation
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4GRSVolume.cc,v 1.7 2003/11/02 16:06:06 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-00-patch-01 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
//
// class G4GRSVolume Implementation
@@ -22,7 +22,7 @@
//
//
// $Id: G4LogicalBorderSurface.cc,v 1.13 2004/05/19 08:14:42 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// --------------------------------------------------------------------
// G4LogicalBorderSurface Implementation
@@ -22,7 +22,7 @@
//
//
// $Id: G4LogicalSkinSurface.cc,v 1.12 2004/05/19 08:14:42 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// --------------------------------------------------------------------
// G4LogicalSkinSurface Implementation
@@ -22,7 +22,7 @@
//
//
// $Id: G4NavigationHistory.cc,v 1.9 2003/12/04 15:59:05 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-00-patch-01 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
//
// G4NavigationHistory Implementation
@@ -22,7 +22,7 @@
//
//
// $Id: G4PVParameterised.cc,v 1.2 2003/11/02 16:06:06 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-00-patch-01 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
//
// class G4PVParameterised
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4PVPlacement.cc,v 1.3 2003/11/17 11:29:25 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-00-patch-01 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
//
// class G4PVPlacement Implementation
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4PVReplica.cc,v 1.4 2003/11/17 11:29:26 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-00-patch-01 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
//
// class G4PVReplica Implementation
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ReflectionFactory.cc,v 1.1 2004/05/13 14:51:19 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-02 $
// $Id: G4ReflectionFactory.cc,v 1.3 2004/12/02 09:31:35 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-00-cand-03 $
//
//
// Class G4ReflectionFactory Implementation
@@ -52,7 +52,8 @@
// --------------------------------------------------------------------
#include "G4ReflectionFactory.hh"
#include "G4ReflectedSolid.hh"
#include "G4ReflectedSolid.hh"
#include "G4Region.hh"
#include "G4LogicalVolume.hh"
#include "G4PVPlacement.hh"
#include "G4PVReplica.hh"
@@ -376,10 +377,17 @@ G4LogicalVolume* G4ReflectionFactory::ReflectLV(G4LogicalVolume* LV)
// process daughters
//
ReflectDaughters(LV, refLV);
}
// check if to be set as root region
//
if (LV->IsRootRegion())
{
LV->GetRegion()->AddRootLogicalVolume(refLV);
}
}
return refLV;
}
}
//_____________________________________________________________________________
@@ -413,7 +421,13 @@ G4LogicalVolume* G4ReflectionFactory::CreateReflectedLV(G4LogicalVolume* LV)
LV->GetFieldManager(),
LV->GetSensitiveDetector(),
LV->GetUserLimits());
refLV->SetVisAttributes(LV->GetVisAttributes()); // vis-attributes
refLV->SetBiasWeight(LV->GetBiasWeight()); // biasing weight
if (LV->IsRegion())
{
refLV->SetRegion(LV->GetRegion()); // set a region in case
}
fConstituentLVMap[LV] = refLV;
fReflectedLVMap[refLV] = LV;
@@ -760,7 +774,7 @@ void G4ReflectionFactory::CheckScale(const G4Scale3D& scale) const
G4double diff = 0.;
for (G4int i=0; i<4; i++)
for (G4int j=0; j<4; j++)
diff += abs(scale(i,j) - fScale(i,j));
diff += std::abs(scale(i,j) - fScale(i,j));
if (diff > fScalePrecision)
{
@@ -22,7 +22,7 @@
//
//
// $Id: G4TouchableHistory.cc,v 1.10 2004/06/11 14:17:22 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
//
// class G4TouchableHistory Implementation