Import Geant4 8.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 14:36:02 +02:00
parent d93e1e39a9
commit 8a51e0bc40
5471 changed files with 99628 additions and 55248 deletions
+8 -1
View File
@@ -1,4 +1,4 @@
$Id: History,v 1.12 2004/12/02 06:53:56 kurasige Exp $
$Id: History,v 1.14 2005/11/18 21:20:13 asaim Exp $
-------------------------------------------------------------------
=========================================================
@@ -16,6 +16,13 @@ committal in the CVS repository !
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
November 18th, 2005 - M.Asai (procuts-V07-01-01)
- migration to sstream.
October 28th, 2005 - M.Asai (procuts-V07-01-00)
- Working tag for merging "envelope" to G4Region.
December 2nd, 2004 - H.Kurashige (procuts-V06-02-03)
- migration to cmath
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: G4MCCIndexConversionTable.hh,v 1.2 2004/12/15 15:42:35 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4MaterialCutsCouple.hh,v 1.2 2003/09/19 14:40:59 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4PhysicsTableHelper.hh,v 1.2 2004/11/07 01:38:17 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4ProductionCuts.hh,v 1.3 2004/06/07 13:47:34 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ProductionCutsTable.hh,v 1.5 2004/12/02 06:53:56 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4ProductionCutsTable.hh,v 1.6 2005/08/18 16:52:52 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ------------------------------------------------------------
@@ -51,6 +51,7 @@
class G4RegionStore;
class G4VRangeToEnergyConverter;
class G4LogicalVolume;
class G4VPhysicalVolume;
class G4ProductionCuts;
#include "globals.hh"
@@ -78,7 +79,7 @@ class G4ProductionCutsTable
virtual ~G4ProductionCutsTable();
public: // with description
void UpdateCoupleTable();
void UpdateCoupleTable(G4VPhysicalVolume* currentWorld);
// This method triggers an update of the table of G4ProductionCuts objects.
void SetEnergyRange(G4double lowedge, G4double highedge);
@@ -22,7 +22,7 @@
//
//
// $Id: G4RToEConvForAntiNeutron.hh,v 1.1 2003/09/19 14:42:24 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4RToEConvForAntiProton.hh,v 1.1 2003/09/19 14:42:41 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4RToEConvForElectron.hh,v 1.1 2003/09/19 14:42:58 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4RToEConvForGamma.hh,v 1.1 2003/09/19 14:43:15 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4RToEConvForNeutron.hh,v 1.1 2003/09/19 14:43:31 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4RToEConvForPositron.hh,v 1.1 2003/09/19 14:43:48 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4RToEConvForProton.hh,v 1.1 2003/09/19 14:44:08 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRangeToEnergyConverter.hh,v 1.3 2004/12/02 06:53:56 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ------------------------------------------------------------
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: G4MCCIndexConversionTable.cc,v 1.2 2004/12/15 15:42:36 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4MaterialCutsCouple.cc,v 1.2 2003/09/19 14:45:04 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// --------------------------------------------------------------
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: G4PhysicsTableHelper.cc,v 1.3 2004/12/15 15:42:37 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4ProductionCuts.cc,v 1.4 2004/06/07 13:47:35 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// --------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ProductionCutsTable.cc,v 1.11 2004/12/02 06:53:56 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4ProductionCutsTable.cc,v 1.12 2005/08/18 16:52:52 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// --------------------------------------------------------------
@@ -37,6 +37,7 @@
#include "G4ParticleTable.hh"
#include "G4RegionStore.hh"
#include "G4LogicalVolume.hh"
#include "G4VPhysicalVolume.hh"
#include "G4RToEConvForElectron.hh"
#include "G4RToEConvForGamma.hh"
#include "G4RToEConvForPositron.hh"
@@ -91,7 +92,7 @@ G4ProductionCutsTable::~G4ProductionCutsTable()
}
}
void G4ProductionCutsTable::UpdateCoupleTable()
void G4ProductionCutsTable::UpdateCoupleTable(G4VPhysicalVolume* currentWorld)
{
if(firstUse)
{
@@ -113,7 +114,12 @@ void G4ProductionCutsTable::UpdateCoupleTable()
// Update Material-Cut-Couple
typedef std::vector<G4Region*>::iterator regionIterator;
for(regionIterator rItr=fG4RegionStore->begin();
rItr!=fG4RegionStore->end();rItr++){
rItr!=fG4RegionStore->end();rItr++)
{
// Material scan is to be done only for the regions appear in the
// current tracking world.
if((*rItr)->GetWorldPhysical()!=currentWorld) continue;
G4ProductionCuts* fProductionCut = (*rItr)->GetProductionCuts();
std::vector<G4Material*>::const_iterator mItr =
(*rItr)->GetMaterialIterator();
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4RToEConvForAntiNeutron.cc,v 1.1 2003/09/19 14:46:05 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4RToEConvForAntiNeutron.cc,v 1.2 2005/11/18 21:20:13 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// --------------------------------------------------------------
@@ -36,8 +36,6 @@
#include "G4PhysicsLogVector.hh"
#include "G4ios.hh"
#include <iomanip>
#include <strstream>
G4RToEConvForAntiNeutron::G4RToEConvForAntiNeutron() : G4VRangeToEnergyConverter()
{
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4RToEConvForAntiProton.cc,v 1.1 2003/09/19 14:46:22 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4RToEConvForAntiProton.cc,v 1.2 2005/11/18 21:20:13 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// --------------------------------------------------------------
@@ -36,8 +36,6 @@
#include "G4PhysicsLogVector.hh"
#include "G4ios.hh"
#include <iomanip>
#include <strstream>
G4RToEConvForAntiProton::G4RToEConvForAntiProton() : G4VRangeToEnergyConverter()
{
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4RToEConvForElectron.cc,v 1.3 2004/12/02 06:53:56 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4RToEConvForElectron.cc,v 1.4 2005/11/18 21:20:13 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// --------------------------------------------------------------
@@ -37,8 +37,6 @@
#include "G4PhysicsLogVector.hh"
#include "G4ios.hh"
#include <iomanip>
#include <strstream>
G4RToEConvForElectron::G4RToEConvForElectron() : G4VRangeToEnergyConverter()
{
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4RToEConvForGamma.cc,v 1.2 2004/12/02 06:53:56 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4RToEConvForGamma.cc,v 1.3 2005/11/18 21:20:13 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// --------------------------------------------------------------
@@ -37,8 +37,6 @@
#include "G4PhysicsLogVector.hh"
#include "G4ios.hh"
#include <iomanip>
#include <strstream>
G4RToEConvForGamma::G4RToEConvForGamma() : G4VRangeToEnergyConverter()
{
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4RToEConvForNeutron.cc,v 1.1 2003/09/19 14:47:18 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4RToEConvForNeutron.cc,v 1.2 2005/11/18 21:20:13 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// --------------------------------------------------------------
@@ -36,8 +36,6 @@
#include "G4PhysicsLogVector.hh"
#include "G4ios.hh"
#include <iomanip>
#include <strstream>
G4RToEConvForNeutron::G4RToEConvForNeutron() : G4VRangeToEnergyConverter()
{
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4RToEConvForPositron.cc,v 1.3 2004/12/02 06:53:56 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4RToEConvForPositron.cc,v 1.4 2005/11/18 21:20:13 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// --------------------------------------------------------------
@@ -37,8 +37,6 @@
#include "G4PhysicsLogVector.hh"
#include "G4ios.hh"
#include <iomanip>
#include <strstream>
G4RToEConvForPositron::G4RToEConvForPositron() : G4VRangeToEnergyConverter()
{
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4RToEConvForProton.cc,v 1.1 2003/09/19 14:47:55 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4RToEConvForProton.cc,v 1.2 2005/11/18 21:20:13 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// --------------------------------------------------------------
@@ -36,8 +36,6 @@
#include "G4PhysicsLogVector.hh"
#include "G4ios.hh"
#include <iomanip>
#include <strstream>
G4RToEConvForProton::G4RToEConvForProton() : G4VRangeToEnergyConverter()
{
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VRangeToEnergyConverter.cc,v 1.3 2004/12/02 06:53:56 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4VRangeToEnergyConverter.cc,v 1.4 2005/11/18 21:20:13 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// --------------------------------------------------------------
@@ -36,8 +36,6 @@
#include "G4PhysicsLogVector.hh"
#include "G4ios.hh"
#include <iomanip>
#include <strstream>
// energy range
G4double G4VRangeToEnergyConverter::LowestEnergy = 0.99e-3*MeV;