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

Referenced by BOOST_PYTHON_MODULE().

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