Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
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, and G4tgrElement::theName.

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:61
G4String theName
Definition: G4tgrElement.hh:58