Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
PoPs_mass.cc File Reference
#include <string.h>
#include "PoPs_mass.h"

Go to the source code of this file.

Classes

struct  ZAMass
 

Macros

#define e_Mass   5.4857990943e-4 /* electron mass in AMU */
 
#define Co58_Mass   5.7935752814e+01
 
#define Co58_e1Level_Mass   2.67205e-05 /* Co58 first nuclear level (24890 eV/c**2) in amu */
 
#define Ag110_Mass   1.09906107231e+02
 
#define Ag110_e2Level_Mass   1.2624e-04 /* Ag110 second nuclear level (117590 eV/c**2) in amu */
 
#define Cd115_Mass   1.14905430969e+02
 
#define Cd115_e1Level_Mass   1.9431e-04 /* Cd155 first nuclear level (1.81e5 eV/c**2) in amu */
 
#define Te127_Mass   1.26905226336e+02
 
#define Te127_e2Level_Mass   9.4751e-05 /* Te127 second nuclear level (88260 eV/c**2) in amu */
 
#define Te129_Mass   1.28906598238e+02
 
#define Te129_e1Level_Mass   1.1302e-04 /* Te129 second nuclear level (105280 eV/c**2) in amu */
 
#define Pm148_Mass   1.47917474618e+02
 
#define Pm148_e2Level_Mass   1.4804e-04 /* Pm148 second nuclear level (137900 eV/c**2) in amu */
 
#define Ho166_Mass   1.65932284162e+02
 
#define Ho166_e1Level_Mass   6.4252e-06 /* Ho166first nuclear level (5985 eV/c**2) in amu */
 
#define Am242_Mass   2.42059549159e+02
 
#define Am242_e2Level_Mass   5.153e-05 /* Am242's second nuclear level (48000 eV/c**2) in amu */
 
#define Am244_Mass   2.44064284847e+02
 
#define Am244_e1Level_Mass   9.4472e-05 /* Am244's second nuclear level (87999.9 eV/c**2) in amu */
 
#define Es254_Mass   2.54088022021e+02
 
#define Es254_e2Level_Mass   9.0392e-05 /* Es254 second nuclear level (84200 eV/c**2) in amu */
 

Functions

double PoPs_particleMass_AMU (statusMessageReporting *smr, const char *name)
 

Macro Definition Documentation

◆ Ag110_e2Level_Mass

#define Ag110_e2Level_Mass   1.2624e-04 /* Ag110 second nuclear level (117590 eV/c**2) in amu */

Definition at line 25 of file PoPs_mass.cc.

◆ Ag110_Mass

#define Ag110_Mass   1.09906107231e+02

Definition at line 24 of file PoPs_mass.cc.

◆ Am242_e2Level_Mass

#define Am242_e2Level_Mass   5.153e-05 /* Am242's second nuclear level (48000 eV/c**2) in amu */

Definition at line 41 of file PoPs_mass.cc.

◆ Am242_Mass

#define Am242_Mass   2.42059549159e+02

Definition at line 40 of file PoPs_mass.cc.

◆ Am244_e1Level_Mass

#define Am244_e1Level_Mass   9.4472e-05 /* Am244's second nuclear level (87999.9 eV/c**2) in amu */

Definition at line 43 of file PoPs_mass.cc.

◆ Am244_Mass

#define Am244_Mass   2.44064284847e+02

Definition at line 42 of file PoPs_mass.cc.

◆ Cd115_e1Level_Mass

#define Cd115_e1Level_Mass   1.9431e-04 /* Cd155 first nuclear level (1.81e5 eV/c**2) in amu */

Definition at line 27 of file PoPs_mass.cc.

◆ Cd115_Mass

#define Cd115_Mass   1.14905430969e+02

Definition at line 26 of file PoPs_mass.cc.

◆ Co58_e1Level_Mass

#define Co58_e1Level_Mass   2.67205e-05 /* Co58 first nuclear level (24890 eV/c**2) in amu */

Definition at line 22 of file PoPs_mass.cc.

◆ Co58_Mass

#define Co58_Mass   5.7935752814e+01

Definition at line 21 of file PoPs_mass.cc.

◆ e_Mass

#define e_Mass   5.4857990943e-4 /* electron mass in AMU */

Definition at line 20 of file PoPs_mass.cc.

◆ Es254_e2Level_Mass

#define Es254_e2Level_Mass   9.0392e-05 /* Es254 second nuclear level (84200 eV/c**2) in amu */

Definition at line 46 of file PoPs_mass.cc.

◆ Es254_Mass

#define Es254_Mass   2.54088022021e+02

Definition at line 45 of file PoPs_mass.cc.

◆ Ho166_e1Level_Mass

#define Ho166_e1Level_Mass   6.4252e-06 /* Ho166first nuclear level (5985 eV/c**2) in amu */

Definition at line 37 of file PoPs_mass.cc.

◆ Ho166_Mass

#define Ho166_Mass   1.65932284162e+02

Definition at line 36 of file PoPs_mass.cc.

◆ Pm148_e2Level_Mass

#define Pm148_e2Level_Mass   1.4804e-04 /* Pm148 second nuclear level (137900 eV/c**2) in amu */

Definition at line 35 of file PoPs_mass.cc.

◆ Pm148_Mass

#define Pm148_Mass   1.47917474618e+02

Definition at line 34 of file PoPs_mass.cc.

◆ Te127_e2Level_Mass

#define Te127_e2Level_Mass   9.4751e-05 /* Te127 second nuclear level (88260 eV/c**2) in amu */

Definition at line 30 of file PoPs_mass.cc.

◆ Te127_Mass

#define Te127_Mass   1.26905226336e+02

Definition at line 29 of file PoPs_mass.cc.

◆ Te129_e1Level_Mass

#define Te129_e1Level_Mass   1.1302e-04 /* Te129 second nuclear level (105280 eV/c**2) in amu */

Definition at line 32 of file PoPs_mass.cc.

◆ Te129_Mass

#define Te129_Mass   1.28906598238e+02

Definition at line 31 of file PoPs_mass.cc.

Function Documentation

◆ PoPs_particleMass_AMU()

double PoPs_particleMass_AMU ( statusMessageReporting * smr,
const char * name )

Definition at line 915 of file PoPs_mass.cc.

915 {
916
917 int i, n = sizeof( ZAMasses ) / sizeof( ZAMasses[0] );
918 double mass = -1.;
919
920 for( i = 0; i < n; i++ ) {
921 if( !strcmp( ZAMasses[i].symbol, name ) ) {
922 mass = ZAMasses[i].mass;
923 break;
924 }
925 }
926 if( mass == -1. ) smr_setReportError2( smr, smr_unknownID, 1, "particle %s not in mass table", name );
927 return( mass );
928}
#define smr_setReportError2(smr, libraryID, code, fmt,...)
#define smr_unknownID
double mass