Import Geant4 2.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:42:07 +02:00
parent 103bda00c8
commit e7d7193284
3106 changed files with 171117 additions and 90550 deletions
+22
View File
@@ -0,0 +1,22 @@
$Id: History,v 1.1 2000/03/01 02:06:09 kurasige Exp $
-------------------------------------------------------------------
=========================================================
Geant4 - an Object-Oriented Toolkit for Simulation in HEP
=========================================================
Category History file
---------------------
This file should be used by G4 developers and category coordinators
to briefly summarize all major modifications introduced in the code
and keep track of all category-tags.
It DOES NOT substitute the CVS log-message one should put at every
committal in the CVS repository !
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
- Mar. 1, 00 H.Kurashige (decay-V01-00-00)
- Bug fix in G4Decay::IsApplicable()
G4Decay should be applicable to "shortlived" particles
+2 -2
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Decay.hh,v 1.2.8.1 1999/12/07 20:50:16 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4Decay.hh,v 1.3 1999/12/15 14:51:27 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// ------------------------------------------------------------
+4 -6
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Decay.cc,v 1.3.8.1.2.1 1999/12/08 17:34:12 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4Decay.cc,v 1.5 2000/03/01 02:06:11 kurasige Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// --------------------------------------------------------------
@@ -26,7 +26,8 @@
// modified IsApplicable in order to protect the decay from registered
// to resonances 12 Dec. 1998 H.Kurashige
// remove G4ParticleMomentum 6 Feb. 99 H.Kurashige
// modified IsApplicable to activate G4Decay for resonances 1 Mar. 00 H.Kurashige
//
#include "G4Decay.hh"
#include "G4DynamicParticle.hh"
#include "G4DecayProducts.hh"
@@ -61,9 +62,6 @@ G4Decay::~G4Decay()
G4bool G4Decay::IsApplicable(const G4ParticleDefinition& aParticleType)
{
// return false if resonances
if (aParticleType.IsShortLived()) return false;
// check if the particle is stable?
if (aParticleType.GetPDGLifeTime() <0.0) {
return false;