Import Geant4 7.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 11:11:55 +02:00
parent e083ffb441
commit 516dbf1a58
5914 changed files with 202605 additions and 71141 deletions
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4RayTracerViewer.cc,v 1.11 2003/06/16 17:13:44 gunter Exp $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
// $Id: G4RayTracerViewer.cc,v 1.12 2004/12/07 23:41:01 perl Exp $
// GEANT4 tag $Name: geant4-07-00-cand-03 $
#include "G4RayTracerViewer.hh"
@@ -58,7 +58,7 @@ void G4RayTracerViewer::SetView() {
targetPoint + cameraDistance * fVP.GetViewpointDirection().unit();
const G4double nearDistance = fVP.GetNearDistance(cameraDistance,radius);
const G4double frontHalfHeight = fVP.GetFrontHalfHeight(nearDistance,radius);
const G4double frontHalfAngle = atan(frontHalfHeight / nearDistance);
const G4double frontHalfAngle = std::atan(frontHalfHeight / nearDistance);
// Calculate and set ray tracer parameters.
theTracer->