| Message: Creating geometry in python | Not Logged In (login) |
|
Hello again boys,
I have another problem and I hope someone can help me. I have executed successful the examples using python, now I programming my own simulation, but I should not use the modules, because my thesis. My problem: Declaring my World Physical volume in C++
physicWorld = new G4PVPlacement(0, G4ThreeVector(), logicWorld, "Mundo", 0, false, 0); And it compiled ok, but, in python I did almost the same thing:
physicWorld = G4PVPlacement(0, G4ThreeVector(), logicWorld, "Mundo", 0, False, 0) And it hasnīt compiled. Iīve received a error saying that doensīt exist a method with my inputs. I think this happens because the zero (0), the method ask for HepGeom::Transform3D or CLHEP::HepRotation and my input is int (zero, 0). I guess that I have two options, use the methods in python, but I donīt know how or find out how to put zero, null(None) in python. Ok, I am not a python programmer, but I am trying, someone can give me a tip? Thanks guys ;) Rafael
|
| Inline Depth: | Outline Depth: | Add message: |
|
to: |