32 #include <boost/python.hpp>
82 theParticleIterator-> reset();
83 while( (*theParticleIterator)() ){
85 particleList.append(&particle);
100 class_<G4ParticleTable, G4ParticleTable*, boost::noncopyable>
101 (
"G4ParticleTable",
"particle table", no_init)
104 return_value_policy<reference_existing_object>())
105 .staticmethod(
"GetParticleTable")
112 return_value_policy<reference_existing_object>())
114 return_value_policy<return_by_value>())
116 return_value_policy<reference_existing_object>())
118 return_value_policy<reference_existing_object>())
120 return_value_policy<reference_existing_object>())
122 return_value_policy<reference_existing_object>())
124 return_value_policy<reference_existing_object>())
126 return_value_policy<reference_existing_object>())
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
G4ParticleDefinition * FindAntiParticle(G4int PDGEncoding)
G4ParticleDefinition *(G4ParticleTable::* f2_FindAntiParticle)(const G4String &)
void DumpTable(const G4String &particle_name="ALL")
const G4String & GetParticleName(G4int index) const
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateTubeVolume, CreateTubeVolume, 4, 6) BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateConeVolume
G4ParticleDefinition *(G4ParticleTable::* f1_FindParticle)(G4int)
void SetVerboseLevel(G4int value)
void SetReadiness(G4bool val=true)
G4bool GetReadiness() const
G4bool(G4ParticleTable::* f2_contains)(const G4String &) const
static MCGIDI_particle * particleList
G4ParticleDefinition * GetParticle(G4int index) const
#define theParticleIterator
list GetParticleList(G4ParticleTable *particleTable)
G4bool contains(const G4ParticleDefinition *particle) const
static G4ParticleTable * GetParticleTable()
G4bool(G4ParticleTable::* f1_contains)(const G4ParticleDefinition *) const
G4ParticleDefinition *(G4ParticleTable::* f3_FindAntiParticle)(const G4ParticleDefinition *)
G4ParticleDefinition *(G4ParticleTable::* f2_FindParticle)(const G4String &)
G4int GetVerboseLevel() const
G4ParticleDefinition *(G4ParticleTable::* f3_FindParticle)(const G4ParticleDefinition *)
G4ParticleDefinition *(G4ParticleTable::* f1_FindAntiParticle)(G4int)
void export_G4ParticleTable()