Import Geant4 10.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 11:51:14 +02:00
parent e2d2f9810a
commit 286caacf06
12421 changed files with 730077 additions and 502383 deletions
@@ -23,8 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: pyG4VUserPrimaryGeneratorAction.cc,v 1.7 2006-06-29 15:35:33 gunter Exp $
// $Name: not supported by cvs2svn $
// $Id: pyG4VUserPrimaryGeneratorAction.cc 76884 2013-11-18 12:54:03Z gcosmo $
// ====================================================================
// pyG4VUserPrimaryGeneratorAction.cc
//
@@ -43,13 +42,13 @@ namespace pyG4VUserPrimaryGeneratorAction {
struct CB_G4VUserPrimaryGeneratorAction :
G4VUserPrimaryGeneratorAction, wrapper<G4VUserPrimaryGeneratorAction> {
void GeneratePrimaries(G4Event* anEvent) {
get_override("GeneratePrimaries")(boost::ref(anEvent));
}
};
};
}
using namespace pyG4VUserPrimaryGeneratorAction;
@@ -59,11 +58,11 @@ using namespace pyG4VUserPrimaryGeneratorAction;
void export_G4VUserPrimaryGeneratorAction()
{
class_<CB_G4VUserPrimaryGeneratorAction, CB_G4VUserPrimaryGeneratorAction*,
boost::noncopyable>
("G4VUserPrimaryGeneratorAction",
boost::noncopyable>
("G4VUserPrimaryGeneratorAction",
"base class of user primary generator action")
.def("GeneratePrimaries",
.def("GeneratePrimaries",
pure_virtual(&G4VUserPrimaryGeneratorAction::GeneratePrimaries))
;
}