Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
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

◆ operator<<() [1/2]

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

Definition at line 364 of file G4QNucleus.cc.

365{
366 lhs<<"{Z="<<rhs.GetZ()<<",N="<<rhs.GetN()<<",S="<<rhs.GetS()<< "}";
367 return lhs;
368}
G4int GetN() const
Definition: G4QNucleus.hh:71
G4int GetZ() const
Definition: G4QNucleus.hh:70
G4int GetS() const
Definition: G4QNucleus.hh:72

◆ operator<<() [2/2]

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

Definition at line 357 of file G4QNucleus.cc.

358{
359 lhs<<"{Z="<<rhs.GetZ()<<",N="<<rhs.GetN()<<",S="<<rhs.GetS()<<",M="<<rhs.GetGSMass()<<"}";
360 return lhs;
361}
G4double GetGSMass() const
Definition: G4QNucleus.hh:82