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

Go to the source code of this file.

Classes

class  PyG4ParticleList
 

Functions

void export_PyG4ParticleList ()
 

Function Documentation

void export_PyG4ParticleList ( )

Definition at line 85 of file pyG4ParticleList.cc.

86 {
87  class_<PyG4ParticleList>("PyG4ParticleList", "particle list")
88  .def("__iter__", iterator<PyG4ParticleList::ParticleList>())
89  .add_property("particles", range(&PyG4ParticleList::p_begin,
91  ;
92 }
p_iterator p_begin()
const G4ParticleDefinition const G4Material *G4double range
p_iterator p_end()

Here is the call graph for this function:

Here is the caller graph for this function: