Import Geant4 0.1.0 source tree
This commit is contained in:
@@ -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