Import Geant4 4.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:18:25 +02:00
parent 36c080dca6
commit 921d3b1cda
3990 changed files with 185376 additions and 82884 deletions
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4IVContinuousDiscreteProcess.hh,v 1.6.4.2 2001/06/28 20:20:10 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4IVContinuousDiscreteProcess.hh,v 1.7 2001/07/11 10:08:16 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
// $Id:
// ------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4IVRestDiscreteProcess.hh,v 1.6.4.2 2001/06/28 20:20:11 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4IVRestDiscreteProcess.hh,v 1.7 2001/07/11 10:08:17 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
// $Id:
// ------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ParticleTypes.hh,v 1.4.4.2 2001/06/28 20:20:11 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4ParticleTypes.hh,v 1.5 2001/07/11 10:08:17 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ProcTblElement.hh,v 1.8.4.2 2001/06/28 20:20:11 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4ProcTblElement.hh,v 1.9 2001/07/11 10:08:17 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ProcTblElement.icc,v 1.6.2.2 2001/06/28 20:20:11 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4ProcTblElement.icc,v 1.7 2001/07/11 10:08:17 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ProcessAttribute.hh,v 1.3.10.2 2001/06/28 20:20:11 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4ProcessAttribute.hh,v 1.4 2001/07/11 10:08:17 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ProcessManager.hh,v 1.7.4.2 2001/06/28 20:20:11 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4ProcessManager.hh,v 1.8 2001/07/11 10:08:17 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ProcessManager.icc,v 1.2.4.1 2001/06/28 19:15:05 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4ProcessManager.icc,v 1.3 2001/07/11 10:08:17 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ProcessManagerMessenger.hh,v 1.4.10.1 2001/06/28 19:15:05 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4ProcessManagerMessenger.hh,v 1.5 2001/07/11 10:08:17 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
//---------------------------------------------------------------
@@ -22,8 +22,8 @@
//
//
// $Id: G4ProcessTable.hh,v 1.6.4.2 2001/06/28 20:20:11 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4ProcessTable.hh,v 1.7 2001/07/11 10:08:17 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ProcessTable.icc,v 1.3.4.1 2001/06/28 19:15:06 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4ProcessTable.icc,v 1.4 2001/07/11 10:08:17 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
// History:
// Use STL vector instead of RW vector 1. Mar 00 H.Kurashige
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ProcessTableMessenger.hh,v 1.3.10.1 2001/06/28 19:15:06 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4ProcessTableMessenger.hh,v 1.4 2001/07/11 10:08:17 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
//---------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ProcessType.hh,v 1.3.10.1 2001/06/28 19:15:06 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4ProcessType.hh,v 1.4 2001/07/11 10:08:17 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
//---------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ProcessVector.hh,v 1.6.4.1 2001/06/28 19:15:06 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4ProcessVector.hh,v 1.8 2001/09/19 10:54:47 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -61,6 +61,7 @@ class G4ProcessVector
// Returns the number of items
G4int entries() const;
G4int length() const;
G4int size() const;
// Returns the position of the element
G4int index(G4VProcess* aProcess) const;
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ProcessVector.icc,v 1.2.2.1 2001/06/28 19:15:06 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4ProcessVector.icc,v 1.4 2001/09/19 10:54:48 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
inline G4bool G4ProcessVector::operator==(const G4ProcessVector &right) const
{
@@ -34,6 +34,11 @@ inline G4int G4ProcessVector::entries() const
return pProcVector->size();
}
inline G4int G4ProcessVector::size() const
{
return pProcVector->size();
}
inline G4int G4ProcessVector::length() const
{
return pProcVector->size();
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VContinuousDiscreteProcess.hh,v 1.4.4.2 2001/06/28 20:20:11 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4VContinuousDiscreteProcess.hh,v 1.5 2001/07/11 10:08:18 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VContinuousProcess.hh,v 1.4.4.2 2001/06/28 20:20:11 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4VContinuousProcess.hh,v 1.5 2001/07/11 10:08:18 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -22,8 +22,8 @@
//
//
// $Id: G4VDiscreteProcess.hh,v 1.4.4.2 2001/06/28 20:20:11 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4VDiscreteProcess.hh,v 1.5 2001/07/11 10:08:18 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VProcess.hh,v 1.8.2.2 2001/06/28 20:20:11 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4VProcess.hh,v 1.11 2001/09/01 02:22:55 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -212,21 +212,28 @@ class G4VProcess
// function. Not another BuildPhysicsTable, please.
virtual G4bool StorePhysicsTable(const G4String& directory,
virtual G4bool StorePhysicsTable(G4ParticleDefinition* ,
const G4String& directory,
G4bool ascii = false)
{return true;}
// Store PhysicsTable in a file.
// (return false in case of failure at I/O )
virtual G4bool RetrievePhysicsTable(const G4String& directory,
G4bool ascii = false)
virtual G4bool RetrievePhysicsTable( G4ParticleDefinition* ,
const G4String& directory,
G4bool ascii = false)
{return false;}
// Retrieve Physics from a file.
// (return true if the Physics Table can be build by using file)
// (return false if the process has no functionality or in case of failure)
// File name should be defined by each process
// and the file should be placed under the directory specifed by the argument.
const G4String& GetPhysicsTableFileName(G4ParticleDefinition* ,
const G4String& directory,
const G4String& tableName,
G4bool ascii =false);
// this method is utility for Store/RetreivePhysicsTable
////////////////////////////
const G4String& GetProcessName() const;
// Returns the name of the process.
@@ -244,7 +251,16 @@ class G4VProcess
virtual void EndTracking();
// inform Start/End of tracking for each track to the physics process
public:
virtual void SetProcessManager(const G4ProcessManager*);
// A process manager set its own pointer when the process is registered
// the process Manager
virtual const G4ProcessManager* GetProcessManager();
// Get the process manager which the process belongs to
protected:
const G4ProcessManager* aProcessManager;
protected:
G4VParticleChange* pParticleChange;
// The pointer to G4VParticleChange object
@@ -283,6 +299,8 @@ class G4VProcess
G4String theProcessName;
// The name of the process
G4String thePhysicsTableFileName;
G4ProcessType theProcessType;
// The type of the process
@@ -391,6 +409,18 @@ inline G4double G4VProcess::PostStepGPIL( const G4Track& track,
=PostStepGetPhysicalInteractionLength(track, previousStepSize, condition);
return thePILfactor*value;
}
inline
void G4VProcess::SetProcessManager(const G4ProcessManager* procMan)
{
aProcessManager = procMan;
}
inline
const G4ProcessManager* G4VProcess::GetProcessManager()
{
return aProcessManager;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VRestContinuousDiscreteProcess.hh,v 1.4.4.2 2001/06/28 20:20:11 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4VRestContinuousDiscreteProcess.hh,v 1.5 2001/07/11 10:08:18 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VRestContinuousProcess.hh,v 1.4.4.2 2001/06/28 20:20:12 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4VRestContinuousProcess.hh,v 1.5 2001/07/11 10:08:18 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VRestDiscreteProcess.hh,v 1.4.4.2 2001/06/28 20:20:12 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4VRestDiscreteProcess.hh,v 1.5 2001/07/11 10:08:18 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VRestProcess.hh,v 1.4.4.2 2001/06/28 20:20:12 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4VRestProcess.hh,v 1.5 2001/07/11 10:08:18 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------