Import Geant4 4.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:39:52 +02:00
parent 921d3b1cda
commit 330b82b769
4524 changed files with 178689 additions and 43575 deletions
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4PiMinusStopMaterial.cc,v 1.8 2001/10/05 16:09:44 hpw Exp $
// GEANT4 tag $Name: geant4-04-00 $
// $Id: G4PiMinusStopMaterial.cc,v 1.9 2002/02/12 19:03:00 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
//
// -------------------------------------------------------------------
// GEANT 4 class file --- Copyright CERN 1998
@@ -132,7 +132,7 @@ G4std::vector<G4LorentzVector*>* G4PiMinusStopMaterial::P4Vector(const G4double
mass = (*_definitions)[0]->GetPDGMass();
energy = eKin1 + mass;
p = sqrt(energy*energy - mass*mass);
G4double theta1 = GenerateAngle(pi);
G4double theta1 = pi*G4UniformRand();
G4double phi1 = GenerateAngle(2.*pi);
p1 = MakeP4(p,theta1,phi1,energy);