Import Geant4 9.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 16:25:56 +02:00
parent 74cad5e589
commit 89a9605df1
4440 changed files with 379508 additions and 189225 deletions
+25 -3
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4Track.hh,v 1.19 2008/10/24 08:22:20 kurasige Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4Track.hh,v 1.23 2010/11/08 21:25:38 asaim Exp $
// GEANT4 tag $Name: geant4-09-04 $
//
//
//---------------------------------------------------------------
@@ -58,6 +58,8 @@
#include "G4TouchableHandle.hh" // Include from 'geometry'
#include "G4VUserTrackInformation.hh"
#include "G4PhysicsLogVector.hh"
#include "G4Material.hh"
class G4Step; // Forward declaration
@@ -115,6 +117,9 @@ public: // With description
const G4DynamicParticle* GetDynamicParticle() const;
// particle definition
const G4ParticleDefinition* GetParticleDefinition() const;
// following method of GetDefinition remains
// because of backward compatiblity. It will be removed in future
G4ParticleDefinition* GetDefinition() const;
// position, time
@@ -151,6 +156,10 @@ public: // With description
const G4TouchableHandle& GetNextTouchableHandle() const;
void SetNextTouchableHandle( const G4TouchableHandle& apValue);
const G4VTouchable* GetOriginTouchable() const;
const G4TouchableHandle& GetOriginTouchableHandle() const;
void SetOriginTouchableHandle( const G4TouchableHandle& apValue);
// energy
G4double GetKineticEnergy() const;
void SetKineticEnergy(const G4double aValue);
@@ -234,6 +243,8 @@ public: // With description
//---------
private:
//---------
// prepare velocity table
void PrepareVelocityTable();
// Member data
G4int fCurrentStepNumber; // Total steps number up to now
@@ -246,6 +257,7 @@ public: // With description
G4TouchableHandle fpTouchable;
G4TouchableHandle fpNextTouchable;
G4TouchableHandle fpOriginTouchable;
// Touchable Handle
G4DynamicParticle* fpDynamicParticle;
@@ -276,8 +288,18 @@ public: // With description
const G4VProcess* fpCreatorProcess; // Process which created the track
G4VUserTrackInformation* fpUserInformation;
mutable G4Material* prev_mat;
mutable G4MaterialPropertyVector* groupvel;
mutable G4double prev_velocity;
mutable G4double prev_momentum;
static G4PhysicsLogVector* velTable;
static const G4double maxT;
static const G4double minT;
G4bool is_OpticalPhoton;
};
#include "G4Step.hh"
#include "G4Track.icc"
#endif