Import Geant4 4.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:18:25 +02:00
parent 36c080dca6
commit 921d3b1cda
3990 changed files with 185376 additions and 82884 deletions
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4PhaseSpaceDecayChannel.hh,v 1.3.4.2 2001/06/28 20:19:10 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4PhaseSpaceDecayChannel.hh,v 1.5 2001/10/15 09:58:31 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -69,13 +69,5 @@ class G4PhaseSpaceDecayChannel :public G4VDecayChannel
G4DecayProducts *ManyBodyDecayIt();
};
inline
G4double G4PhaseSpaceDecayChannel::Pmx(G4double e, G4double p1, G4double p2)
{
// calcurate momentum of daughter particles in two-body decay
G4double ppp = (e+p1+p2)*(e+p1-p2)*(e-p1+p2)*(e-p1-p2)/(4.0*e*e);
if (ppp>0) return sqrt(ppp);
else return -1.;
}
#endif