View | Details | Raw Unified | Return to problem 1317
Collapse All | Expand All

(-)geant4.9.6.b01.original/environments/g4py/source/event/pyG4Event.cc (-1 / +1 lines)
Lines 51-57 Link Here
51
// ====================================================================
51
// ====================================================================
52
void export_G4Event()
52
void export_G4Event()
53
{
53
{
54
  class_<G4Event, G4Event*>("G4Event", "event class")
54
  class_<G4Event, boost::noncopyable>("G4Event", "event class")
55
    .def(init<G4int>())
55
    .def(init<G4int>())
56
    // ---
56
    // ---
57
    .def("Print",              &G4Event::Print)
57
    .def("Print",              &G4Event::Print)
(-)geant4.9.6.b01.original/environments/g4py/source/particles/pyG4DynamicParticle.cc (-2 lines)
Lines 33-41 Link Here
33
#include <boost/python.hpp>
33
#include <boost/python.hpp>
34
#include "G4Version.hh"
34
#include "G4Version.hh"
35
#include "G4DynamicParticle.hh"
35
#include "G4DynamicParticle.hh"
36
#if G4VERSION_NUMBER <= 701
37
#include "G4PrimaryParticle.hh"
36
#include "G4PrimaryParticle.hh"
38
#endif
39
37
40
using namespace boost::python;
38
using namespace boost::python;
41
39
(-)geant4.9.6.b01.original/environments/g4py/source/run/pyG4Run.cc (-1 / +1 lines)
Lines 42-48 Link Here
42
// ====================================================================
42
// ====================================================================
43
void export_G4Run()
43
void export_G4Run()
44
{
44
{
45
  class_<G4Run, G4Run*>("G4Run", "run class")
45
  class_<G4Run, boost::noncopyable>("G4Run", "run class")
46
    // ---
46
    // ---
47
    .def("GetRunID",         &G4Run::GetRunID)
47
    .def("GetRunID",         &G4Run::GetRunID)
48
    .def("SetRunID",         &G4Run::SetRunID)
48
    .def("SetRunID",         &G4Run::SetRunID)

Return to problem 1317