Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PyG4ParticleList Class Reference

Public Types

typedef std::vector
< G4ParticleDefinition * > 
ParticleList
 
typedef ParticleList::iterator p_iterator
 

Public Member Functions

p_iterator p_begin ()
 
p_iterator p_end ()
 

Static Public Attributes

static ParticleList particleTableCache
 

Detailed Description

Definition at line 41 of file pyG4ParticleList.cc.

Member Typedef Documentation

typedef ParticleList::iterator PyG4ParticleList::p_iterator

Definition at line 44 of file pyG4ParticleList.cc.

Definition at line 43 of file pyG4ParticleList.cc.

Member Function Documentation

p_iterator PyG4ParticleList::p_begin ( )
inline

Definition at line 48 of file pyG4ParticleList.cc.

48  {
50  if(particleTableCache.size() != particleTable-> size() ) {
51  particleTableCache.clear();
53  theParticleIterator= particleTable-> GetIterator();
54  theParticleIterator-> reset();
55  while( (*theParticleIterator)() ){
56  G4ParticleDefinition* particle= theParticleIterator-> value();
57  particleTableCache.push_back(particle);
58  }
59  }
60  return particleTableCache.begin();
61  }
const XML_Char int const XML_Char * value
Definition: expat.h:331
#define theParticleIterator
static G4ParticleTable * GetParticleTable()
static ParticleList particleTableCache

Here is the call graph for this function:

Here is the caller graph for this function:

p_iterator PyG4ParticleList::p_end ( )
inline

Definition at line 63 of file pyG4ParticleList.cc.

63  {
65  if(particleTableCache.size() != particleTable-> size() ) {
66  particleTableCache.clear();
68  theParticleIterator= particleTable-> GetIterator();
69  theParticleIterator-> reset();
70  while( (*theParticleIterator)() ){
71  G4ParticleDefinition* particle= theParticleIterator-> value();
72  particleTableCache.push_back(particle);
73  }
74  }
75  return particleTableCache.end();
76  }
const XML_Char int const XML_Char * value
Definition: expat.h:331
#define theParticleIterator
static G4ParticleTable * GetParticleTable()
static ParticleList particleTableCache

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

PyG4ParticleList::ParticleList PyG4ParticleList::particleTableCache
static

Definition at line 46 of file pyG4ParticleList.cc.


The documentation for this class was generated from the following file: