Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4ParticleHPDataUsed Class Reference

#include <G4ParticleHPDataUsed.hh>

Public Member Functions

 G4ParticleHPDataUsed ()=default
 
void SetA (G4double anA)
 
void SetA (G4int anA)
 
void SetZ (G4int aZ)
 
void SetM (G4int aM)
 
void SetName (const G4String &aName)
 
G4int GetZ ()
 
G4int GetA ()
 
G4int GetM ()
 
G4StringGetName ()
 
G4bool IsThisNaturalAbundance ()
 
void SetNaturalAbundanceFlag ()
 

Detailed Description

Definition at line 37 of file G4ParticleHPDataUsed.hh.

Constructor & Destructor Documentation

◆ G4ParticleHPDataUsed()

G4ParticleHPDataUsed::G4ParticleHPDataUsed ( )
default

Member Function Documentation

◆ GetA()

◆ GetM()

G4int G4ParticleHPDataUsed::GetM ( )
inline

Definition at line 50 of file G4ParticleHPDataUsed.hh.

50{ return theM; }

Referenced by G4ParticleHPFinalState::SetAZMs(), and G4ParticleHPFinalState::SetAZMs().

◆ GetName()

◆ GetZ()

◆ IsThisNaturalAbundance()

G4bool G4ParticleHPDataUsed::IsThisNaturalAbundance ( )
inline

Definition at line 53 of file G4ParticleHPDataUsed.hh.

53{ return nat; };

Referenced by G4ParticleHPNames::GetName().

◆ SetA() [1/2]

void G4ParticleHPDataUsed::SetA ( G4double anA)
inline

Definition at line 42 of file G4ParticleHPDataUsed.hh.

42{ theA = G4lrint(anA); }
int G4lrint(double ad)
Definition templates.hh:134

Referenced by G4ParticleHPNames::GetName().

◆ SetA() [2/2]

void G4ParticleHPDataUsed::SetA ( G4int anA)
inline

Definition at line 43 of file G4ParticleHPDataUsed.hh.

43{ theA = anA; }

◆ SetM()

void G4ParticleHPDataUsed::SetM ( G4int aM)
inline

Definition at line 45 of file G4ParticleHPDataUsed.hh.

45{ theM = aM; }

Referenced by G4ParticleHPNames::GetName().

◆ SetName()

void G4ParticleHPDataUsed::SetName ( const G4String & aName)
inline

Definition at line 46 of file G4ParticleHPDataUsed.hh.

46{ theName = aName; }

Referenced by G4ParticleHPNames::GetName().

◆ SetNaturalAbundanceFlag()

void G4ParticleHPDataUsed::SetNaturalAbundanceFlag ( )
inline

Definition at line 54 of file G4ParticleHPDataUsed.hh.

54{ nat = TRUE; };
#define TRUE
Definition globals.hh:41

Referenced by G4ParticleHPNames::GetName().

◆ SetZ()

void G4ParticleHPDataUsed::SetZ ( G4int aZ)
inline

Definition at line 44 of file G4ParticleHPDataUsed.hh.

44{ theZ = aZ; }

Referenced by G4ParticleHPNames::GetName().


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