Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4FermiNucleiData Struct Reference

#include <G4FermiDataTypes.hh>

Public Member Functions

G4bool operator< (const G4FermiNucleiData &other) const
G4bool operator== (const G4FermiNucleiData &other) const
G4bool operator!= (const G4FermiNucleiData &other) const

Public Attributes

G4FermiAtomicMass atomicMass
G4FermiChargeNumber chargeNumber

Detailed Description

Definition at line 122 of file G4FermiDataTypes.hh.

Member Function Documentation

◆ operator!=()

G4bool G4FermiNucleiData::operator!= ( const G4FermiNucleiData & other) const
inline

Definition at line 138 of file G4FermiDataTypes.hh.

139 {
140 return atomicMass != other.atomicMass || chargeNumber != other.chargeNumber;
141 }
G4FermiChargeNumber chargeNumber
G4FermiAtomicMass atomicMass

◆ operator<()

G4bool G4FermiNucleiData::operator< ( const G4FermiNucleiData & other) const
inline

Definition at line 127 of file G4FermiDataTypes.hh.

128 {
129 return atomicMass < other.atomicMass
130 || (atomicMass == other.atomicMass && chargeNumber < other.chargeNumber);
131 }

◆ operator==()

G4bool G4FermiNucleiData::operator== ( const G4FermiNucleiData & other) const
inline

Definition at line 133 of file G4FermiDataTypes.hh.

134 {
135 return atomicMass == other.atomicMass && chargeNumber == other.chargeNumber;
136 }

Member Data Documentation

◆ atomicMass

◆ chargeNumber


The documentation for this struct was generated from the following file: