Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 82 of file G4tgrElementFromIsotopes.cc.

83{
84 os << "G4tgrElementFromIsotopes= " << obj.theName
85 << " N isotopes " << obj.theNoIsotopes
86 << " COMPONENTS " << G4endl;
87 for(size_t ii = 0; ii < obj.theComponents.size(); ii++ )
88 {
89 os << obj.theComponents[ii] << " : " << obj.theAbundances[ii];
90 }
91 os << G4endl;
92
93 return os;
94}
#define G4endl
Definition: G4ios.hh:52
G4String theName
Definition: G4tgrElement.hh:58