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