Geant4  10.02.p03
G4VPreCompoundFragment.cc File Reference
Include dependency graph for G4VPreCompoundFragment.cc:

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 63 of file G4VPreCompoundFragment.cc.

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

◆ operator<<() [2/2]

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

Definition at line 70 of file G4VPreCompoundFragment.cc.

71 {
72  out
73  << "PreCompoundModel Emitted Fragment: Z= " << theFragment->GetZ()
74  << " A= " << theFragment->GetA()
75  << " Mass(GeV)= " << theFragment->GetNuclearMass()/CLHEP::GeV;
76  return out;
77 }
static const double GeV
G4double GetNuclearMass() const
Here is the call graph for this function: