Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
G4VPreCompoundFragment.cc File Reference
#include "G4VPreCompoundFragment.hh"
#include "G4SystemOfUnits.hh"
#include "G4PreCompoundParameters.hh"
#include "G4NucleiProperties.hh"

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

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

Definition at line 62 of file G4VPreCompoundFragment.cc.

63 {
64  out << &theFragment;
65  return out;
66 }
std::ostream& operator<< ( std::ostream &  out,
const G4VPreCompoundFragment theFragment 
)

Definition at line 69 of file G4VPreCompoundFragment.cc.

References G4VPreCompoundFragment::GetA(), G4VPreCompoundFragment::GetNuclearMass(), and G4VPreCompoundFragment::GetZ().

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 }
G4int GetA() const
G4double GetNuclearMass() const
G4int GetZ() const