216 class_<G4EmCalculator, boost::noncopyable>
217 (
"G4EmCalculator",
"Provide access to dE/dx and cross section")
219 .def(
"GetDEDX", f1_GetDEDX, f_GetDEDX())
220 .def(
"GetDEDX", f2_GetDEDX, f_GetDEDX())
221 .def(
"GetRange", f1_GetRange, f_GetRange())
222 .def(
"GetRange", f2_GetDEDX, f_GetRange())
223 .def(
"GetKinEnergy", f1_GetKinEnergy, f_GetKinEnergy())
224 .def(
"GetKinEnergy", f2_GetKinEnergy, f_GetKinEnergy())
225 .def(
"GetCrossSectionPerVolume",
226 f1_GetCrossSectionPerVolume, f_GetCrossSectionPerVolume())
227 .def(
"GetCrossSectionPerVolume",
228 f2_GetCrossSectionPerVolume, f_GetCrossSectionPerVolume())
229 .def(
"GetMeanFreePath", f1_GetMeanFreePath, f_GetMeanFreePath())
230 .def(
"GetMeanFreePath", f2_GetMeanFreePath, f_GetMeanFreePath())
236 .def(
"ComputeDEDX", f1_ComputeDEDX, f_ComputeDEDX())
237 .def(
"ComputeDEDX", f2_ComputeDEDX, f_ComputeDEDX())
238 .def(
"ComputeNuclearDEDX", f1_ComputeNuclearDEDX)
239 .def(
"ComputeNuclearDEDX", f2_ComputeNuclearDEDX)
240 .def(
"ComputeElectronicDEDX", f1_ComputeElectronicDEDX,
241 f_ComputeElectronicDEDX())
242 .def(
"ComputeDEDX", f2_ComputeElectronicDEDX,
243 f_ComputeElectronicDEDX())
244 .def(
"ComputeTotalDEDX", f1_ComputeTotalDEDX, f_ComputeTotalDEDX())
245 .def(
"ComputeTotalDEDX", f2_ComputeTotalDEDX, f_ComputeTotalDEDX())
247 .def(
"ComputeCrossSectionPerVolume",
248 f1_ComputeCrossSectionPerVolume, f_ComputeCrossSectionPerVolume())
249 .def(
"ComputeCrossSectionPerVolume",
250 f2_ComputeCrossSectionPerVolume, f_ComputeCrossSectionPerVolume())
251 .def(
"ComputeCrossSectionPerAtom",
252 f1_ComputeCrossSectionPerAtom, f_ComputeCrossSectionPerAtom())
253 .def(
"ComputeCrossSectionPerAtom",
254 f2_ComputeCrossSectionPerAtom, g_ComputeCrossSectionPerAtom())
255 .def(
"ComputeEnergyCutFromRangeCut", f1_ComputeEnergyCutFromRangeCut)
256 .def(
"ComputeEnergyCutFromRangeCut", f2_ComputeEnergyCutFromRangeCut)
258 .def(
"ComputeMeanFreePath",
259 f1_ComputeMeanFreePath, f_ComputeMeanFreePath())
260 .def(
"ComputeMeanFreePath",
261 f2_ComputeMeanFreePath, f_ComputeMeanFreePath())
264 return_value_policy<reference_existing_object>())
266 return_value_policy<reference_existing_object>())
268 return_value_policy<reference_existing_object>())
270 f_FindCouple()[return_value_policy<reference_existing_object>()])
const G4MaterialCutsCouple * FindCouple(const G4Material *, const G4Region *r=nullptr)
const G4Material * FindMaterial(const G4String &)
void PrintRangeTable(const G4ParticleDefinition *)
void PrintInverseRangeTable(const G4ParticleDefinition *)
const G4ParticleDefinition * FindParticle(const G4String &)
const G4Region * FindRegion(const G4String &)
void SetVerbose(G4int val)
void PrintDEDXTable(const G4ParticleDefinition *)