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

Go to the source code of this file.

Functions

void export_G4PVReplica ()
 

Function Documentation

void export_G4PVReplica ( )

Definition at line 41 of file pyG4PVReplica.cc.

Referenced by BOOST_PYTHON_MODULE().

42 {
43  class_<G4PVReplica, G4PVReplica*, bases<G4VPhysicalVolume>,
44  boost::noncopyable >
45  ("G4PVReplica", "physical volume placement with replication", no_init)
46  // constructors
47  .def(init<const G4String&, G4LogicalVolume*, G4LogicalVolume*,
48  const EAxis, const G4int, const G4double>())
49  .def(init<const G4String&, G4LogicalVolume*, G4LogicalVolume*,
50  const EAxis, const G4int, const G4double, const G4double>())
51  .def(init<const G4String&, G4LogicalVolume*, G4VPhysicalVolume*,
52  const EAxis, const G4int, const G4double>())
53  .def(init<const G4String&, G4LogicalVolume*, G4VPhysicalVolume*,
54  const EAxis, const G4int, const G4double, const G4double>())
55  // ---
56  .def("GetMultiplicity", &G4PVReplica::GetMultiplicity)
57  ;
58 }