G4QNucleus.cc File Reference

#include <algorithm>
#include <cmath>
#include <vector>
#include "G4QNucleus.hh"
#include "Randomize.hh"
#include "G4PhysicalConstants.hh"
#include "G4SystemOfUnits.hh"

Go to the source code of this file.

Functions

ostream & operator<< (ostream &lhs, G4QNucleus &rhs)
ostream & operator<< (ostream &lhs, const G4QNucleus &rhs)


Function Documentation

ostream& operator<< ( ostream &  lhs,
const G4QNucleus rhs 
)

Definition at line 364 of file G4QNucleus.cc.

References G4QNucleus::GetN(), G4QNucleus::GetS(), and G4QNucleus::GetZ().

00365 {
00366   lhs<<"{Z="<<rhs.GetZ()<<",N="<<rhs.GetN()<<",S="<<rhs.GetS()<< "}";
00367   return lhs;
00368 }

ostream& operator<< ( ostream &  lhs,
G4QNucleus rhs 
)

Definition at line 357 of file G4QNucleus.cc.

References G4QNucleus::GetGSMass(), G4QNucleus::GetN(), G4QNucleus::GetS(), and G4QNucleus::GetZ().

00358 {
00359  lhs<<"{Z="<<rhs.GetZ()<<",N="<<rhs.GetN()<<",S="<<rhs.GetS()<<",M="<<rhs.GetGSMass()<<"}";
00360  return lhs;
00361 }


Generated on Mon May 27 17:51:04 2013 for Geant4 by  doxygen 1.4.7