Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4QNucleus.hh File Reference
#include <utility>
#include <vector>
#include <CLHEP/Units/SystemOfUnits.h>
#include "globals.hh"
#include "G4RandomDirection.hh"
#include "G4QCandidateVector.hh"
#include "G4QHadronVector.hh"
#include "G4LorentzRotation.hh"
#include "G4QChipolino.hh"

Go to the source code of this file.

Classes

class  G4QNucleus
 

Functions

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

Function Documentation

◆ operator<<() [1/2]

std::ostream & operator<< ( std::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]

std::ostream & operator<< ( std::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