Geant4 10.7.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 61 of file G4VPreCompoundFragment.cc.

63{
64 out << &theFragment;
65 return out;
66}

◆ operator<<() [2/2]

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

Definition at line 68 of file G4VPreCompoundFragment.cc.

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