Import Geant4 5.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:57:27 +02:00
parent 330b82b769
commit 37fff30d2e
5733 changed files with 263867 additions and 74574 deletions
+3
View File
@@ -1,3 +1,6 @@
VRML-V04-01-00 November 10 2002
- Bug fixing for marker size (*.icc files)
VRML-V03-02-01 18th September 2001
- Updation for automatic visualization at Hebden Bridge mini-workshop.
- Filename incrementation is made the same as the DAWNFILE driver
@@ -22,7 +22,7 @@
//
//
// $Id: g4mini.java,v 1.3 2001/07/11 10:09:09 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
import java.io.*;
import java.net.*;
@@ -22,7 +22,7 @@
//
//
// $Id: g4vrmlview.java,v 1.3 2001/07/11 10:09:09 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
import java.io.*;
import java.net.*;
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: FRClient.h,v 1.5 2002/06/23 03:31:42 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// FRClient.h
// FukuiRenderer Client
@@ -22,7 +22,7 @@
//
//
// $Id: G4FRClient.hh,v 1.7 2002/06/23 03:31:42 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4FRClient.hh
// Yasuhide Sawada and Satoshi Tanaka
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRML1.hh,v 1.9 2002/06/23 03:31:42 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4VRML1.hh
// Yasuhide Sawada and Satoshi Tanaka
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRML1File.hh,v 1.9 2001/09/18 07:53:08 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4VRML1File.hh
// Satoshi Tanaka & Yasuhide Sawada
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VRML1FileSceneHandler.hh,v 1.11 2002/06/23 03:31:42 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4VRML1FileSceneHandler.hh,v 1.12 2002/12/11 15:57:53 johna Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4VRML1FileSceneHandler.hh
// Satoshi Tanaka & Yasuhide Sawada
@@ -62,6 +62,12 @@ public:
G4VSceneHandler::AddThis (polyhedra);
}
void AddThis(const G4VSolid&);
void AddThis ( const G4VTrajectory& traj) {
G4VSceneHandler::AddThis(traj);
}
void AddThis ( const G4VHit& hit) {
G4VSceneHandler::AddThis(hit);
}
void BeginPrimitives(const G4Transform3D& objectTransformation);
void EndPrimitives();
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRML1FileViewer.hh,v 1.7 2001/09/18 07:53:08 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4VRML1FileViewer.hh
// Satoshi Tanaka and Yasuhide Sawada
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VRML1SceneHandler.hh,v 1.10 2002/06/23 03:31:42 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4VRML1SceneHandler.hh,v 1.11 2002/12/11 15:57:55 johna Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4VRML1SceneHandler.hh
// Yasuhide Sawada & Satoshi Tanaka
@@ -68,6 +68,12 @@ public:
G4VSceneHandler::AddThis (polyhedra);
}
void AddThis(const G4VSolid&);
void AddThis ( const G4VTrajectory& traj) {
G4VSceneHandler::AddThis(traj);
}
void AddThis ( const G4VHit& hit) {
G4VSceneHandler::AddThis(hit);
}
void BeginPrimitives(const G4Transform3D& objectTransformation);
void EndPrimitives();
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRML1Viewer.hh,v 1.7 2002/06/23 03:31:42 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4VRML1Viewer.hh
// Satoshi Tanaka & Yasuhide Sawada
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRML2.hh,v 1.9 2002/06/23 03:31:42 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4VRML2.hh
// Satoshi Tanaka and Yasuhide Sawada
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRML2File.hh,v 1.10 2002/06/23 03:31:42 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4VRML2File.hh
// Satoshi Tanaka & Yasuhide Sawada
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VRML2FileSceneHandler.hh,v 1.10 2002/06/23 03:31:42 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4VRML2FileSceneHandler.hh,v 1.11 2002/12/11 15:57:56 johna Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4VRML2FileSceneHandler.hh
// Satoshi Tanaka & Yasuhide Sawada
@@ -62,6 +62,12 @@ public:
G4VSceneHandler::AddThis (polyhedra);
}
void AddThis(const G4VSolid&);
void AddThis ( const G4VTrajectory& traj) {
G4VSceneHandler::AddThis(traj);
}
void AddThis ( const G4VHit& hit) {
G4VSceneHandler::AddThis(hit);
}
void BeginPrimitives(const G4Transform3D& objectTransformation);
void EndPrimitives();
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRML2FileViewer.hh,v 1.8 2002/06/23 03:31:42 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4VRML2FileViewer.hh
// Satoshi Tanaka and Yasuhide Sawada
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VRML2SceneHandler.hh,v 1.9 2002/06/23 03:31:43 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4VRML2SceneHandler.hh,v 1.10 2002/12/11 15:57:56 johna Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4VRML2SceneHandler.hh
// Satoshi Tanaka & Yasuhide Sawada
@@ -66,6 +66,12 @@ public:
G4VSceneHandler::AddThis (polyhedra);
}
void AddThis(const G4VSolid&);
void AddThis ( const G4VTrajectory& traj) {
G4VSceneHandler::AddThis(traj);
}
void AddThis ( const G4VHit& hit) {
G4VSceneHandler::AddThis(hit);
}
void BeginPrimitives(const G4Transform3D& objectTransformation);
void EndPrimitives();
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRML2Viewer.hh,v 1.7 2002/06/23 03:31:43 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4VRML2Viewer.hh
// Satoshi Tanaka & Yasuhide Sawada
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRMLNetConfig.hh,v 1.6 2002/06/23 03:31:43 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4VRMLNetConfig.hh
// Satoshi Tanaka
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: FRClient.cc,v 1.6 2002/06/23 03:31:50 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// FRClient.cc
// FukuiRenderer Client
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4FRClient.cc,v 1.7 2002/06/23 03:31:50 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4FRClient.cc
// Yasuhide Sawada & Satoshi Tanaka
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRML1.cc,v 1.8 2002/06/23 03:31:50 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4VRML1.cc
// Yasuhide Sawada & Satoshi Tanaka
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRML1File.cc,v 1.8 2001/09/18 07:53:15 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4VRML1File.cc
// Satoshi Tanaka & Yasuhide Sawada
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRML1FileSceneHandler.cc,v 1.7 2001/09/18 07:53:15 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4VRML1FileSceneHandler.cc
// Satoshi Tanaka & Yasuhide Sawada
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRML1FileViewer.cc,v 1.7 2001/09/18 07:53:15 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4VRMLView.cc
// Satoshi Tanaka & Yasuhide Sawada
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRML1SceneHandler.cc,v 1.7 2002/06/23 03:31:50 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4VRML1SceneHandler.cc
// Yasuhide Sawada and Satoshi Tanaka
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VRML1SceneHandlerFunc.icc,v 1.10 2002/06/23 03:31:50 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4VRML1SceneHandlerFunc.icc,v 1.11 2002/11/10 05:10:12 stanaka Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4VRML1SceneHandlerFunc.icc
// Satoshi Tanaka & Yasuhide Sawada
@@ -619,13 +619,11 @@ G4double G4VRML1SCENEHANDLER::GetMarkerHalfSize ( const G4VMarker& mark )
if ( extent_radius_3d <= 0.0 ) { extent_radius_3d = 1.0 ; }
//----- get marker radius in 3D units
if ( size == mark.GetWorldSize() ) {
if ( mark.GetWorldSize() > 0.0 ) {
// get mark radius in 3D units
size = 0.5 * mark.GetWorldSize() ;
} else if ( size == mark.GetScreenSize() ) {
} else if ( mark.GetScreenSize() > 0.0 ) {
// local
double mark_radius_2d = 0.5 * mark.GetScreenSize() ;
@@ -638,6 +636,7 @@ G4double G4VRML1SCENEHANDLER::GetMarkerHalfSize ( const G4VMarker& mark )
// local
double mark_radius_2d \
= fpViewer->GetViewParameters().GetDefaultMarker().GetScreenSize();
mark_radius_2d *= 0.1 ; // Magic number?
// get mark radius in 3D units
size \
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRML1Viewer.cc,v 1.7 2002/06/23 03:31:50 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4VRMLView.cc
// Yasuhide Sawada & Satoshi Tanaka
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRML2.cc,v 1.8 2002/06/23 03:31:50 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4VRML2.cc
// Satoshi Tanaka & Yasuhide Sawada
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRML2File.cc,v 1.8 2001/09/18 07:53:16 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4VRML2File.cc
// Satoshi Tanaka & Yasuhide Sawada
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRML2FileSceneHandler.cc,v 1.8 2002/06/17 10:13:48 gcosmo Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4VRML2FileSceneHandler.cc
// Satoshi Tanaka & Yasuhide Sawada
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRML2FileViewer.cc,v 1.8 2001/09/18 07:53:16 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4VRML2FileViewer.cc
// Satoshi Tanaka & Yasuhide Sawada
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRML2SceneHandler.cc,v 1.8 2002/06/23 03:31:51 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4VRML2SceneHandler.cc
// Satoshi Tanaka & Yasuhide Sawada
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VRML2SceneHandlerFunc.icc,v 1.10 2002/06/23 03:31:51 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4VRML2SceneHandlerFunc.icc,v 1.11 2002/11/10 05:10:17 stanaka Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4VRML2SceneHandlerFunc.icc
// Satoshi Tanaka & Yasuhide Sawada
@@ -572,12 +572,12 @@ G4double G4VRML2SCENEHANDLER::GetMarkerHalfSize ( const G4VMarker& mark )
if ( extent_radius_3d <= 0.0 ) { extent_radius_3d = 1.0 ; }
//----- get marker radius in 3D units
if ( size == mark.GetWorldSize() ) {
if ( mark.GetWorldSize() > 0.0 ) {
// get mark radius in 3D units
size = 0.5 * mark.GetWorldSize() ;
} else if ( size == mark.GetScreenSize() ) {
} else if ( mark.GetScreenSize() > 0.0 ) {
// local
double mark_radius_2d = 0.5 * mark.GetScreenSize() ;
@@ -591,6 +591,7 @@ G4double G4VRML2SCENEHANDLER::GetMarkerHalfSize ( const G4VMarker& mark )
// local
double mark_radius_2d \
= fpViewer->GetViewParameters().GetDefaultMarker().GetScreenSize();
mark_radius_2d *= 0.1 ; // Magic number?
// get mark radius in 3D units
size \
@@ -22,7 +22,7 @@
//
//
// $Id: G4VRML2Viewer.cc,v 1.9 2002/06/23 03:31:51 stanaka Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4VRML2Viewer.cc
// Satoshi Tanaka & Yasuhide Sawada