Import Geant4 5.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:57:27 +02:00
parent 330b82b769
commit 37fff30d2e
5733 changed files with 263867 additions and 74574 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIaliasList.cc,v 1.5 2002/04/26 22:03:35 asaim Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
#include "G4UIaliasList.hh"
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIbatch.cc,v 1.11 2002/06/07 17:37:44 asaim Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
#include "G4UIbatch.hh"
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcmdWith3Vector.cc,v 1.4 2002/04/26 22:03:35 asaim Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcmdWith3VectorAndUnit.cc,v 1.4 2002/04/26 22:03:35 asaim Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcmdWithABool.cc,v 1.4 2002/04/26 22:03:35 asaim Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcmdWithADouble.cc,v 1.4 2002/04/26 22:03:35 asaim Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcmdWithADoubleAndUnit.cc,v 1.4 2002/04/26 22:03:35 asaim Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcmdWithAString.cc,v 1.3 2001/07/11 10:01:16 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcmdWithAnInteger.cc,v 1.4 2002/04/26 22:03:35 asaim Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcmdWithoutParameter.cc,v 1.3 2001/07/11 10:01:16 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
+12 -10
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4UIcommand.cc,v 1.19 2002/04/26 22:03:35 asaim Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4UIcommand.cc,v 1.21 2002/12/05 16:25:34 asaim Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -35,11 +35,13 @@
#include "G4Tokenizer.hh"
#include "G4ios.hh"
G4UIcommand::G4UIcommand():paramERR(0) { }
G4UIcommand::G4UIcommand()
:messenger(0),token(IDENTIFIER),paramERR(0)
{;}
G4UIcommand::G4UIcommand(const char * theCommandPath,
G4UImessenger * theMessenger)
:messenger(theMessenger), paramERR(0)
:messenger(theMessenger),token(IDENTIFIER),paramERR(0)
{
G4String comStr = theCommandPath;
if(!theMessenger)
@@ -55,12 +57,12 @@ G4UIcommand::G4UIcommand(const char * theCommandPath,
G4UIcommandCommonConstructorCode (comStr);
G4String nullString;
availabelStateList.clear();
availabelStateList.push_back(PreInit);
availabelStateList.push_back(Init);
availabelStateList.push_back(Idle);
availabelStateList.push_back(GeomClosed);
availabelStateList.push_back(EventProc);
availabelStateList.push_back(Abort);
availabelStateList.push_back(G4State_PreInit);
availabelStateList.push_back(G4State_Init);
availabelStateList.push_back(G4State_Idle);
availabelStateList.push_back(G4State_GeomClosed);
availabelStateList.push_back(G4State_EventProc);
availabelStateList.push_back(G4State_Abort);
}
void G4UIcommand::G4UIcommandCommonConstructorCode
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcommandTree.cc,v 1.11 2002/04/26 22:03:35 asaim Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
#include "G4UIcommandTree.hh"
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcontrolMessenger.cc,v 1.9 2002/05/15 06:51:32 asaim Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
#include <stdlib.h>
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIdirectory.cc,v 1.3 2001/07/11 10:01:16 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
+6 -6
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4UImanager.cc,v 1.26 2002/05/15 06:51:32 asaim Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4UImanager.cc,v 1.27 2002/12/04 18:30:43 asaim Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// ---------------------------------------------------------------------
@@ -457,14 +457,14 @@ G4bool G4UImanager::Notify(G4ApplicationState requestedState)
//G4cout << G4StateManager::GetStateManager()->GetStateString(requestedState) << " <--- " << G4StateManager::GetStateManager()->GetStateString(G4StateManager::GetStateManager()->GetPreviousState()) << G4endl;
if(pauseAtBeginOfEvent)
{
if(requestedState==EventProc &&
G4StateManager::GetStateManager()->GetPreviousState()==GeomClosed)
if(requestedState==G4State_EventProc &&
G4StateManager::GetStateManager()->GetPreviousState()==G4State_GeomClosed)
{ PauseSession("BeginOfEvent"); }
}
if(pauseAtEndOfEvent)
{
if(requestedState==GeomClosed &&
G4StateManager::GetStateManager()->GetPreviousState()==EventProc)
if(requestedState==G4State_GeomClosed &&
G4StateManager::GetStateManager()->GetPreviousState()==G4State_EventProc)
{ PauseSession("EndOfEvent"); }
}
return true;
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UImessenger.cc,v 1.3 2001/07/11 10:01:16 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
#include "G4UImessenger.hh"
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIparameter.cc,v 1.11 2002/04/26 22:03:35 asaim Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
#include "G4UIparameter.hh"
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIsession.cc,v 1.4 2001/07/11 10:01:17 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// ---------------------------------------------------------------------
+3 -3
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4UnitsMessenger.cc,v 1.3 2001/07/11 10:01:17 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4UnitsMessenger.cc,v 1.4 2002/12/04 18:30:43 asaim Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -44,7 +44,7 @@ G4UnitsMessenger::G4UnitsMessenger()
ListCmd = new G4UIcmdWithoutParameter("/units/list",this);
ListCmd->SetGuidance("full list of available units.");
ListCmd->AvailableForStates(Idle);
ListCmd->AvailableForStates(G4State_Idle);
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VGlobalFastSimulationManager.cc,v 1.3 2001/07/11 10:01:17 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4VGlobalFastSimulationManager.cc,v 1.4 2002/11/20 14:46:01 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// Abstract interface for GEANT4 Global Fast Simulation Manager.
@@ -32,3 +32,16 @@
G4VGlobalFastSimulationManager*
G4VGlobalFastSimulationManager::fpConcreteInstance = 0;
G4VGlobalFastSimulationManager*
G4VGlobalFastSimulationManager::GetConcreteInstance ()
{
return fpConcreteInstance;
}
void
G4VGlobalFastSimulationManager::
SetConcreteInstance (G4VGlobalFastSimulationManager* m)
{
fpConcreteInstance = m;
}
+12 -2
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VVisManager.cc,v 1.4 2001/07/11 10:01:17 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4VVisManager.cc,v 1.5 2002/11/20 14:46:01 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// Abstract interface for GEANT4 Visualization Manager.
@@ -33,3 +33,13 @@
G4VVisManager::~G4VVisManager () {}
G4VVisManager* G4VVisManager::fpConcreteInstance = 0;
G4VVisManager* G4VVisManager::GetConcreteInstance ()
{
return fpConcreteInstance;
}
void G4VVisManager::SetConcreteInstance (G4VVisManager* m)
{
fpConcreteInstance = m;
}