Geant4 11.4.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 73 of file G4VPreCompoundFragment.cc.

75{
76 out << &theFragment;
77 return out;
78}

◆ operator<<() [2/2]

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

Definition at line 80 of file G4VPreCompoundFragment.cc.

82{
83 out
84 << "PreCompoundModel Emitted Fragment: Z= " << theFragment->GetZ()
85 << " A= " << theFragment->GetA()
86 << " Mass(GeV)= " << theFragment->GetNuclearMass()/CLHEP::GeV;
87 return out;
88}