LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
pyG4ParticleTable Namespace Reference

Functions

list GetParticleList (G4ParticleTable *particleTable)
 

Variables

G4bool(G4ParticleTable::* f1_contains )(const G4ParticleDefinition *) const = &G4ParticleTable::contains
 
G4bool(G4ParticleTable::* f2_contains )(const G4String &) const = &G4ParticleTable::contains
 
G4ParticleDefinition *(G4ParticleTable::* f1_FindParticle )(G4int) = &G4ParticleTable::FindParticle
 
G4ParticleDefinition *(G4ParticleTable::* f2_FindParticle )(const G4String &) = &G4ParticleTable::FindParticle
 
G4ParticleDefinition *(G4ParticleTable::* f3_FindParticle )(const G4ParticleDefinition *) = &G4ParticleTable::FindParticle
 
G4ParticleDefinition *(G4ParticleTable::* f1_FindAntiParticle )(G4int) = &G4ParticleTable::FindAntiParticle
 
G4ParticleDefinition *(G4ParticleTable::* f2_FindAntiParticle )(const G4String &) = &G4ParticleTable::FindAntiParticle
 
G4ParticleDefinition *(G4ParticleTable::* f3_FindAntiParticle )(const G4ParticleDefinition *) = &G4ParticleTable::FindAntiParticle
 

Function Documentation

list pyG4ParticleTable::GetParticleList ( G4ParticleTable *  particleTable)

Definition at line 77 of file pyG4ParticleTable.cc.

References fhicl::detail::atom::value().

Referenced by export_G4ParticleTable().

78 {
79  list particleList;
80  G4ParticleTable::G4PTblDicIterator*
81  theParticleIterator= particleTable-> GetIterator();
82  theParticleIterator-> reset();
83  while( (*theParticleIterator)() ){
84  G4ParticleDefinition* particle= theParticleIterator-> value();
85  particleList.append(&particle);
86  }
87 
88  return particleList;
89 }
std::string value(boost::any const &)

Variable Documentation

G4bool(G4ParticleTable::* pyG4ParticleTable::f1_contains) (const G4ParticleDefinition *) const = &G4ParticleTable::contains

Definition at line 44 of file pyG4ParticleTable.cc.

Referenced by export_G4ParticleTable().

G4ParticleDefinition*(G4ParticleTable::* pyG4ParticleTable::f1_FindAntiParticle) (G4int) = &G4ParticleTable::FindAntiParticle

Definition at line 61 of file pyG4ParticleTable.cc.

Referenced by export_G4ParticleTable().

G4ParticleDefinition*(G4ParticleTable::* pyG4ParticleTable::f1_FindParticle) (G4int) = &G4ParticleTable::FindParticle

Definition at line 51 of file pyG4ParticleTable.cc.

Referenced by export_G4ParticleTable().

G4bool(G4ParticleTable::* pyG4ParticleTable::f2_contains) (const G4String &) const = &G4ParticleTable::contains

Definition at line 47 of file pyG4ParticleTable.cc.

Referenced by export_G4ParticleTable().

G4ParticleDefinition*(G4ParticleTable::* pyG4ParticleTable::f2_FindAntiParticle) (const G4String &) = &G4ParticleTable::FindAntiParticle

Definition at line 64 of file pyG4ParticleTable.cc.

Referenced by export_G4ParticleTable().

G4ParticleDefinition*(G4ParticleTable::* pyG4ParticleTable::f2_FindParticle) (const G4String &) = &G4ParticleTable::FindParticle

Definition at line 54 of file pyG4ParticleTable.cc.

Referenced by export_G4ParticleTable().

G4ParticleDefinition*(G4ParticleTable::* pyG4ParticleTable::f3_FindAntiParticle) (const G4ParticleDefinition *) = &G4ParticleTable::FindAntiParticle

Definition at line 67 of file pyG4ParticleTable.cc.

Referenced by export_G4ParticleTable().

G4ParticleDefinition*(G4ParticleTable::* pyG4ParticleTable::f3_FindParticle) (const G4ParticleDefinition *) = &G4ParticleTable::FindParticle

Definition at line 57 of file pyG4ParticleTable.cc.

Referenced by export_G4ParticleTable().