Geant4 11.3.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 71 of file G4VPreCompoundFragment.cc.

73{
74 out << &theFragment;
75 return out;
76}

◆ operator<<() [2/2]

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

Definition at line 78 of file G4VPreCompoundFragment.cc.

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