Skip to content

Commit

Permalink
Import Geant4 0.0.3 source tree
Browse files Browse the repository at this point in the history
  • Loading branch information
gcosmo committed Jun 8, 2016
1 parent 99a4ffc commit 66d60cf
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
9 changes: 8 additions & 1 deletion source/particles/History
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$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 $
-------------------------------------------------------------------

=========================================================
Expand All @@ -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)

Expand Down
6 changes: 4 additions & 2 deletions source/particles/management/src/G4IonTable.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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 $
//
//
// --------------------------------------------------------------
Expand Down Expand Up @@ -60,6 +60,8 @@ G4IonTable::~G4IonTable()
} else if (name == "triton") {

} else if (name == "He3") {

} else if (name == "GenericIon") {

} else {
// delete if not static objects
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down
8 changes: 4 additions & 4 deletions source/processes/hadronic/util/src/G4Nucleus.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 66d60cf

Please sign in to comment.