Import Geant4 1.0.0 source tree
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
// the GEANT4 collaboration.
|
||||
//
|
||||
// By copying, distributing or modifying the Program (or any work
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4ParticleChange.hh,v 1.3 1999/04/13 09:43:22 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// $Id: G4ParticleChange.hh,v 1.5 1999/11/07 16:31:59 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -18,9 +18,10 @@
|
||||
// ------------------------------------------------------------
|
||||
// Implemented for the new scheme 23 Mar. 1998 H.Kurahige
|
||||
//
|
||||
// Class Description
|
||||
// This class is a concrete class for ParticleChange which
|
||||
// has all functionality in old scheme.
|
||||
//
|
||||
//-
|
||||
// This class contains the results after invocation of a physics process.
|
||||
// This includes final states of parent particle (momentum, energy,
|
||||
// etc) and secondary particles generated by the interaction.
|
||||
@@ -28,17 +29,21 @@
|
||||
// momentum are in global reference system, therefore all the
|
||||
// needed Lorentz transformations must have been already Done
|
||||
// when filling the data-members of this class.
|
||||
//
|
||||
//-
|
||||
// ---------------------------------------------------------------
|
||||
// IMPORTANT NOTE: Although the name of the class and methods are
|
||||
// "Change", what it stores (and returns in get) are the "FINAL"
|
||||
// values of the Position, Momentum, etc.
|
||||
// ------------------------------------------------------------
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
// modify AddSecondary methods for "GoodForTracking" flag
|
||||
// 8 June 1998 H.Kurashige
|
||||
// Add Track weight 12 Nov. 1998 H.Kurashige
|
||||
// Add Get/SetMomentumDirectionChange 6 Feb. 1999 H.Kurashige
|
||||
// Add get/SetDynamicMass 5 Oct. 1999 H.Kurashige
|
||||
// Add get/SetDynamicCharge 5 Oct. 1999 H.Kurashige
|
||||
// -------------------------------------------------------------
|
||||
|
||||
#ifndef G4ParticleChange_h
|
||||
#define G4ParticleChange_h 1
|
||||
|
||||
@@ -69,7 +74,7 @@ class G4ParticleChange: public G4VParticleChange
|
||||
G4bool operator==(const G4ParticleChange &right) const;
|
||||
G4bool operator!=(const G4ParticleChange &right) const;
|
||||
|
||||
public:
|
||||
public: // with description
|
||||
// ----------------------------------------------------
|
||||
// --- the following methods are for updating G4Step -----
|
||||
// Return the pointer to the G4Step after updating the Step information
|
||||
@@ -93,12 +98,12 @@ class G4ParticleChange: public G4VParticleChange
|
||||
virtual void Initialize(const G4Track&);
|
||||
// Initialize all propoerties by using G4Track information
|
||||
|
||||
protected:
|
||||
protected: // with description
|
||||
G4Step* UpdateStepInfo(G4Step* Step);
|
||||
// Update the G4Step specific attributes
|
||||
// (i.e. SteppingControl, LocalEnergyDeposit, and TrueStepLength)
|
||||
|
||||
public:
|
||||
public: // with description
|
||||
|
||||
// ----------------------------------------------------
|
||||
//--- methods to keep information of the final state--
|
||||
@@ -135,7 +140,15 @@ class G4ParticleChange: public G4VParticleChange
|
||||
G4double GetTimeChange() const;
|
||||
void SetTimeChange(G4double t);
|
||||
// Get/Set theTimeChange vector.
|
||||
|
||||
G4double GetMassChange() const;
|
||||
void SetMassChange(G4double mass);
|
||||
// Get/Set theMassChange
|
||||
|
||||
G4double GetChargeChange() const;
|
||||
void SetChargeChange(G4double mass);
|
||||
// Get/Set theChargeChange
|
||||
|
||||
G4double GetWeightChange() const;
|
||||
void SetWeightChange(G4double w);
|
||||
// Get/Set theWeightChange
|
||||
@@ -205,7 +218,14 @@ class G4ParticleChange: public G4VParticleChange
|
||||
// The changed (final) proper time of a given track
|
||||
|
||||
G4double theWeightChange;
|
||||
// The Chnanged (final) weight of a given track
|
||||
// The Changed (final) weight of a given track
|
||||
|
||||
G4double theMassChange;
|
||||
// The Changed (final) mass of a given track
|
||||
|
||||
G4double theChargeChange;
|
||||
// The Changed (final) charge of a given track
|
||||
|
||||
|
||||
public:
|
||||
// these methods is used for switch on/off EB in all ParticleChange objects
|
||||
|
||||
Reference in New Issue
Block a user