#include <iomanip>
#include <sstream>
#include "G4Element.hh"
#include "G4AtomicShells.hh"
#include "G4NistManager.hh"
#include "G4PhysicalConstants.hh"
#include "G4SystemOfUnits.hh"
Go to the source code of this file.
◆ operator<<() [1/3]
std::ostream& operator<< |
( |
std::ostream & |
flux, |
|
|
const G4Element * |
element |
|
) |
| |
Definition at line 499 of file G4Element.cc.
501 std::ios::fmtflags mode = flux.flags();
502 flux.setf(std::ios::fixed,std::ios::floatfield);
506 <<
" Element: " << element->
fName <<
" (" << element->
fSymbol <<
")" 507 <<
" Z = " << std::setw(4) << std::setprecision(1) << element->
fZeff 508 <<
" N = " << std::setw(5) << std::setprecision(1) <<
G4lrint(element->
fNeff)
509 <<
" A = " << std::setw(6) << std::setprecision(3)
515 <<
" abundance: " << std::setw(6) << std::setprecision(3)
518 flux.precision(prec);
519 flux.setf(mode,std::ios::floatfield);
G4IsotopeVector * theIsotopeVector
static const double perCent
G4double * fRelativeAbundanceVector
◆ operator<<() [2/3]
std::ostream& operator<< |
( |
std::ostream & |
flux, |
|
|
const G4Element & |
element |
|
) |
| |
◆ operator<<() [3/3]
std::ostream& operator<< |
( |
std::ostream & |
flux, |
|
|
G4ElementTable |
ElementTable |
|
) |
| |
Definition at line 533 of file G4Element.cc.
536 flux <<
"\n***** Table : Nb of elements = " << ElementTable.size()
539 for (
size_t i=0; i<ElementTable.size(); i++) flux << ElementTable[i]