Import Geant4 7.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 12:11:21 +02:00
parent 516dbf1a58
commit d93e1e39a9
5384 changed files with 125662 additions and 82444 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4ExceptionHandler.cc,v 1.3 2003/05/21 21:06:01 asaim Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
//
// ------------------------------------------------------------
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4Run.cc,v 1.7 2004/06/11 14:27:45 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "G4Run.hh"
+3 -2
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4RunManager.cc,v 1.85 2004/11/25 19:01:13 asaim Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// $Id: G4RunManager.cc,v 1.86 2004/12/30 19:37:32 asaim Exp $
// GEANT4 tag $Name: geant4-07-01 $
//
//
@@ -115,6 +115,7 @@ G4RunManager::~G4RunManager()
delete kernel;
if(verboseLevel>1) G4cout << "RunManager is deleting." << G4endl;
fRunManager = 0;
}
void G4RunManager::BeamOn(G4int n_event,const char* macroFile,G4int n_select)
+25 -6
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4RunManagerKernel.cc,v 1.20 2004/12/07 09:12:31 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-00 $
// $Id: G4RunManagerKernel.cc,v 1.27 2005/06/17 21:07:13 asaim Exp $
// GEANT4 tag $Name: geant4-07-01 $
//
//
@@ -80,8 +80,11 @@ G4RunManagerKernel::G4RunManagerKernel()
G4StateManager::GetStateManager()->SetNewState(G4State_PreInit);
// version banner
versionString
= " Geant4 version $Name: geant4-07-00 $ (17-December-2004)";
G4String vs = "$Name: geant4-07-01 $";
vs = vs.substr(1,vs.size()-2);
versionString = " Geant4 version ";
versionString += vs;
versionString += " (30-June-2005)";
G4cout << G4endl
<< "*************************************************************" << G4endl
<< versionString << G4endl
@@ -120,6 +123,7 @@ G4RunManagerKernel::~G4RunManagerKernel()
if(verboseLevel>1) G4cout << "StateManager deleted." << G4endl;
delete defaultExceptionHandler;
if(verboseLevel>1) G4cout << "RunManagerKernel is deleted." << G4endl;
fRunManagerKernel = 0;
}
void G4RunManagerKernel::DefineWorldVolume(G4VPhysicalVolume* worldVol,
@@ -198,10 +202,21 @@ void G4RunManagerKernel::DefineWorldVolume(G4VPhysicalVolume* worldVol,
void G4RunManagerKernel::SetPhysics(G4VUserPhysicsList* uPhys)
{
physicsList = uPhys;
// Following line is tentatively moved to the constructor
// G4ParticleTable::GetParticleTable()->SetReadiness();
if(verboseLevel>1) G4cout << "physicsList->ConstructParticle() start." << G4endl;
physicsList->ConstructParticle();
if(verboseLevel>2) G4ParticleTable::GetParticleTable()->DumpTable();
if(verboseLevel>1)
{
G4cout << "List of instantiated particles ============================================" << G4endl;
G4int nPtcl = G4ParticleTable::GetParticleTable()->entries();
for(G4int i=0;i<nPtcl;i++)
{
G4ParticleDefinition* pd = G4ParticleTable::GetParticleTable()->GetParticle(i);
G4cout << pd->GetParticleName() << " ";
if(i%10==9) G4cout << G4endl;
}
G4cout << G4endl;
}
}
void G4RunManagerKernel::InitializePhysics()
@@ -225,8 +240,12 @@ void G4RunManagerKernel::InitializePhysics()
"G4VUserPhysicsList is not defined");
}
if(verboseLevel>1) G4cout << "physicsList->ConstructParticle() start." << G4endl;
physicsList->ConstructParticle();
if(verboseLevel>1) G4cout << "physicsList->Construct() start." << G4endl;
physicsList->Construct();
if(verboseLevel>1) G4cout << "physicsList->setCut() start." << G4endl;
physicsList->SetCuts();
CheckRegions();
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4RunMessenger.cc,v 1.20 2003/11/04 01:58:29 asaim Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "G4RunMessenger.hh"
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UserPhysicsListMessenger.cc,v 1.24 2004/11/01 16:47:56 kurasige Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
//
//---------------------------------------------------------------
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UserRunAction.cc,v 1.6 2003/05/21 21:06:01 asaim Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "G4UserRunAction.hh"
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4VModularPhysicsList.cc,v 1.2 2002/05/29 12:11:08 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
//
// ------------------------------------------------------------
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4VPersistencyManager.cc,v 1.4 2001/07/13 15:57:06 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "G4VPersistencyManager.hh"
@@ -22,7 +22,7 @@
//
//
// $Id: G4VUserDetectorConstruction.cc,v 1.3 2001/07/11 10:08:34 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "G4VUserDetectorConstruction.hh"
+6 -4
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VUserPhysicsList.cc,v 1.51 2004/11/01 16:47:56 kurasige Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// $Id: G4VUserPhysicsList.cc,v 1.52 2005/05/09 10:02:51 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
//
//
// ------------------------------------------------------------
@@ -380,8 +380,10 @@ void G4VUserPhysicsList::BuildPhysicsTable()
}
} else {
#ifdef G4VERBOSE
G4cout << "G4VUserPhysicsList::BuildPhysicsTable";
G4cout << " does not retrieve Cut Table but calculate " << G4endl;
if (verboseLevel>2){
G4cout << "G4VUserPhysicsList::BuildPhysicsTable";
G4cout << " does not retrieve Cut Table but calculate " << G4endl;
}
#endif
}
@@ -22,7 +22,7 @@
//
//
// $Id: G4VUserPrimaryGeneratorAction.cc,v 1.3 2001/07/11 10:08:34 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "G4VUserPrimaryGeneratorAction.hh"