Import Geant4 9.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 17:01:34 +02:00
parent b1eb5424d2
commit e2d2f9810a
10384 changed files with 698580 additions and 628834 deletions
@@ -24,8 +24,7 @@
// ********************************************************************
//
//
// $Id: G4RandomTools.hh,v 1.2 2008-11-07 17:54:21 gum Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
// $Id$
//
//
// ---------------------------------------------------------------------------
@@ -44,6 +43,8 @@
#ifndef G4RANDOMTOOLS_HH
#define G4RANDOMTOOLS_HH
#include <CLHEP/Units/PhysicalConstants.h>
#include "globals.hh"
#include "Randomize.hh"
#include "G4RandomDirection.hh"
@@ -80,7 +81,7 @@ inline G4ThreeVector G4PlaneVectorRand(const G4ThreeVector& normal)
G4ThreeVector vec1 = normal.orthogonal();
G4ThreeVector vec2 = vec1.cross(normal);
G4double phi = twopi*G4UniformRand();
G4double phi = CLHEP::twopi*G4UniformRand();
G4double cosphi = std::cos(phi);
G4double sinphi = std::sin(phi);