Import Geant4 9.5.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 16:46:55 +02:00
parent 89a9605df1
commit b1eb5424d2
10957 changed files with 888481 additions and 160139 deletions
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4AdjointPosOnPhysVolGenerator.hh,v 1.2 2009/11/18 17:57:59 gcosmo Exp $
// GEANT4 tag $Name: geant4-09-03 $
// $Id: G4AdjointPosOnPhysVolGenerator.hh,v 1.2 2009-11-18 17:57:59 gcosmo Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
/////////////////////////////////////////////////////////////////////////////////
// Class Name: G4AdjointPosOnPhysVolGenerator
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4AdjointPrimaryGenerator.hh,v 1.2 2009/11/18 17:57:59 gcosmo Exp $
// GEANT4 tag $Name: geant4-09-03 $
// $Id: G4AdjointPrimaryGenerator.hh,v 1.2 2009-11-18 17:57:59 gcosmo Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
/////////////////////////////////////////////////////////////////////////////////
// Module: G4AdjointPrimaryGenerator
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4AdjointStackingAction.hh,v 1.2 2009/11/18 17:57:59 gcosmo Exp $
// GEANT4 tag $Name: geant4-09-03 $
// $Id: G4AdjointStackingAction.hh,v 1.2 2009-11-18 17:57:59 gcosmo Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
/////////////////////////////////////////////////////////////////////////////////
// Class Name: G4AdjointStackingAction
+2 -2
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4CellScorer.hh,v 1.2 2006/06/29 18:08:19 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4CellScorer.hh,v 1.2 2006-06-29 18:08:19 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// ----------------------------------------------------------------------
// Class G4CellScorer
+2 -2
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4CellScorerStore.hh,v 1.3 2006/06/29 18:08:21 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4CellScorerStore.hh,v 1.3 2006-06-29 18:08:21 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// ----------------------------------------------------------------------
// Class G4CellScorerStore
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4ClassificationOfNewTrack.hh,v 1.6 2006/06/29 18:08:23 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4ClassificationOfNewTrack.hh,v 1.6 2006-06-29 18:08:23 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//
+2 -2
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4EvManMessenger.hh,v 1.6 2006/11/03 03:11:13 asaim Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4EvManMessenger.hh,v 1.6 2006-11-03 03:11:13 asaim Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
#ifndef G4EvManMessenger_h
+9 -4
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4Event.hh,v 1.19 2010/10/27 07:21:13 gcosmo Exp $
// GEANT4 tag $Name: geant4-09-04 $
// $Id: G4Event.hh,v 1.19 2010-10-27 07:21:13 gcosmo Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
#ifndef G4Event_h
@@ -185,13 +185,18 @@ class G4Event
inline const G4String& GetRandomNumberStatus() const
{
if(!validRandomNumberStatus)
{ G4Exception("Random number status is not available for this event."); }
{ G4Exception(
"G4Event::GetRandomNumberStatus","Event0701",JustWarning,
"Random number status is not available for this event."); }
return *randomNumberStatus;
}
inline const G4String& GetRandomNumberStatusForProcessing() const
{
if(!validRandomNumberStatusForProcessing)
{ G4Exception("Random number status is not available for this event."); }
{ G4Exception(
"G4Event::GetRandomNumberStatusForProcessing","Event0702",
JustWarning,
"Random number status is not available for this event."); }
return *randomNumberStatusForProcessing;
}
};
+2 -2
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4EventManager.hh,v 1.23 2010/06/12 04:07:45 asaim Exp $
// GEANT4 tag $Name: geant4-09-04-beta-01 $
// $Id: G4EventManager.hh,v 1.23 2010-06-12 04:07:45 asaim Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//
+2 -2
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HEPEvtInterface.hh,v 1.8 2006/06/29 18:08:36 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4HEPEvtInterface.hh,v 1.8 2006-06-29 18:08:36 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
#ifndef G4HEPEvtInterface_h
+3 -3
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HEPEvtParticle.hh,v 1.11 2010/10/27 07:21:13 gcosmo Exp $
// GEANT4 tag $Name: geant4-09-04 $
// $Id: G4HEPEvtParticle.hh,v 1.11 2010-10-27 07:21:13 gcosmo Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//
@@ -53,7 +53,7 @@ class G4HEPEvtParticle
G4int isthep, G4int jdahep1, G4int jdahep2);
~G4HEPEvtParticle();
const G4HEPEvtParticle & operator=(const G4HEPEvtParticle &right);
G4HEPEvtParticle & operator=(const G4HEPEvtParticle &right);
G4int operator==(const G4HEPEvtParticle &right) const;
G4int operator!=(const G4HEPEvtParticle &right) const;
+14 -14
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4ParticleGun.hh,v 1.11 2007/11/07 17:13:19 asaim Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4ParticleGun.hh,v 1.11 2007-11-07 17:13:19 asaim Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
#ifndef G4ParticleGun_h
@@ -68,7 +68,7 @@ class G4ParticleGun:public G4VPrimaryGenerator
G4ParticleGun(G4ParticleDefinition * particleDef,
G4int numberofparticles = 1);
// costructors. "numberofparticles" is number of particles to be shoot at one invokation
// of GeneratePrimaryVertex() method. All paricles are shoot with the same physical
// of GeneratePrimaryVertex() method. All paricles are shot with the same physical
// quantities.
public:
@@ -93,30 +93,30 @@ class G4ParticleGun:public G4VPrimaryGenerator
void SetParticleEnergy(G4double aKineticEnergy);
void SetParticleMomentum(G4double aMomentum);
void SetParticleMomentum(G4ParticleMomentum aMomentum);
inline void SetParticleMomentumDirection
void SetParticleMomentumDirection
(G4ParticleMomentum aMomentumDirection)
{ particle_momentum_direction = aMomentumDirection.unit(); }
inline void SetParticleCharge(G4double aCharge)
void SetParticleCharge(G4double aCharge)
{ particle_charge = aCharge; }
inline void SetParticlePolarization(G4ThreeVector aVal)
void SetParticlePolarization(G4ThreeVector aVal)
{ particle_polarization = aVal; }
inline void SetNumberOfParticles(G4int i)
void SetNumberOfParticles(G4int i)
{ NumberOfParticlesToBeGenerated = i; }
public:
inline G4ParticleDefinition* GetParticleDefinition()
G4ParticleDefinition* GetParticleDefinition() const
{ return particle_definition; }
inline G4ParticleMomentum GetParticleMomentumDirection()
G4ParticleMomentum GetParticleMomentumDirection() const
{ return particle_momentum_direction; }
inline G4double GetParticleEnergy()
G4double GetParticleEnergy() const
{ return particle_energy; }
inline G4double GetParticleMomentum()
G4double GetParticleMomentum() const
{ return particle_momentum; }
inline G4double GetParticleCharge()
G4double GetParticleCharge() const
{ return particle_charge; }
inline G4ThreeVector GetParticlePolarization()
G4ThreeVector GetParticlePolarization() const
{ return particle_polarization; }
inline G4int GetNumberOfParticles()
G4int GetNumberOfParticles() const
{ return NumberOfParticlesToBeGenerated; }
protected:
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4ParticleGunMessenger.hh,v 1.10 2007/10/02 00:45:17 asaim Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4ParticleGunMessenger.hh,v 1.10 2007-10-02 00:45:17 asaim Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//
+2 -2
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4PrimaryTransformer.hh,v 1.12 2006/06/29 18:08:46 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4PrimaryTransformer.hh,v 1.12 2006-06-29 18:08:46 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
#ifndef G4PromaryTransformer_h
+2 -2
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4RayShooter.hh,v 1.2 2006/06/29 18:08:49 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4RayShooter.hh,v 1.2 2006-06-29 18:08:49 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// class description:
+2 -2
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4SmartTrackStack.hh,v 1.3 2009/09/16 23:10:46 asaim Exp $
// GEANT4 tag $Name: geant4-09-03 $
// $Id: G4SmartTrackStack.hh,v 1.3 2009-09-16 23:10:46 asaim Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//
// Last Modification : 09/Dec/96 M.Asai
+2 -2
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4StackChecker.hh,v 1.2 2006/06/29 18:09:05 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4StackChecker.hh,v 1.2 2006-06-29 18:09:05 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
#ifndef G4StackChecker_h
+2 -2
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4StackManager.hh,v 1.13 2009/08/15 15:45:50 asaim Exp $
// GEANT4 tag $Name: geant4-09-03 $
// $Id: G4StackManager.hh,v 1.13 2009-08-15 15:45:50 asaim Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//
+3 -3
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4StackedTrack.hh,v 1.12 2010/10/27 07:21:13 gcosmo Exp $
// GEANT4 tag $Name: geant4-09-04 $
// $Id: G4StackedTrack.hh,v 1.12 2010-10-27 07:21:13 gcosmo Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//
// Last Modification : 02/Feb/96 M.Asai
@@ -56,7 +56,7 @@ class G4StackedTrack
G4StackedTrack(G4Track * aTrack, G4VTrajectory * aTrajectory = 0);
~G4StackedTrack();
const G4StackedTrack & operator=(const G4StackedTrack &right);
G4StackedTrack & operator=(const G4StackedTrack &right);
G4int operator==(const G4StackedTrack &right) const;
G4int operator!=(const G4StackedTrack &right) const;
+2 -2
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4StackingMessenger.hh,v 1.6 2009/09/16 23:10:46 asaim Exp $
// GEANT4 tag $Name: geant4-09-03 $
// $Id: G4StackingMessenger.hh,v 1.6 2009-09-16 23:10:46 asaim Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
#ifndef G4StackingMessenger_h
+2 -2
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4TrackStack.hh,v 1.8 2009/09/10 21:31:41 asaim Exp $
// GEANT4 tag $Name: geant4-09-03 $
// $Id: G4TrackStack.hh,v 1.8 2009-09-10 21:31:41 asaim Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//
// Last Modification : 09/Dec/96 M.Asai
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4TrajectoryContainer.hh,v 1.17 2010/10/27 07:21:13 gcosmo Exp $
// GEANT4 tag $Name: geant4-09-04 $
// $Id: G4TrajectoryContainer.hh,v 1.17 2010-10-27 07:21:13 gcosmo Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//
// G4TrajectoryContainer
+2 -2
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4UserEventAction.hh,v 1.6 2006/06/29 18:09:17 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4UserEventAction.hh,v 1.6 2006-06-29 18:09:17 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//
//
+2 -2
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4UserStackingAction.hh,v 1.6 2006/06/29 18:09:19 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4UserStackingAction.hh,v 1.6 2006-06-29 18:09:19 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
#ifndef G4UserStackingAction_h
+2 -2
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4VPrimaryGenerator.hh,v 1.8 2006/06/29 18:09:21 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4VPrimaryGenerator.hh,v 1.8 2006-06-29 18:09:21 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
#ifndef G4VPrimaryGenerator_h
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4VUserEventInformation.hh,v 1.2 2006/06/29 18:09:23 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4VUserEventInformation.hh,v 1.2 2006-06-29 18:09:23 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//
//---------------------------------------------------------------
+2 -2
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: eventgendefs.hh,v 1.4 2006/06/29 18:09:25 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: eventgendefs.hh,v 1.4 2006-06-29 18:09:25 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
#ifndef EventGenerator_DEBUG
#define EventGenerator_DEBUG
+2 -2
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: evmandefs.hh,v 1.7 2009/09/16 23:10:46 asaim Exp $
// GEANT4 tag $Name: geant4-09-03 $
// $Id: evmandefs.hh,v 1.7 2009-09-16 23:10:46 asaim Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
///#define G4EVENTMANAGER_DEBUG 1
+2 -2
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: trajectoryControl.hh,v 1.4 2006/06/29 18:09:29 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: trajectoryControl.hh,v 1.4 2006-06-29 18:09:29 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
////#define G4_STORE_TRAJECTORY 1