42 class_<G4Track, G4Track*>(
"G4Track",
"track class")
44 .def(
"GetTrackID", &G4Track::GetTrackID)
45 .def(
"GetParentID", &G4Track::GetParentID)
46 .def(
"GetDynamicParticle", &G4Track::GetDynamicParticle,
47 return_internal_reference<>())
48 .def(
"GetDefinition", &G4Track::GetDefinition,
49 return_internal_reference<>())
50 .def(
"GetPosition", &G4Track::GetPosition,
51 return_value_policy<return_by_value>())
52 .def(
"GetGlobalTime", &G4Track::GetGlobalTime)
53 .def(
"GetLocalTime", &G4Track::GetLocalTime)
54 .def(
"GetProperTime", &G4Track::GetProperTime)
55 .def(
"GetVolume", &G4Track::GetVolume,
56 return_value_policy<reference_existing_object>())
57 .def(
"GetMaterial", &G4Track::GetMaterial,
58 return_value_policy<reference_existing_object>())
59 .def(
"GetTouchable", &G4Track::GetTouchable,
60 return_value_policy<reference_existing_object>())
61 .def(
"GetKineticEnergy", &G4Track::GetKineticEnergy)
62 .def(
"GetTotalEnergy", &G4Track::GetTotalEnergy)
63 .def(
"GetMomentumDirection", &G4Track::GetMomentumDirection,
64 return_value_policy<return_by_value>())
65 .def(
"GetMomentum", &G4Track::GetMomentum,
66 return_value_policy<return_by_value>())
67 .def(
"GetVelocity", &G4Track::GetVelocity)
68 .def(
"GetPolarization", &G4Track::GetPolarization,
69 return_value_policy<return_by_value>())
70 .def(
"GetTrackStatus", &G4Track::GetTrackStatus)
71 .def(
"GetTrackLength", &G4Track::GetTrackLength)
72 .def(
"GetStep", &G4Track::GetStep,
73 return_value_policy<reference_existing_object>())
74 .def(
"GetCurrentStepNumber", &G4Track::GetCurrentStepNumber)
75 .def(
"GetStepLength", &G4Track::GetStepLength)
76 .def(
"GetVertexPosition", &G4Track::GetVertexPosition,
77 return_value_policy<return_by_value>())
78 .def(
"GetVertexMomentumDirection", &G4Track::GetVertexMomentumDirection,
79 return_value_policy<return_by_value>())
80 .def(
"GetVertexKineticEnergy", &G4Track::GetVertexKineticEnergy)
81 .def(
"GetLogicalVolumeAtVertex", &G4Track::GetLogicalVolumeAtVertex,
82 return_value_policy<reference_existing_object>())
83 .def(
"GetCreatorProcess", &G4Track::GetCreatorProcess,
84 return_value_policy<reference_existing_object>())
85 .def(
"GetWeight", &G4Track::GetWeight)
86 .def(
"SetWeight", &G4Track::SetWeight)