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

Functions

list f_GetRelativeAbundanceVector (const G4Element *element)
 
void Print (G4Element &ele)
 

Function Documentation

list pyG4Element::f_GetRelativeAbundanceVector ( const G4Element element)

Definition at line 44 of file pyG4Element.cc.

45 {
46  list aList;
47  const G4double* aVec= element-> GetRelativeAbundanceVector();
48  G4int niso= element-> GetNumberOfIsotopes();
49  for(G4int i=0; i<niso; i++) {
50  aList.append(aVec[i]);
51  }
52  return aList;
53 }
int G4int
Definition: G4Types.hh:78
double G4double
Definition: G4Types.hh:76

Here is the caller graph for this function:

void pyG4Element::Print ( G4Element ele)

Definition at line 56 of file pyG4Element.cc.

57 {
58  std::cout << ele; // problem with G4cout. (delayed message)
59 }
static const G4double ele