Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4Fancy3DNucleus.cc File Reference
#include <algorithm>
#include "G4Fancy3DNucleus.hh"
#include "G4Fancy3DNucleusHelper.hh"
#include "G4NuclearFermiDensity.hh"
#include "G4NuclearShellModelDensity.hh"
#include "G4NucleiProperties.hh"
#include "G4HyperNucleiProperties.hh"
#include "G4Nucleon.hh"
#include "G4SystemOfUnits.hh"
#include "Randomize.hh"
#include "G4ios.hh"
#include "G4Pow.hh"
#include "G4HadronicException.hh"
#include "G4ThreeVector.hh"
#include "G4RandomDirection.hh"
#include "G4LorentzRotation.hh"
#include "G4RotationMatrix.hh"
#include "G4PhysicalConstants.hh"

Go to the source code of this file.

Functions

bool G4Fancy3DNucleusHelperForSortInZ (const G4Nucleon &nuc1, const G4Nucleon &nuc2)
 

Function Documentation

◆ G4Fancy3DNucleusHelperForSortInZ()

bool G4Fancy3DNucleusHelperForSortInZ ( const G4Nucleon & nuc1,
const G4Nucleon & nuc2 )

Definition at line 151 of file G4Fancy3DNucleus.cc.

152{
153 return nuc1.GetPosition().z() < nuc2.GetPosition().z();
154}
double z() const
const G4ThreeVector & GetPosition() const
Definition G4Nucleon.hh:140

Referenced by G4Fancy3DNucleus::SortNucleonsIncZ().