Import Geant4 5.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 10:28:22 +02:00
parent fbd4999cf7
commit 4aea781e80
5454 changed files with 223141 additions and 67347 deletions
@@ -22,7 +22,7 @@
//
//
// $Id: G4IVContinuousDiscreteProcess.cc,v 1.7 2003/04/01 16:43:51 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
// $Id:
// --------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4IVRestDiscreteProcess.cc,v 1.7 2003/04/01 16:43:51 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
// $Id:
// --------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4ProcTblElement.cc,v 1.6 2001/07/11 10:08:19 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// ------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4ProcessAttribute.cc,v 1.4 2001/07/11 10:08:19 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// ------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ProcessManager.cc,v 1.21 2002/12/04 21:29:49 asaim Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4ProcessManager.cc,v 1.22 2003/06/16 17:12:32 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// --------------------------------------------------------------
@@ -41,11 +41,11 @@
#include "G4ProcessManagerMessenger.hh"
#include "G4ProcessManager.hh"
#include "G4StateManager.hh"
#include "g4std/iomanip"
#include <iomanip>
#include "G4ProcessTable.hh"
#include "G4ios.hh"
#include "g4std/strstream"
#include <strstream>
@@ -63,7 +63,7 @@ G4ProcessManager::G4ProcessManager(const G4ParticleDefinition* aParticleType):
verboseLevel(1)
{
char errMsg[1024];
G4std::ostrstream errOs(errMsg,1024);
std::ostrstream errOs(errMsg,1024);
// create the process List
theProcessList = new G4ProcessVector();
if ( theProcessList == 0) {
@@ -928,12 +928,12 @@ void G4ProcessManager::DumpInfo()
G4cout << " Ordering:: " << G4endl;
G4cout << " index ";
for (G4int idx2 = 0; idx2 <6 ; idx2++) {
G4cout << G4std::setw(8) << pAttr->idxProcVector[idx2] <<":";
G4cout << std::setw(8) << pAttr->idxProcVector[idx2] <<":";
}
G4cout << G4endl;
G4cout << " parameter ";
for (G4int idx3 = 0; idx3 <6 ; idx3++) {
G4cout << G4std::setw(8) << pAttr->ordProcVector[idx3] <<":";
G4cout << std::setw(8) << pAttr->ordProcVector[idx3] <<":";
}
G4cout << G4endl;
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ProcessManagerMessenger.cc,v 1.6 2002/12/04 21:29:49 asaim Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4ProcessManagerMessenger.cc,v 1.7 2003/06/16 17:12:33 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
//---------------------------------------------------------------
@@ -52,9 +52,9 @@
#include "G4ProcessManagerMessenger.hh"
#include "G4ios.hh" // Include from 'system'
#include "g4std/iomanip" // Include from 'system'
#include <iomanip> // Include from 'system'
#include "g4std/strstream"
#include <strstream>
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);
G4std::istrstream is((char*)temp);
std::istrstream is((char*)temp);
G4int Verbose, index;
is >>Verbose >>index;
if (index <0) {
@@ -203,7 +203,7 @@ G4String G4ProcessManagerMessenger::GetCurrentValue(G4UIcommand * command)
}
char line[255];
G4std::ostrstream os(line,255);
std::ostrstream os(line,255);
if( command==verboseCmd ){
//Commnad /particle/process/Verbose
@@ -22,7 +22,7 @@
//
//
// $Id: G4ProcessTable.cc,v 1.10 2003/04/01 16:43:51 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// ------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ProcessTableMessenger.cc,v 1.12 2002/12/04 21:29:49 asaim Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4ProcessTableMessenger.cc,v 1.13 2003/06/16 17:12:34 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
//---------------------------------------------------------------
@@ -55,8 +55,8 @@
#include "G4ios.hh"
#include "G4Tokenizer.hh"
#include "g4std/iomanip"
#include "g4std/strstream"
#include <iomanip>
#include <strstream>
/////////////////////////////////////////
G4int G4ProcessTableMessenger::NumberOfProcessType = 10;
@@ -198,7 +198,7 @@ void G4ProcessTableMessenger::SetNewValue(G4UIcommand * command,G4String newValu
tmpVector = theProcessTable->FindProcesses(*itr);
if ( (type <0) || ( ((*tmpVector)(0)->GetProcessType()) == type) ) {
if ( counter%4 != 0) G4cout << ",";
G4cout << G4std::setw(19) <<*itr;
G4cout << std::setw(19) <<*itr;
if ((counter++)%4 == 3) {
G4cout << G4endl;
}
@@ -216,7 +216,7 @@ void G4ProcessTableMessenger::SetNewValue(G4UIcommand * command,G4String newValu
G4String tmpS = G4String(next());
// inputstream for newValues
const char* temp = (const char*)(tmpS);
G4std::istrstream is((char*)temp);
std::istrstream is((char*)temp);
G4int level;
is >>level;
@@ -357,7 +357,7 @@ G4String G4ProcessTableMessenger::GetCurrentValue(G4UIcommand * command)
G4String returnValue('\0');
char line[255];
G4std::ostrstream os(line,255);
std::ostrstream os(line,255);
G4UIparameter * param;
G4int idx;
@@ -22,7 +22,7 @@
//
//
// $Id: G4ProcessVector.cc,v 1.3 2001/07/11 10:08:21 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// ------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4VContinuousDiscreteProcess.cc,v 1.3 2001/07/11 10:08:21 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// --------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4VContinuousProcess.cc,v 1.3 2001/07/11 10:08:21 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// --------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4VDiscreteProcess.cc,v 1.3 2001/07/11 10:08:21 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// --------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4VProcess.cc,v 1.9 2001/11/07 05:23:38 kurasige Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// --------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRestContinuousDiscreteProcess.cc,v 1.3 2001/07/11 10:08:21 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// --------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRestContinuousProcess.cc,v 1.3 2001/07/11 10:08:21 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// --------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRestDiscreteProcess.cc,v 1.3 2001/07/11 10:08:21 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// --------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRestProcess.cc,v 1.3 2001/07/11 10:08:21 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// --------------------------------------------------------------