Import Geant4 9.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 15:58:43 +02:00
parent 96c8bcd0af
commit b79225fb37
7544 changed files with 245407 additions and 91099 deletions
@@ -1,5 +1,5 @@
# $Id: GNUmakefile,v 1.2 2006/04/25 08:09:45 kmura Exp $
# $Name: geant4-09-01 $
# $Name: geant4-09-02 $
# ===========================================================
# Makefile for building Geant4Py modules
# ===========================================================
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4BooleanSolid.cc,v 1.1 2007/08/07 03:35:53 kmura Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4BooleanSolid.cc
//
+1 -1
View File
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4Box.cc,v 1.6 2007/07/12 10:01:53 kmura Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4Box.cc
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4ChordFinder.cc,v 1.4 2006/06/29 15:31:53 gunter Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4ChordFinder.cc
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4Cons.cc,v 1.5 2007/07/12 10:01:53 kmura Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4Cons.cc
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4Ellipsoid.cc,v 1.2 2007/07/13 04:57:50 kmura Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4Ellipsoid.cc
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4EllipticalCone.cc,v 1.2 2007/07/13 04:57:50 kmura Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4EllipticalCone.cc
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4EllipticalTube.cc,v 1.2 2007/07/13 04:57:50 kmura Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4EllipticalTube.cc
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4Field.cc,v 1.4 2006/06/29 15:31:59 gunter Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4Field.cc
//
@@ -23,15 +23,15 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: pyG4FieldManager.cc,v 1.4 2006/06/29 15:32:02 gunter Exp $
// $Name: geant4-09-01 $
// $Id: pyG4FieldManager.cc,v 1.5 2008/03/13 07:32:18 kmura Exp $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4FieldManager.cc
//
// 2005 Q
// ====================================================================
#include <boost/python.hpp>
#include "pyG4Version.hh"
#include "G4Version.hh"
#include "G4FieldManager.hh"
#include "G4Field.hh"
#include "G4ChordFinder.hh"
@@ -0,0 +1,70 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: pyG4GeometryManager.cc,v 1.1 2008/12/03 07:21:56 kmura Exp $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4GeometryManager.cc
//
// 2008 Q
// ====================================================================
#include <boost/python.hpp>
#include "G4GeometryManager.hh"
#include "G4VPhysicalVolume.hh"
using namespace boost::python;
// ====================================================================
// thin wrappers
// ====================================================================
namespace pyG4GeometryManager {
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CloseGeometry, CloseGeometry, 0, 3);
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_OpenGeometry, OpenGeometry, 0, 1);
};
using namespace pyG4GeometryManager;
// ====================================================================
// module definition
// ====================================================================
void export_G4GeometryManager()
{
class_<G4GeometryManager, boost::noncopyable>
("G4GeometryManager", "geometry manager", no_init)
.def("GetInstance", &G4GeometryManager::GetInstance,
return_value_policy<reference_existing_object>())
.staticmethod("GetInstance")
// ---
.def("CloseGeometry", &G4GeometryManager::CloseGeometry,
f_CloseGeometry())
.def("OpenGeometry", &G4GeometryManager::OpenGeometry,
f_OpenGeometry())
.def("IsGeometryClosed", &G4GeometryManager::IsGeometryClosed)
.def("SetWorldMaximumExtent", &G4GeometryManager::SetWorldMaximumExtent)
;
}
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4Hype.cc,v 1.2 2007/07/13 04:57:50 kmura Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4Hype.cc
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4IntersctionSolid.cc,v 1.1 2007/08/07 03:35:53 kmura Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4IntersectionSolid.cc
//
@@ -23,14 +23,15 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: pyG4LogicalVolume.cc,v 1.4 2006/06/29 15:32:08 gunter Exp $
// $Name: geant4-09-01 $
// $Id: pyG4LogicalVolume.cc,v 1.5 2008/03/13 07:32:18 kmura Exp $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4LogicalVolume.cc
//
// 2005 Q
// ====================================================================
#include <boost/python.hpp>
#include "G4Version.hh"
#include "G4LogicalVolume.hh"
#include "G4Material.hh"
#include "G4VSolid.hh"
@@ -41,7 +42,6 @@
#include "G4MaterialCutsCouple.hh"
#include "G4FastSimulationManager.hh"
#include "G4VisAttributes.hh"
#include "pyG4Version.hh"
using namespace boost::python;
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4MagneticField.cc,v 1.4 2006/06/29 15:32:10 gunter Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4MagneticField.cc
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4Navigator.cc,v 1.1 2007/11/13 10:23:51 kmura Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4Navigator.cc
//
+1 -1
View File
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4Orb.cc,v 1.5 2007/07/13 04:57:50 kmura Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4Orb.cc
//
@@ -23,15 +23,15 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: pyG4PVPlacement.cc,v 1.5 2007/08/07 03:35:53 kmura Exp $
// $Name: geant4-09-01 $
// $Id: pyG4PVPlacement.cc,v 1.6 2008/03/13 07:32:18 kmura Exp $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4PVPlacement.cc
//
// 2005 Q
// ====================================================================
#include <boost/python.hpp>
#include "pyG4Version.hh"
#include "G4Version.hh"
#include "G4PVPlacement.hh"
#include "G4LogicalVolume.hh"
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4PVReplica.cc,v 1.4 2006/06/29 15:32:18 gunter Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4PVReplica.cc
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4Para.cc,v 1.5 2007/07/12 10:01:53 kmura Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4Para.cc
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4Polycone.cc,v 1.1 2007/07/11 05:39:50 kmura Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4Polycone.cc
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4Polyhedra.cc,v 1.2 2007/07/11 10:02:22 kmura Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4Polyhedra.cc
//
@@ -23,15 +23,15 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: pyG4Region.cc,v 1.4 2006/06/29 15:32:25 gunter Exp $
// $Name: geant4-09-01 $
// $Id: pyG4Region.cc,v 1.5 2008/03/13 07:32:18 kmura Exp $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4Region.cc
//
// 2005 Q
// ====================================================================
#include <boost/python.hpp>
#include "pyG4Version.hh"
#include "G4Version.hh"
#include "G4Region.hh"
#include "G4LogicalVolume.hh"
#include "G4ProductionCuts.hh"
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4Sphere.cc,v 1.5 2007/07/13 04:57:50 kmura Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4Sphere.cc
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4SubtractionSolid.cc,v 1.1 2007/08/07 03:35:53 kmura Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4SubtractionSolid.cc
//
+1 -1
View File
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4Tet.cc,v 1.2 2007/07/13 04:57:50 kmura Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4Tet.cc
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4Torus.cc,v 1.5 2007/07/13 04:57:50 kmura Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4Torus.cc
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4TouchableHistory.cc,v 1.4 2006/06/29 15:32:33 gunter Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4VTouchable.cc
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4TransportationManager.cc,v 1.4 2006/06/29 15:32:36 gunter Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4TransportationManager.cc
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4Trap.cc,v 1.6 2007/07/13 04:57:50 kmura Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4Trap.cc
//
+1 -1
View File
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4Trd.cc,v 1.5 2007/07/12 10:01:53 kmura Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4Trd.cc
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4Tubs.cc,v 1.5 2007/07/12 10:01:53 kmura Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4Tubs.cc
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4TwistedBox.cc,v 1.2 2007/07/13 04:57:50 kmura Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4TwistedBox.cc
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4TwistedTrap.cc,v 1.2 2007/07/13 04:57:50 kmura Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4TwistedTrap.cc
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4TwistedTrd.cc,v 1.1 2007/07/13 04:58:29 kmura Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4TwistedTrap.cc
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4TwistedTubs.cc,v 1.2 2007/07/13 04:57:51 kmura Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4TwistedTubs.cc
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4UniformMagField.cc,v 1.4 2006/06/29 15:32:48 gunter Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4UniformMagField.cc
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4UnionSolid.cc,v 1.1 2007/08/07 03:35:53 kmura Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4UnionSolid.cc
//
@@ -23,15 +23,15 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: pyG4VPhysicalVolume.cc,v 1.6 2006/11/21 06:03:22 kmura Exp $
// $Name: geant4-09-01 $
// $Id: pyG4VPhysicalVolume.cc,v 1.7 2008/03/13 07:32:18 kmura Exp $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4VPhysicalVolume.cc
//
// 2005 Q
// ====================================================================
#include <boost/python.hpp>
#include "pyG4Version.hh"
#include "G4Version.hh"
#include "G4VPhysicalVolume.hh"
#include "G4LogicalVolume.hh"
#include "G4VPVParameterisation.hh"
@@ -23,15 +23,15 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: pyG4VSolid.cc,v 1.5 2007/07/11 15:21:24 kmura Exp $
// $Name: geant4-09-01 $
// $Id: pyG4VSolid.cc,v 1.6 2008/03/13 07:32:18 kmura Exp $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4VSolid.cc
//
// 2005 Q
// ====================================================================
#include <boost/python.hpp>
#include "pyG4Version.hh"
#include "G4Version.hh"
#include "G4VSolid.hh"
using namespace boost::python;
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: pyG4VTouchable.cc,v 1.4 2006/06/29 15:32:57 gunter Exp $
// $Name: geant4-09-01 $
// $Name: geant4-09-02 $
// ====================================================================
// pyG4VTouchable.cc
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: pymodG4geometry.cc,v 1.9 2007/11/13 08:05:27 kmura Exp $
// $Name: geant4-09-01 $
// $Id: pymodG4geometry.cc,v 1.10 2008/12/03 07:21:56 kmura Exp $
// $Name: geant4-09-02 $
// ====================================================================
// pymodG4geometry.cc [Geant4Py module]
//
@@ -37,6 +37,7 @@ using namespace boost::python;
// ====================================================================
// module definition
// ====================================================================
void export_G4GeometryManager();
void export_G4VTouchable();
void export_G4TouchableHistory();
void export_G4VPhysicalVolume();
@@ -79,6 +80,7 @@ void export_G4ChordFinder();
BOOST_PYTHON_MODULE(G4geometry)
{
export_G4GeometryManager();
export_G4VTouchable();
export_G4TouchableHistory();
export_G4VPhysicalVolume();