Geant4-11
Data Structures | Namespaces | Functions
pyG4VPhysicsConstructor.cc File Reference
#include <boost/python.hpp>
#include "G4VPhysicsConstructor.hh"

Go to the source code of this file.

Data Structures

class  pyG4VPhysicsConstructor::CB_G4VPhysicsConstructor
 

Namespaces

namespace  pyG4VPhysicsConstructor
 

Functions

void export_G4VPhysicsConstructor ()
 

Function Documentation

◆ export_G4VPhysicsConstructor()

void export_G4VPhysicsConstructor ( )

Definition at line 71 of file pyG4VPhysicsConstructor.cc.

72{
73 class_<CB_G4VPhysicsConstructor, boost::noncopyable>
74 ("G4VPhysicsConstructor",
75 "base class of user physics constructor")
76 // ----
77 .def(init<const G4String&>())
78 // ---
79 .def("ConstructParticle",
81 .def("ConstructProcess",
83 // ---
84 .def("SetPhysicsName", &G4VPhysicsConstructor::SetPhysicsName,
85 f_SetPhysicsName())
86 .def("GetPhysicsName", &G4VPhysicsConstructor::GetPhysicsName,
87 return_value_policy<return_by_value>())
88 .def("SetVerboseLevel", &G4VPhysicsConstructor::SetVerboseLevel)
89 .def("GetVerboseLevel", &G4VPhysicsConstructor::GetVerboseLevel)
90 ;
91}
virtual void ConstructParticle()=0
virtual void ConstructProcess()=0
const G4String & GetPhysicsName() const
void SetPhysicsName(const G4String &="")
void SetVerboseLevel(G4int value)

References G4VPhysicsConstructor::ConstructParticle(), G4VPhysicsConstructor::ConstructProcess(), G4VPhysicsConstructor::GetPhysicsName(), G4VPhysicsConstructor::GetVerboseLevel(), G4VPhysicsConstructor::SetPhysicsName(), and G4VPhysicsConstructor::SetVerboseLevel().

Referenced by BOOST_PYTHON_MODULE().