LArSoft  v09_90_00
Liquid Argon Software toolkit - https://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 84 of file pyG4ParticleList.cc.

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

Referenced by BOOST_PYTHON_MODULE().

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