Import Geant4 8.2.0 source tree
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# $Id: GNUmakefile,v 1.2 2006/04/25 08:09:45 kmura Exp $
|
||||
# $Name: geant4-08-01 $
|
||||
# $Name: geant4-08-02 $
|
||||
# ===========================================================
|
||||
# Makefile for building Geant4Py modules
|
||||
# ===========================================================
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: pyG4DecayTable.cc,v 1.4 2006/06/29 15:34:27 gunter Exp $
|
||||
// $Name: geant4-08-01 $
|
||||
// $Name: geant4-08-02 $
|
||||
// ====================================================================
|
||||
// pyG4DecayTable.cc
|
||||
//
|
||||
|
||||
@@ -23,16 +23,19 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: pyG4DynamicParticle.cc,v 1.4 2006/06/29 15:34:30 gunter Exp $
|
||||
// $Name: geant4-08-01 $
|
||||
// $Id: pyG4DynamicParticle.cc,v 1.5 2006/08/25 05:52:51 kmura Exp $
|
||||
// $Name: geant4-08-02 $
|
||||
// ====================================================================
|
||||
// pyG4DynamicParticle.cc
|
||||
//
|
||||
// 2005 Q
|
||||
// ====================================================================
|
||||
#include <boost/python.hpp>
|
||||
#include "G4DynamicParticle.hh"
|
||||
#include "pyG4Version.hh"
|
||||
#include "G4DynamicParticle.hh"
|
||||
#if G4VERSION_NUMBER <= 701
|
||||
#include "G4PrimaryParticle.hh"
|
||||
#endif
|
||||
|
||||
using namespace boost::python;
|
||||
|
||||
@@ -74,6 +77,6 @@ void export_G4DynamicParticle()
|
||||
#if G4VERSION_NUMBER >= 710
|
||||
.def("GetPDGcode", &G4DynamicParticle::GetPDGcode)
|
||||
#endif
|
||||
;
|
||||
;
|
||||
}
|
||||
|
||||
|
||||
@@ -23,14 +23,15 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: pyG4ParticleDefinition.cc,v 1.4 2006/06/29 15:34:33 gunter Exp $
|
||||
// $Name: geant4-08-01 $
|
||||
// $Id: pyG4ParticleDefinition.cc,v 1.5 2006/08/25 06:14:52 kmura Exp $
|
||||
// $Name: geant4-08-02 $
|
||||
// ====================================================================
|
||||
// pyG4ParticleDefinition.cc
|
||||
//
|
||||
// 2005 Q
|
||||
// ====================================================================
|
||||
#include <boost/python.hpp>
|
||||
#include "pyG4Version.hh"
|
||||
#include "G4ParticleDefinition.hh"
|
||||
#include "G4ParticleTable.hh"
|
||||
#include "G4DecayTable.hh"
|
||||
@@ -85,8 +86,10 @@ void export_G4ParticleDefinition()
|
||||
.def("GetParticleTable", &G4ParticleDefinition::GetParticleTable,
|
||||
return_value_policy<reference_existing_object>())
|
||||
.def("DumpTable", &G4ParticleDefinition::DumpTable)
|
||||
#if G4VERSION_NUMBER >= 701
|
||||
.def("GetAtomicNumber", &G4ParticleDefinition::GetAtomicNumber)
|
||||
.def("GetAtomicMass", &G4ParticleDefinition::GetAtomicMass)
|
||||
#endif
|
||||
.def("SetVerboseLevel", &G4ParticleDefinition::SetVerboseLevel)
|
||||
.def("GetVerboseLevel", &G4ParticleDefinition::GetVerboseLevel)
|
||||
.def("SetApplyCutsFlag", &G4ParticleDefinition::SetApplyCutsFlag)
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: pyG4ParticleList.cc,v 1.3 2006/06/29 15:34:35 gunter Exp $
|
||||
// $Name: geant4-08-01 $
|
||||
// $Name: geant4-08-02 $
|
||||
// ====================================================================
|
||||
// pyG4ParticleList.cc
|
||||
//
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: pyG4ParticleTable.cc,v 1.4 2006/06/29 15:34:37 gunter Exp $
|
||||
// $Name: geant4-08-01 $
|
||||
// $Name: geant4-08-02 $
|
||||
// ====================================================================
|
||||
// pyG4ParticleTable.cc
|
||||
//
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: pyG4PrimaryParticle.cc,v 1.4 2006/06/29 15:34:40 gunter Exp $
|
||||
// $Name: geant4-08-01 $
|
||||
// $Name: geant4-08-02 $
|
||||
// ====================================================================
|
||||
// pyG4PrimaryParticle.cc
|
||||
//
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: pyG4PrimaryVertex.cc,v 1.4 2006/06/29 15:34:43 gunter Exp $
|
||||
// $Name: geant4-08-01 $
|
||||
// $Name: geant4-08-02 $
|
||||
// ====================================================================
|
||||
// pyG4PrimaryVertex.cc
|
||||
//
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: pymodG4particles.cc,v 1.4 2006/06/29 15:34:46 gunter Exp $
|
||||
// $Name: geant4-08-01 $
|
||||
// $Name: geant4-08-02 $
|
||||
// ====================================================================
|
||||
// pymodG4particles.cc
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user