LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
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 43 of file pyG4Element.cc.

Referenced by export_G4Element().

44 {
45  list aList;
46  const G4double* aVec= element-> GetRelativeAbundanceVector();
47  G4int niso= element-> GetNumberOfIsotopes();
48  for(G4int i=0; i<niso; i++) {
49  aList.append(aVec[i]);
50  }
51  return aList;
52 }
void pyG4Element::Print ( G4Element &  ele)