Geant4  10.02.p03
G4tgrElementFromIsotopes.cc File Reference
Include dependency graph for G4tgrElementFromIsotopes.cc:

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 }
std::vector< G4String > theComponents
#define G4endl
Definition: G4ios.hh:61
G4String theName
Definition: G4tgrElement.hh:58
std::vector< G4double > theAbundances