G4tgrElementFromIsotopes.cc File Reference

#include "G4tgrElementFromIsotopes.hh"
#include "G4tgrUtils.hh"
#include "G4tgrMessenger.hh"

Go to the source code of this file.

Functions

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


Function Documentation

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

Definition at line 82 of file G4tgrElementFromIsotopes.cc.

References G4endl, G4tgrElementFromIsotopes::theAbundances, G4tgrElementFromIsotopes::theComponents, G4tgrElement::theName, and G4tgrElementFromIsotopes::theNoIsotopes.

00083 {
00084   os << "G4tgrElementFromIsotopes= " << obj.theName
00085      << " N isotopes " << obj.theNoIsotopes
00086      << " COMPONENTS " << G4endl;
00087   for(size_t ii = 0; ii < obj.theComponents.size(); ii++ )
00088   { 
00089     os << obj.theComponents[ii] << " : " << obj.theAbundances[ii];
00090   }
00091   os << G4endl;
00092 
00093   return os;
00094 }


Generated on Mon May 27 17:51:10 2013 for Geant4 by  doxygen 1.4.7