Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PoPs_mass.cc File Reference
#include <string.h>
#include "PoPs_mass.h"
Include dependency graph for PoPs_mass.cc:

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)
 

Variables

static struct ZAMass ZAMasses []
 

Macro Definition Documentation

#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.

#define Ag110_Mass   1.09906107231e+02

Definition at line 24 of file PoPs_mass.cc.

#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.

#define Am242_Mass   2.42059549159e+02

Definition at line 40 of file PoPs_mass.cc.

#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.

#define Am244_Mass   2.44064284847e+02

Definition at line 42 of file PoPs_mass.cc.

#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.

#define Cd115_Mass   1.14905430969e+02

Definition at line 26 of file PoPs_mass.cc.

#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.

#define Co58_Mass   5.7935752814e+01

Definition at line 21 of file PoPs_mass.cc.

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

Definition at line 20 of file PoPs_mass.cc.

#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.

#define Es254_Mass   2.54088022021e+02

Definition at line 45 of file PoPs_mass.cc.

#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.

#define Ho166_Mass   1.65932284162e+02

Definition at line 36 of file PoPs_mass.cc.

#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.

#define Pm148_Mass   1.47917474618e+02

Definition at line 34 of file PoPs_mass.cc.

#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.

#define Te127_Mass   1.26905226336e+02

Definition at line 29 of file PoPs_mass.cc.

#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.

#define Te129_Mass   1.28906598238e+02

Definition at line 31 of file PoPs_mass.cc.

Function Documentation

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 }
const XML_Char * name
Definition: expat.h:151
static struct ZAMass ZAMasses[]
Definition: PoPs_mass.cc:67
#define smr_setReportError2(smr, libraryID, code, fmt,...)
#define smr_unknownID
double mass
Definition: G4GIDI_mass.cc:44

Variable Documentation

struct ZAMass ZAMasses[]
static

Definition at line 67 of file PoPs_mass.cc.