Import Geant4 0.1.0 source tree
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# $Id: GNUmakefile,v 2.0 1998/07/02 16:18:12 gunter Exp $
|
||||
# $Id: GNUmakefile,v 1.1 1999/01/07 16:10:59 gunter Exp $
|
||||
# --------------------------------------------------------------
|
||||
# GNUmakefile for processes/decay library. G.Folger 9/12/97
|
||||
# --------------------------------------------------------------
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4Decay.hh,v 2.2 1998/08/10 13:03:15 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: G4Decay.hh,v 1.2 1999/04/13 09:56:05 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -55,12 +55,12 @@ class G4Decay : public G4VRestDiscreteProcess
|
||||
// and
|
||||
// AtRestDoIt (for decay at rest)
|
||||
|
||||
G4VParticleChange *PostStepDoIt(
|
||||
virtual G4VParticleChange *PostStepDoIt(
|
||||
const G4Track& aTrack,
|
||||
const G4Step& aStep
|
||||
);
|
||||
|
||||
G4VParticleChange* AtRestDoIt(
|
||||
virtual G4VParticleChange* AtRestDoIt(
|
||||
const G4Track& aTrack,
|
||||
const G4Step& aStep
|
||||
);
|
||||
@@ -72,7 +72,7 @@ class G4Decay : public G4VRestDiscreteProcess
|
||||
// becasuse this table is universal for all particle types,
|
||||
|
||||
|
||||
G4bool IsApplicable(const G4ParticleDefinition&);
|
||||
virtual G4bool IsApplicable(const G4ParticleDefinition&);
|
||||
// returns "true" if the decay process can be applied to
|
||||
// the particle type.
|
||||
|
||||
@@ -85,7 +85,7 @@ class G4Decay : public G4VRestDiscreteProcess
|
||||
// which has information of daughter particles.
|
||||
|
||||
public:
|
||||
G4double AtRestGetPhysicalInteractionLength(
|
||||
virtual G4double AtRestGetPhysicalInteractionLength(
|
||||
const G4Track& track,
|
||||
G4ForceCondition* condition
|
||||
);
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4Decay.cc,v 2.5 1998/12/15 09:40:26 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: G4Decay.cc,v 1.3 1999/04/13 09:56:08 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
@@ -25,7 +25,7 @@
|
||||
// rename thePhysicsTable to aPhyscisTable 2 Aug. 1998 H.Kurashige
|
||||
// modified IsApplicable in order to protect the decay from registered
|
||||
// to resonances 12 Dec. 1998 H.Kurashige
|
||||
|
||||
// remove G4ParticleMomentum 6 Feb. 99 H.Kurashige
|
||||
|
||||
#include "G4Decay.hh"
|
||||
#include "G4DynamicParticle.hh"
|
||||
@@ -229,7 +229,7 @@ G4VParticleChange* G4Decay::DecayIt(const G4Track& aTrack, const G4Step& )
|
||||
fParticleChangeForDecay.Initialize(aTrack);
|
||||
|
||||
// get particle
|
||||
const G4DynamicParticle* aParticle = aTrack.GetDynamicParticle();
|
||||
G4DynamicParticle* aParticle = aTrack.GetDynamicParticle();
|
||||
|
||||
//check if thePreAssignedDecayProducts exists
|
||||
G4DecayProducts* products = aParticle->GetPreAssignedDecayProducts();
|
||||
@@ -290,7 +290,7 @@ G4VParticleChange* G4Decay::DecayIt(const G4Track& aTrack, const G4Step& )
|
||||
|
||||
// get parent particle information ...................................
|
||||
G4double ParentEnergy = aParticle->GetTotalEnergy();
|
||||
G4ParticleMomentum ParentDirection(aParticle->GetMomentumDirection());
|
||||
G4ThreeVector ParentDirection(aParticle->GetMomentumDirection());
|
||||
|
||||
//boost all decay products to laboratory frame
|
||||
G4double energyDeposit = 0.0;
|
||||
|
||||
Reference in New Issue
Block a user