Skip to content

Commit 66d60cf

Browse files
committed
Import Geant4 0.0.3 source tree
1 parent 99a4ffc commit 66d60cf

File tree

4 files changed

+17
-8
lines changed

4 files changed

+17
-8
lines changed

source/particles/History

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$Id: History,v 2.29 1998/12/11 18:13:16 kurasige Exp $
1+
$Id: History,v 1.3 1999/02/03 16:26:41 johna Exp $
22
-------------------------------------------------------------------
33

44
=========================================================
@@ -16,6 +16,13 @@ committal in the CVS repository !
1616
----------------------------------------------------------
1717
* Reverse chronological order (last date on top), please *
1818
----------------------------------------------------------
19+
20+
- Feb 4, 99 H.Kurashige (particles-01-00-01)
21+
- Re-fixed bugs in destrction of ions (Hisaya)
22+
23+
- Dec. 15, 98 H.Kurashige(particles-00-04-08)
24+
- Fixed bugs in destrction of ions (Hisaya)
25+
1926
- Dec 11, 98 H.Kurashige (particles-00-04-07a)
2027
- Fixed bugs in G4IonTable::GetIonMass (Hisaya)
2128

source/particles/management/src/G4IonTable.cc

+4-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
// based on the Program) you indicate your acceptance of this statement,
66
// and all its terms.
77
//
8-
// $Id: G4IonTable.cc,v 2.17 1998/12/11 17:56:37 kurasige Exp $
9-
// GEANT4 tag $Name: geant4-00 $
8+
// $Id: G4IonTable.cc,v 1.2 1999/01/08 11:23:51 gunter Exp $
9+
// GEANT4 tag $Name: particles-01-00-01 $
1010
//
1111
//
1212
// --------------------------------------------------------------
@@ -60,6 +60,8 @@ G4IonTable::~G4IonTable()
6060
} else if (name == "triton") {
6161

6262
} else if (name == "He3") {
63+
64+
} else if (name == "GenericIon") {
6365

6466
} else {
6567
// delete if not static objects

source/processes/hadronic/models/generator/de_excitation/src/G4Be8FermiFragment.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ G4FragmentVector * G4Be8FermiFragment::GetFragment(const G4LorentzVector & aMome
6767
// 2.0*G4NucleiPropertiesTable::GetMassExcess(2,4); // alphas
6868
G4double AvalKineticE = sqrt(aMomentum.e()*aMomentum.e() -
6969
aMomentum.vect().mag2()) -// Be8
70-
2.0*AtomNum[0]; // alphas
70+
2.0*Masses[0]; // alphas
7171

7272

7373
RWTPtrOrderedVector<G4LorentzVector> * SubFragsMomentum =

source/processes/hadronic/util/src/G4Nucleus.cc

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
// based on the Program) you indicate your acceptance of this statement,
66
// and all its terms.
77
//
8-
// $Id: G4Nucleus.cc,v 2.6 1998/10/05 09:12:40 pia Exp $
9-
// GEANT4 tag $Name: geant4-00 $
8+
// $Id: G4Nucleus.cc,v 1.2 1999/01/20 17:55:58 hpw Exp $
9+
// GEANT4 tag $Name: hadronic-01-00-00-01 $
1010
//
1111
// original by H.P. Wellisch
1212
// modified by J.L. Chuma, TRIUMF, 19-Nov-1996
@@ -108,8 +108,8 @@
108108

109109
G4int myZ = G4int(Z + 0.5);
110110
G4int myA = G4int(A + 0.5);
111-
if( myZ < 0 )return 0.0;
112-
if( myZ > myA )return 0.0;
111+
if( myA <= 0 )return DBL_MAX;
112+
if( myZ > myA)return DBL_MAX;
113113
if( myA == 1 )
114114
{
115115
if( myZ == 0 )return neutron_mass*MeV;

0 commit comments

Comments
 (0)