Skip to content
Snippets Groups Projects
Commit 66d60cf0 authored by Gabriele Cosmo's avatar Gabriele Cosmo
Browse files

Import Geant4 0.0.3 source tree

parent 99a4ffc0
Branches
Tags v0.0.3
No related merge requests found
$Id: History,v 2.29 1998/12/11 18:13:16 kurasige Exp $
$Id: History,v 1.3 1999/02/03 16:26:41 johna Exp $
-------------------------------------------------------------------
=========================================================
......@@ -16,6 +16,13 @@ committal in the CVS repository !
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
- Feb 4, 99 H.Kurashige (particles-01-00-01)
- Re-fixed bugs in destrction of ions (Hisaya)
- Dec. 15, 98 H.Kurashige(particles-00-04-08)
- Fixed bugs in destrction of ions (Hisaya)
- Dec 11, 98 H.Kurashige (particles-00-04-07a)
- Fixed bugs in G4IonTable::GetIonMass (Hisaya)
......
......@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4IonTable.cc,v 2.17 1998/12/11 17:56:37 kurasige Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4IonTable.cc,v 1.2 1999/01/08 11:23:51 gunter Exp $
// GEANT4 tag $Name: particles-01-00-01 $
//
//
// --------------------------------------------------------------
......@@ -60,6 +60,8 @@ G4IonTable::~G4IonTable()
} else if (name == "triton") {
} else if (name == "He3") {
} else if (name == "GenericIon") {
} else {
// delete if not static objects
......
......@@ -67,7 +67,7 @@ G4FragmentVector * G4Be8FermiFragment::GetFragment(const G4LorentzVector & aMome
// 2.0*G4NucleiPropertiesTable::GetMassExcess(2,4); // alphas
G4double AvalKineticE = sqrt(aMomentum.e()*aMomentum.e() -
aMomentum.vect().mag2()) -// Be8
2.0*AtomNum[0]; // alphas
2.0*Masses[0]; // alphas
RWTPtrOrderedVector<G4LorentzVector> * SubFragsMomentum =
......
......@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Nucleus.cc,v 2.6 1998/10/05 09:12:40 pia Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4Nucleus.cc,v 1.2 1999/01/20 17:55:58 hpw Exp $
// GEANT4 tag $Name: hadronic-01-00-00-01 $
//
// original by H.P. Wellisch
// modified by J.L. Chuma, TRIUMF, 19-Nov-1996
......@@ -108,8 +108,8 @@
G4int myZ = G4int(Z + 0.5);
G4int myA = G4int(A + 0.5);
if( myZ < 0 )return 0.0;
if( myZ > myA )return 0.0;
if( myA <= 0 )return DBL_MAX;
if( myZ > myA)return DBL_MAX;
if( myA == 1 )
{
if( myZ == 0 )return neutron_mass*MeV;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment