LArSoft  v06_85_00
Liquid Argon Software toolkit - http://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 54 of file pyG4PVPlacement.cc.

Referenced by BOOST_PYTHON_MODULE().

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