Geant4 9.6.0
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 "G4Nucleon.hh"
#include "G4SystemOfUnits.hh"
#include "Randomize.hh"
#include "G4ios.hh"
#include "G4HadronicException.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 137 of file G4Fancy3DNucleus.cc.

138{
139 return nuc1.GetPosition().z() < nuc2.GetPosition().z();
140}
double z() const
virtual const G4ThreeVector & GetPosition() const
Definition: G4Nucleon.hh:68

Referenced by G4Fancy3DNucleus::SortNucleonsIncZ().