Geant4-11
Functions
pyG4Element Namespace Reference

Functions

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

Function Documentation

◆ f_GetRelativeAbundanceVector()

list pyG4Element::f_GetRelativeAbundanceVector ( const G4Element element)

Definition at line 43 of file pyG4Element.cc.

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}
double G4double
Definition: G4Types.hh:83
int G4int
Definition: G4Types.hh:85

Referenced by export_G4Element().

◆ Print()

void pyG4Element::Print ( G4Element ele)

Definition at line 55 of file pyG4Element.cc.

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

References ele.

Referenced by export_G4Element(), and G4SmartFilter< T >::PrintAll().