Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pyG4DynamicParticle.cc File Reference
#include <boost/python.hpp>
#include "G4Version.hh"
#include "G4DynamicParticle.hh"
#include "G4PrimaryParticle.hh"
Include dependency graph for pyG4DynamicParticle.cc:

Go to the source code of this file.

Functions

void export_G4DynamicParticle ()
 

Function Documentation

void export_G4DynamicParticle ( )

Definition at line 42 of file pyG4DynamicParticle.cc.

43 {
44  class_<G4DynamicParticle, G4DynamicParticle*>
45  ("G4DynamicParticle", "dynamic particle")
46  // ---
47  .def("GetMomentumDirection", &G4DynamicParticle::GetMomentumDirection,
48  return_value_policy<return_by_value>())
49  .def("GetMomentum", &G4DynamicParticle::GetMomentum,
50  return_value_policy<return_by_value>())
51  //.def("Get4Momentum", &G4DynamicParticle::Get4Momentum,
52  //return_value_policy<return_by_value>())
53  .def("GetTotalMomentum", &G4DynamicParticle::GetTotalMomentum)
54  .def("GetTotalEnergy", &G4DynamicParticle::GetTotalEnergy)
55  .def("GetKineticEnergy", &G4DynamicParticle::GetKineticEnergy)
56  .def("GetProperTime", &G4DynamicParticle::GetProperTime)
57  .def("GetPolarization", &G4DynamicParticle::GetPolarization,
58  return_value_policy<return_by_value>())
59  .def("GetMass", &G4DynamicParticle::GetMass)
60  .def("GetCharge", &G4DynamicParticle::GetCharge)
61  //.def("GetElectronOccupancy", &G4DynamicParticle::GetElectronOccupancy,
62  //return_internal_reference<>())
63  .def("GetTotalOccupancy", &G4DynamicParticle::GetTotalOccupancy)
64  .def("GetOccupancy", &G4DynamicParticle::GetOccupancy)
65  .def("GetDefinition", &G4DynamicParticle::GetDefinition,
66  return_internal_reference<>())
67  .def("GetPreAssignedDecayProperTime",
69  .def("DumpInfo", &G4DynamicParticle::DumpInfo)
70  .def("SetVerboseLevel", &G4DynamicParticle::SetVerboseLevel)
71  .def("GetVerboseLevel", &G4DynamicParticle::GetVerboseLevel)
72  .def("GetPrimaryParticle", &G4DynamicParticle::GetPrimaryParticle,
73  return_internal_reference<>())
74  .def("GetPDGcode", &G4DynamicParticle::GetPDGcode)
75  ;
76 }
G4int GetVerboseLevel() const
G4double GetKineticEnergy() const
G4double GetTotalEnergy() const
G4double GetProperTime() const
G4int GetPDGcode() const
void DumpInfo(G4int mode=0) const
G4ParticleDefinition * GetDefinition() const
void SetVerboseLevel(G4int value)
G4double GetTotalMomentum() const
G4int GetOccupancy(G4int orbit) const
G4int GetTotalOccupancy() const
G4double GetMass() const
const G4ThreeVector & GetMomentumDirection() const
G4double GetCharge() const
G4PrimaryParticle * GetPrimaryParticle() const
const G4ThreeVector & GetPolarization() const
G4double GetPreAssignedDecayProperTime() const
G4ThreeVector GetMomentum() const

Here is the call graph for this function:

Here is the caller graph for this function: