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.hh,v 1.7 2001/07/11 10:08:16 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
// $Id:
// ------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4IVRestDiscreteProcess.hh,v 1.7 2001/07/11 10:08:17 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
// $Id:
// ------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4ParticleTypes.hh,v 1.5 2001/07/11 10:08:17 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// ------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ProcTblElement.hh,v 1.9 2001/07/11 10:08:17 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4ProcTblElement.hh,v 1.10 2003/06/16 17:12:27 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// ------------------------------------------------------------
@@ -42,7 +42,7 @@
#include "globals.hh"
#include "G4ios.hh"
#include "g4std/vector"
#include <vector>
#include "G4ParticleDefinition.hh"
#include "G4VProcess.hh"
@@ -72,7 +72,7 @@ class G4ProcTblElement
protected:
// Use STL Vector
typedef G4std::vector<G4ProcessManager*> G4ProcMgrVector;
typedef std::vector<G4ProcessManager*> G4ProcMgrVector;
G4int Length() const ;
void Insert(G4ProcessManager* aProcMgr);
@@ -22,7 +22,7 @@
//
//
// $Id: G4ProcTblElement.icc,v 1.7 2001/07/11 10:08:17 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// ------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4ProcessAttribute.hh,v 1.4 2001/07/11 10:08:17 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// ------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ProcessManager.hh,v 1.8 2001/07/11 10:08:17 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4ProcessManager.hh,v 1.9 2003/06/16 17:12:28 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// ------------------------------------------------------------
@@ -67,7 +67,7 @@
#include "globals.hh"
#include "G4ios.hh"
#include "g4std/vector"
#include <vector>
#include "G4VProcess.hh"
#include "G4ProcessVector.hh"
@@ -273,7 +273,7 @@ class G4ProcessManager
G4ProcessVector* theProcVector[SizeOfProcVectorArray];
// vector for processes with GetPhysicalInteractionLength/DoIt
typedef G4std::vector<G4ProcessAttribute*> G4ProcessAttrVector;
typedef std::vector<G4ProcessAttribute*> G4ProcessAttrVector;
G4ProcessAttrVector* theAttrVector;
// vector for process attribute
@@ -22,7 +22,7 @@
//
//
// $Id: G4ProcessManager.icc,v 1.3 2001/07/11 10:08:17 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: G4ProcessManagerMessenger.hh,v 1.6 2003/04/01 16:43:50 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
//---------------------------------------------------------------
@@ -22,8 +22,8 @@
//
//
// $Id: G4ProcessTable.hh,v 1.7 2001/07/11 10:08:17 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4ProcessTable.hh,v 1.8 2003/06/16 17:12:29 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// ------------------------------------------------------------
@@ -47,7 +47,7 @@
#include "globals.hh"
#include "G4ios.hh"
#include "g4std/vector"
#include <vector>
#include "G4ProcTblElement.hh"
#include "G4ProcessVector.hh"
@@ -126,8 +126,8 @@ class G4ProcessTable
// These methods are provided to activate or inactivate processes
public:
typedef G4std::vector<G4ProcTblElement*> G4ProcTableVector;
typedef G4std::vector<G4String> G4ProcNameVector;
typedef std::vector<G4ProcTblElement*> G4ProcTableVector;
typedef std::vector<G4String> G4ProcNameVector;
public: // with description
G4ProcNameVector* GetNameList();
@@ -22,7 +22,7 @@
//
//
// $Id: G4ProcessTable.icc,v 1.4 2001/07/11 10:08:17 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
// History:
// Use STL vector instead of RW vector 1. Mar 00 H.Kurashige
@@ -22,7 +22,7 @@
//
//
// $Id: G4ProcessTableMessenger.hh,v 1.6 2003/04/01 16:43:50 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
//---------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4ProcessType.hh,v 1.4 2001/07/11 10:08:17 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
//---------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ProcessVector.hh,v 1.8 2001/09/19 10:54:47 kurasige Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4ProcessVector.hh,v 1.9 2003/06/16 17:12:30 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// ------------------------------------------------------------
@@ -37,7 +37,7 @@
#include "globals.hh"
#include "G4ios.hh"
#include "g4std/vector"
#include <vector>
class G4VProcess;
@@ -94,7 +94,7 @@ class G4ProcessVector
protected:
// Use STL Vector
typedef G4std::vector<G4VProcess*> G4ProcVector;
typedef std::vector<G4VProcess*> G4ProcVector;
G4ProcVector * pProcVector;
};
@@ -22,7 +22,7 @@
//
//
// $Id: G4ProcessVector.icc,v 1.4 2001/09/19 10:54:48 kurasige Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
inline G4bool G4ProcessVector::operator==(const G4ProcessVector &right) const
{
@@ -22,7 +22,7 @@
//
//
// $Id: G4VContinuousDiscreteProcess.hh,v 1.7 2003/03/25 06:22:23 kurasige Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// ------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4VContinuousProcess.hh,v 1.5 2001/07/11 10:08:18 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// ------------------------------------------------------------
@@ -23,7 +23,7 @@
//
// $Id: G4VDiscreteProcess.hh,v 1.7 2003/03/25 06:22:23 kurasige Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// ------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4VProcess.hh,v 1.14 2003/04/01 16:43:50 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// ------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRestContinuousDiscreteProcess.hh,v 1.7 2003/03/25 06:22:23 kurasige Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// ------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRestContinuousProcess.hh,v 1.5 2001/07/11 10:08:18 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// ------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRestDiscreteProcess.hh,v 1.7 2003/03/25 06:22:23 kurasige Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// ------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRestProcess.hh,v 1.5 2001/07/11 10:08:18 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// ------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4WrapperProcess.hh,v 1.1 2001/11/07 11:53:12 kurasige Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// ------------------------------------------------------------
@@ -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 $
//
//
// --------------------------------------------------------------