LArSoft  v09_90_00
Liquid Argon Software toolkit - https://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 71 of file pyG4VPhysicsConstructor.cc.

Referenced by BOOST_PYTHON_MODULE().

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",
80  pure_virtual(&G4VPhysicsConstructor::ConstructParticle))
81  .def("ConstructProcess",
82  pure_virtual(&G4VPhysicsConstructor::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 }