Import Geant4 1.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:34:16 +02:00
parent ca1c8cb059
commit 103bda00c8
2654 changed files with 29719 additions and 20203 deletions
+14 -14
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Isotope.cc,v 1.1.10.1 1999/12/07 20:49:19 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4Isotope.cc,v 1.1.10.1.2.4 1999/12/14 07:07:59 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// --------------------------------------------------------------
@@ -27,7 +27,7 @@
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... ....oooOO0OOooo....
#include "G4Isotope.hh"
#include <iomanip.h>
#include "g4std/iomanip"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... ....oooOO0OOooo....
@@ -90,24 +90,24 @@ G4int G4Isotope::operator!=(const G4Isotope &right) const
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... ....oooOO0OOooo....
ostream& operator<<(ostream& flux, G4Isotope* isotope)
G4std::ostream& operator<<(G4std::ostream& flux, G4Isotope* isotope)
{
long mode = flux.setf(ios::fixed,ios::floatfield);
long mode = flux.setf(G4std::ios::fixed,G4std::ios::floatfield);
flux
<< " Isotope: " << setw(5) << isotope->fName
<< " Z = " << setw(2) << isotope->fZ
<< " N = " << setw(3) << isotope->fN
<< " A = " << setw(6) << setprecision(2)
<< " Isotope: " << G4std::setw(5) << isotope->fName
<< " Z = " << G4std::setw(2) << isotope->fZ
<< " N = " << G4std::setw(3) << isotope->fN
<< " A = " << G4std::setw(6) << G4std::setprecision(2)
<< (isotope->fA)/(g/mole) << " g/mole";
flux.setf(mode,ios::floatfield);
flux.setf(mode,G4std::ios::floatfield);
return flux;
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... ....oooOO0OOooo....
ostream& operator<<(ostream& flux, G4Isotope& isotope)
G4std::ostream& operator<<(G4std::ostream& flux, G4Isotope& isotope)
{
flux << &isotope;
return flux;
@@ -115,14 +115,14 @@ ostream& operator<<(ostream& flux, G4Isotope* isotope)
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... ....oooOO0OOooo....
ostream& operator<<(ostream& flux, G4IsotopeTable IsotopeTable)
G4std::ostream& operator<<(G4std::ostream& flux, G4IsotopeTable IsotopeTable)
{
//Dump info for all known isotopes
flux
<< "\n***** Table : Nb of isotopes = " << IsotopeTable.length()
<< " *****\n" << endl;
<< " *****\n" << G4endl;
for (G4int i=0; i<IsotopeTable.length(); i++) flux << IsotopeTable[i] << endl;
for (G4int i=0; i<IsotopeTable.length(); i++) flux << IsotopeTable[i] << G4endl;
return flux;
}