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

References value.

Referenced by export_G4ParticleTable().

77 {
78  list particleList;
79  G4ParticleTable::G4PTblDicIterator*
80  theParticleIterator= particleTable-> GetIterator();
81  theParticleIterator-> reset();
82  while( (*theParticleIterator)() ){
83  G4ParticleDefinition* particle= theParticleIterator-> value();
84  particleList.append(&particle);
85  }
86 
87  return particleList;
88 }
double value
Definition: spectrum.C:18

Variable Documentation

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

Definition at line 43 of file pyG4ParticleTable.cc.

Referenced by export_G4ParticleTable().

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

Definition at line 60 of file pyG4ParticleTable.cc.

Referenced by export_G4ParticleTable().

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

Definition at line 50 of file pyG4ParticleTable.cc.

Referenced by export_G4ParticleTable().

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

Definition at line 46 of file pyG4ParticleTable.cc.

Referenced by export_G4ParticleTable().

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

Definition at line 63 of file pyG4ParticleTable.cc.

Referenced by export_G4ParticleTable().

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

Definition at line 53 of file pyG4ParticleTable.cc.

Referenced by export_G4ParticleTable().

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

Definition at line 66 of file pyG4ParticleTable.cc.

Referenced by export_G4ParticleTable().

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

Definition at line 56 of file pyG4ParticleTable.cc.

Referenced by export_G4ParticleTable().