Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pyG4EmCalculator.cc File Reference
#include <boost/python.hpp>
#include "G4Version.hh"
#include "G4EmCalculator.hh"
#include "G4Region.hh"
#include "G4Material.hh"
#include "G4Element.hh"
#include "G4ParticleDefinition.hh"
#include "G4MaterialCutsCouple.hh"
Include dependency graph for pyG4EmCalculator.cc:

Go to the source code of this file.

Namespaces

 pyG4EmCalculator
 

Functions

const G4ParticleDefinition
const G4Material const
G4Region const G4String const
G4String const G4String const
G4ParticleDefinition const
G4Material const G4Region
const G4String const G4String
const G4String const
G4ParticleDefinition const
G4Material const G4Region
const G4String const G4String
const G4String const
G4ParticleDefinition const
G4String const G4Material
const G4Region const G4String
const G4String const G4String
const G4String
pyG4EmCalculator::BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS (f_GetCrossSectionPerVolume, GetCrossSectionPerVolume, 4, 5)(G4double
 
const G4ParticleDefinition
const G4Material const
G4Region const G4String const
G4String const G4String const
G4ParticleDefinition const
G4Material const G4Region
const G4String const G4String
const G4String const
G4ParticleDefinition const
G4Material const G4Region
const G4String const G4String
const G4String const
G4ParticleDefinition const
G4String const G4Material
const G4Region const G4String
const G4String const G4String
const G4String const
G4ParticleDefinition const
G4String const G4Material
const G4Region const G4String
const G4String const G4String
const G4String
pyG4EmCalculator::BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS (f_GetMeanFreePath, GetMeanFreePath, 4, 5)(G4double
 
 pyG4EmCalculator::BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS (f_ComputeElectronicDEDX, ComputeElectronicDEDX, 3, 4)(G4double
 
 pyG4EmCalculator::BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS (f_ComputeTotalDEDX, ComputeTotalDEDX, 3, 4)(G4double
 
 pyG4EmCalculator::BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS (f_ComputeCrossSectionPerVolume, ComputeCrossSectionPerVolume, 4, 5)(G4double
 
 pyG4EmCalculator::BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS (f_ComputeCrossSectionPerAtom, ComputeCrossSectionPerAtom, 5, 6) BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(g_ComputeCrossSectionPerAtom
 
void export_G4EmCalculator ()
 

Variables

 pyG4EmCalculator::G4double = &G4EmCalculator::GetDEDX
 
 pyG4EmCalculator::ComputeCrossSectionPerAtom
 
const G4ParticleDefinition
const G4Material *G4double 
pyG4EmCalculator::range = &G4EmCalculator::ComputeEnergyCutFromRangeCut
 

Function Documentation

void export_G4EmCalculator ( )

Definition at line 214 of file pyG4EmCalculator.cc.

215 {
216  class_<G4EmCalculator, boost::noncopyable>
217  ("G4EmCalculator", "Provide access to dE/dx and cross section")
218  // ---
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())
231  // ---
232  .def("PrintDEDXTable", &G4EmCalculator::PrintDEDXTable)
233  .def("PrintRangeTable", &G4EmCalculator::PrintRangeTable)
234  .def("PrintInverseRangeTable", &G4EmCalculator::PrintInverseRangeTable)
235  // ---
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())
246  // ---
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)
257  // ---
258  .def("ComputeMeanFreePath",
259  f1_ComputeMeanFreePath, f_ComputeMeanFreePath())
260  .def("ComputeMeanFreePath",
261  f2_ComputeMeanFreePath, f_ComputeMeanFreePath())
262  // ---
263  .def("FindParticle", &G4EmCalculator::FindParticle,
264  return_value_policy<reference_existing_object>())
265  .def("FindMaterial", &G4EmCalculator::FindMaterial,
266  return_value_policy<reference_existing_object>())
267  .def("FindRegion", &G4EmCalculator::FindRegion,
268  return_value_policy<reference_existing_object>())
269  .def("FindCouple", &G4EmCalculator::FindCouple,
270  f_FindCouple()[return_value_policy<reference_existing_object>()])
271  // ---
272  .def("SetVerbose", &G4EmCalculator::SetVerbose)
273  ;
274 }
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 *)

Here is the call graph for this function:

Here is the caller graph for this function: