652 std::ios::fmtflags mode = flux.flags();
653 flux.setf(std::ios::fixed,std::ios::floatfield);
657 <<
" Material: " << std::setw(8) << material->fName
658 <<
" " << material->fChemicalFormula <<
" "
659 <<
" density: " << std::setw(6) << std::setprecision(3)
660 <<
G4BestUnit(material->fDensity,
"Volumic Mass")
661 <<
" RadL: " << std::setw(7) << std::setprecision(3)
663 <<
" Nucl.Int.Length: " << std::setw(7) << std::setprecision(3)
664 <<
G4BestUnit(material->fNuclInterLen,
"Length")
665 <<
"\n" << std::setw(30)
666 <<
" Imean: " << std::setw(7) << std::setprecision(3)
672 <<
" temperature: " << std::setw(6) << std::setprecision(2)
673 << (material->fTemp)/
kelvin <<
" K"
674 <<
" pressure: " << std::setw(6) << std::setprecision(2)
675 << (material->fPressure)/
atmosphere <<
" atm";
679 for (
G4int i=0; i<material->fNumberOfElements; i++) {
681 <<
"\n ---> " << (*(material->theElementVector))[i]
682 <<
"\n ElmMassFraction: "
683 << std::setw(6)<< std::setprecision(2)
684 << (material->fMassFractionVector[i])/
perCent <<
" %"
685 <<
" ElmAbundance " << std::setw(6)<< std::setprecision(2)
686 << 100*(material->VecNbOfAtomsPerVolume[i])
687 /(material->TotNbOfAtomsPerVolume)
690 flux.precision(prec);
691 flux.setf(mode,std::ios::floatfield);
G4IonisParamMat * GetIonisation() const
static constexpr double perCent
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
virtual G4bool IsExtended() const
void Print(const std::vector< T > &data)
static constexpr double kelvin
G4double GetMeanExcitationEnergy() const
static constexpr double atmosphere