Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4tgrElementFromIsotopes.cc File Reference

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const G4tgrElementFromIsotopes &obj)
 

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  os,
const G4tgrElementFromIsotopes obj 
)

Definition at line 74 of file G4tgrElementFromIsotopes.cc.

75{
76 os << "G4tgrElementFromIsotopes= " << obj.theName << " N isotopes "
77 << obj.theNoIsotopes << " COMPONENTS " << G4endl;
78 for(std::size_t ii = 0; ii < obj.theComponents.size(); ++ii)
79 {
80 os << obj.theComponents[ii] << " : " << obj.theAbundances[ii];
81 }
82 os << G4endl;
83
84 return os;
85}
#define G4endl
Definition: G4ios.hh:57
G4String theName
Definition: G4tgrElement.hh:52