#include "G4Fragment.hh"
#include "G4HadronicException.hh"
#include "G4ios.hh"
#include <iomanip>
Go to the source code of this file.
◆ operator<<() [1/2]
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const G4Fragment * |
theFragment |
|
) |
| |
Definition at line 181 of file G4Fragment.cc.
184 out <<
"Fragment: null pointer ";
188 std::ios::fmtflags old_floatfield = out.flags();
189 out.setf(std::ios::floatfield);
191 out <<
"Fragment: A = " << std::setw(3) << theFragment->
theA 192 <<
", Z = " << std::setw(3) << theFragment->
theZ ;
193 out.setf(std::ios::scientific,std::ios::floatfield);
196 std::streamsize floatPrec = out.precision();
198 out << std::setprecision(3)
226 <<
", #spin= " << theFragment->
GetSpin()
229 out.setf(old_floatfield,std::ios::floatfield);
230 out.precision(floatPrec);
G4int GetNumberOfExcitons() const
G4double GetExcitationEnergy() const
G4int GetNumberOfHoles() const
G4int GetCreatorModelType() const
G4int GetNumberOfParticles() const
const G4LorentzVector & GetMomentum() const
G4NuclearPolarization * GetNuclearPolarization() const
G4double GetCreationTime() const
G4int GetNumberOfChargedHoles() const
G4int GetNumberOfCharged() const
◆ operator<<() [2/2]
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const G4Fragment & |
theFragment |
|
) |
| |
◆ pFragmentAllocator