LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
pyG4VPhysicsConstructor.cc File Reference
#include <boost/python.hpp>
#include "G4VPhysicsConstructor.hh"

Go to the source code of this file.

Classes

class  pyG4VPhysicsConstructor::CB_G4VPhysicsConstructor
 

Namespaces

 pyG4VPhysicsConstructor
 

Functions

void export_G4VPhysicsConstructor ()
 

Function Documentation

void export_G4VPhysicsConstructor ( )

Definition at line 72 of file pyG4VPhysicsConstructor.cc.

Referenced by BOOST_PYTHON_MODULE().

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