LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
pyG4PVPlacement.cc File Reference
#include <boost/python.hpp>
#include "G4Version.hh"
#include "G4PVPlacement.hh"
#include "G4LogicalVolume.hh"

Go to the source code of this file.

Namespaces

 pyG4PVPlacement
 

Functions

void export_G4PVPlacement ()
 

Function Documentation

void export_G4PVPlacement ( )

Definition at line 53 of file pyG4PVPlacement.cc.

Referenced by BOOST_PYTHON_MODULE().

54 {
55  class_<G4PVPlacement, G4PVPlacement*, bases<G4VPhysicalVolume>,
56  boost::noncopyable >
57  ("G4PVPlacement", "physical volume placement", no_init)
58  // ---
59  .def(init<G4RotationMatrix*, const G4ThreeVector&,
60  G4LogicalVolume*, const G4String&,
61  G4LogicalVolume*, G4bool, G4int>())
62  .def(init<const G4Transform3D&, G4LogicalVolume*,
63  const G4String&, G4LogicalVolume*, G4bool, G4int>())
64  .def(init<G4RotationMatrix*, const G4ThreeVector&,
65  const G4String, G4LogicalVolume*,
66  G4VPhysicalVolume*, G4bool, G4int>())
67  .def(init<const G4Transform3D&, const G4String&,
68  G4LogicalVolume*, G4VPhysicalVolume*, G4bool, G4int>())
69 #if G4VERSION_NUMBER >=800
70  .def(init<G4RotationMatrix*, const G4ThreeVector&,
71  G4LogicalVolume*, const G4String&,
72  G4LogicalVolume*, G4bool, G4int, G4bool>())
73  .def(init<const G4Transform3D&, G4LogicalVolume*,
74  const G4String&, G4LogicalVolume*, G4bool, G4int, G4bool>())
75  .def(init<G4RotationMatrix*, const G4ThreeVector&,
76  const G4String, G4LogicalVolume*,
77  G4VPhysicalVolume*, G4bool, G4int, G4bool>())
78  .def(init<const G4Transform3D&, const G4String&,
79  G4LogicalVolume*, G4VPhysicalVolume*, G4bool, G4int, G4bool>())
80 #endif
81  // ---
82 #if G4VERSION_NUMBER >=800
83  .def("CheckOverlaps", &G4PVPlacement::CheckOverlaps, f_CheckOverlaps())
84 #endif
85  ;
86 }