Geant4 11.2.2
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 58 of file G4VPreCompoundFragment.cc.

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

◆ operator<<() [2/2]

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

Definition at line 65 of file G4VPreCompoundFragment.cc.

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