Import Geant4 8.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 14:36:02 +02:00
parent d93e1e39a9
commit 8a51e0bc40
5471 changed files with 99628 additions and 55248 deletions
+1 -1
View File
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: G4HepRep.cc,v 1.21 2004/05/27 05:55:20 duns Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
/**
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: G4HepRepFile.cc,v 1.9 2005/06/01 06:50:15 perl Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// Joseph Perl 1 October 2001
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: G4HepRepFileSceneHandler.cc,v 1.37 2005/06/02 17:43:46 allison Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// Joseph Perl 27th January 2002
@@ -20,14 +20,11 @@
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4HepRepFileViewer.cc,v 1.12 2004/03/15 08:00:22 perl Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4HepRepFileViewer.cc,v 1.13 2005/10/13 17:23:42 allison Exp $
// GEANT4 tag $Name: geant4-08-00 $
#include "G4HepRepFileViewer.hh"
#include "G4ios.hh"
#include <strstream>
#include "G4VSceneHandler.hh"
#include "G4HepRepFileSceneHandler.hh"
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: G4HepRepMessenger.cc,v 1.9 2005/06/03 00:03:36 duns Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
#include "G4HepRepMessenger.hh"
@@ -20,8 +20,8 @@
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4HepRepSceneHandler.cc,v 1.90 2005/06/03 00:03:36 duns Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4HepRepSceneHandler.cc,v 1.94 2005/10/29 21:07:46 duns Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
/**
@@ -570,10 +570,10 @@ void G4HepRepSceneHandler::AddSolid(const G4Cons& cons) {
outer->addAttValue("showParentAttributes",true);
HepRepPoint* op1 = factory->createHepRepPoint(outer, vertex1.x(), vertex1.y(), vertex1.z());
op1->addAttValue("Radius",cons.GetOuterRadiusMinusZ());
op1->addAttValue("Radius",cons.GetOuterRadiusPlusZ());
HepRepPoint* op2 = factory->createHepRepPoint(outer, vertex2.x(), vertex2.y(), vertex2.z());
op2->addAttValue("Radius",cons.GetOuterRadiusPlusZ());
op2->addAttValue("Radius",cons.GetOuterRadiusMinusZ());
// Inner cylinder.
HepRepInstance* inner = factory->createHepRepInstance(instance, type);
@@ -581,10 +581,10 @@ void G4HepRepSceneHandler::AddSolid(const G4Cons& cons) {
inner->addAttValue("showParentAttributes",true);
HepRepPoint* ip1 = factory->createHepRepPoint(inner, vertex1.x(), vertex1.y(), vertex1.z());
ip1->addAttValue("Radius",cons.GetInnerRadiusMinusZ());
ip1->addAttValue("Radius",cons.GetInnerRadiusPlusZ());
HepRepPoint* ip2 = factory->createHepRepPoint(inner, vertex2.x(), vertex2.y(), vertex2.z());
ip2->addAttValue("Radius",cons.GetInnerRadiusPlusZ());
ip2->addAttValue("Radius",cons.GetInnerRadiusMinusZ());
}
@@ -837,6 +837,7 @@ void G4HepRepSceneHandler::AddPrimitive (const G4Polyhedron& polyhedron) {
} else {
face = getGeometryInstance("*Face", fCurrentDepth+1);
setAttribute(face, "PickParent", true);
setAttribute(face, "DrawAs", G4String("Polygon"));
}
setLine(face, polyhedron);
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: G4HepRepViewer.cc,v 1.25 2004/05/27 05:59:08 duns Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
/**