Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pyG4PVReplica.cc File Reference
#include <boost/python.hpp>
#include "G4PVReplica.hh"
#include "G4LogicalVolume.hh"
Include dependency graph for pyG4PVReplica.cc:

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.

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 }
int G4int
Definition: G4Types.hh:78
EAxis
Definition: geomdefs.hh:54
virtual G4int GetMultiplicity() const
Definition: G4PVReplica.cc:225
double G4double
Definition: G4Types.hh:76

Here is the call graph for this function:

Here is the caller graph for this function: