Geant4  10.02.p03
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

◆ export_PyG4ParticleList()

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()
p_iterator p_end()
Here is the call graph for this function:
Here is the caller graph for this function: