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
@@ -22,7 +22,7 @@
//
//
// $Id: G4IVContinuousDiscreteProcess.cc,v 1.8 2003/11/03 03:27:27 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
// $Id:
// --------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4IVRestDiscreteProcess.cc,v 1.8 2003/11/03 03:27:27 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
// $Id:
// --------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4ProcTblElement.cc,v 1.6 2001/07/11 10:08:19 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4ProcessAttribute.cc,v 1.4 2001/07/11 10:08:19 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ProcessManager.cc,v 1.25 2005/02/15 04:38:58 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4ProcessManager.cc,v 1.27 2005/11/21 03:47:32 kurasige Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// --------------------------------------------------------------
@@ -45,9 +45,6 @@
#include "G4ProcessTable.hh"
#include "G4ios.hh"
#include <strstream>
// ---------------------------------
// function members implementation
@@ -935,13 +932,13 @@ void G4ProcessManager::CreateGPILvectors()
//////////////////////////////////////////
void G4ProcessManager::StartTracking()
void G4ProcessManager::StartTracking(G4Track* aTrack)
{
for (G4int idx = 0; idx<theProcessList->entries(); idx++){
if (GetAttribute(idx)->isActive)
((*theProcessList)[idx])->StartTracking();
((*theProcessList)[idx])->StartTracking(aTrack);
}
duringTracking = true;
if(aTrack) duringTracking = true;
}
/////////////////////////////////////////////
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ProcessManagerMessenger.cc,v 1.7 2003/06/16 17:12:33 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4ProcessManagerMessenger.cc,v 1.8 2005/11/21 03:47:32 kurasige Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
//---------------------------------------------------------------
@@ -54,7 +54,7 @@
#include "G4ios.hh" // Include from 'system'
#include <iomanip> // Include from 'system'
#include <strstream>
#include <sstream>
G4ProcessManagerMessenger::G4ProcessManagerMessenger(G4ParticleTable* pTable)
:theParticleTable(pTable),
@@ -172,7 +172,7 @@ void G4ProcessManagerMessenger::SetNewValue(G4UIcommand * command,G4String newVa
//Commnad /particle/process/Verbose
// inputstream for newValues
const char* temp = (const char*)(newValue);
std::istrstream is((char*)temp);
std::istringstream is((char*)temp);
G4int Verbose, index;
is >>Verbose >>index;
if (index <0) {
@@ -202,13 +202,12 @@ G4String G4ProcessManagerMessenger::GetCurrentValue(G4UIcommand * command)
return returnValue;
}
char line[255];
std::ostrstream os(line,255);
std::ostringstream os;
if( command==verboseCmd ){
//Commnad /particle/process/Verbose
os << theManager->GetVerboseLevel() << '\0';
returnValue = G4String(line);
os << theManager->GetVerboseLevel();
returnValue = os.str();
}
return returnValue;
}
@@ -22,7 +22,7 @@
//
//
// $Id: G4ProcessTable.cc,v 1.11 2004/06/12 13:07:19 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ProcessTableMessenger.cc,v 1.14 2003/11/03 03:27:28 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4ProcessTableMessenger.cc,v 1.15 2005/11/21 03:47:32 kurasige Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
//---------------------------------------------------------------
@@ -56,7 +56,7 @@
#include "G4ios.hh"
#include "G4Tokenizer.hh"
#include <iomanip>
#include <strstream>
#include <sstream>
/////////////////////////////////////////
G4int G4ProcessTableMessenger::NumberOfProcessType = 10;
@@ -216,7 +216,7 @@ void G4ProcessTableMessenger::SetNewValue(G4UIcommand * command,G4String newValu
G4String tmpS = G4String(next());
// inputstream for newValues
const char* temp = (const char*)(tmpS);
std::istrstream is((char*)temp);
std::istringstream is((char*)temp);
G4int level;
is >>level;
@@ -356,16 +356,15 @@ G4String G4ProcessTableMessenger::GetCurrentValue(G4UIcommand * command)
G4String candidates;
G4String returnValue('\0');
char line[255];
std::ostrstream os(line,255);
std::ostringstream os;
G4UIparameter * param;
G4int idx;
if( command==verboseCmd ){
//Commnad /process/verbose
os << theProcessTable->GetVerboseLevel() << '\0';
returnValue = G4String(line);
os << theProcessTable->GetVerboseLevel();
returnValue = os.str();
} else if ( command==listCmd ){
//Commnad /process/list
@@ -22,7 +22,7 @@
//
//
// $Id: G4ProcessVector.cc,v 1.3 2001/07/11 10:08:21 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4VContinuousDiscreteProcess.cc,v 1.4 2003/11/03 03:27:28 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// --------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4VContinuousProcess.cc,v 1.3 2001/07/11 10:08:21 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// --------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4VDiscreteProcess.cc,v 1.4 2003/11/03 03:27:28 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// --------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VProcess.cc,v 1.11 2004/11/10 08:48:06 vnivanch Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4VProcess.cc,v 1.13 2005/11/21 21:59:19 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// --------------------------------------------------------------
@@ -90,7 +90,7 @@ void G4VProcess::SubtractNumberOfInteractionLengthLeft(
}
}
void G4VProcess::StartTracking()
void G4VProcess::StartTracking(G4Track*)
{
currentInteractionLength = -1.0;
theNumberOfInteractionLengthLeft = -1.0;
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRestContinuousDiscreteProcess.cc,v 1.4 2003/11/03 03:27:28 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// --------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRestContinuousProcess.cc,v 1.4 2003/11/03 03:27:28 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// --------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRestDiscreteProcess.cc,v 1.4 2003/11/03 03:27:28 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// --------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRestProcess.cc,v 1.4 2003/11/03 03:27:28 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// --------------------------------------------------------------