Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VPreCompoundFragment.cc File Reference

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &out, const G4VPreCompoundFragment &theFragment)
 
std::ostream & operator<< (std::ostream &out, const G4VPreCompoundFragment *theFragment)
 

Function Documentation

◆ operator<<() [1/2]

std::ostream & operator<< ( std::ostream &  out,
const G4VPreCompoundFragment theFragment 
)

Definition at line 59 of file G4VPreCompoundFragment.cc.

61{
62 out << &theFragment;
63 return out;
64}

◆ operator<<() [2/2]

std::ostream & operator<< ( std::ostream &  out,
const G4VPreCompoundFragment theFragment 
)

Definition at line 66 of file G4VPreCompoundFragment.cc.

68{
69 out
70 << "PreCompoundModel Emitted Fragment: Z= " << theFragment->GetZ()
71 << " A= " << theFragment->GetA()
72 << " Mass(GeV)= " << theFragment->GetNuclearMass()/CLHEP::GeV;
73 return out;
74}
G4double GetNuclearMass() const