LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
pyG4ParticleList.cc File Reference
#include <boost/python.hpp>
#include "G4ParticleTable.hh"

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.

References PyG4ParticleList::p_begin(), and PyG4ParticleList::p_end().

Referenced by BOOST_PYTHON_MODULE().

86 {
87  class_<PyG4ParticleList>("PyG4ParticleList", "particle list")
89  .add_property("particles", range(&PyG4ParticleList::p_begin,
91  ;
92 }
p_iterator p_end()
p_iterator p_begin()