Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4FermiUnstableFragment.hh File Reference

Go to the source code of this file.

Classes

class  G4FermiUnstableFragment

Macros

#define FERMI_ADD_UNSTABLE_FRAGMENT(NAME, FRAGMENTS)

Functions

 FERMI_ADD_UNSTABLE_FRAGMENT (He5Fragment, std::vector< G4FermiNucleiData >({ G4FermiNucleiData{4_m, 2_c}, G4FermiNucleiData{1_m, 0_c}, })) FERMI_ADD_UNSTABLE_FRAGMENT(B9Fragment

Macro Definition Documentation

◆ FERMI_ADD_UNSTABLE_FRAGMENT

#define FERMI_ADD_UNSTABLE_FRAGMENT ( NAME,
FRAGMENTS )
Value:
G4FermiChargeNumber chargeNumber, G4int polarization, \
G4double excitationEnergy) \
{ \
return G4FermiUnstableFragment(atomicMass, chargeNumber, polarization, excitationEnergy, \
FRAGMENTS); \
}
double G4double
Definition G4Types.hh:83
int G4int
Definition G4Types.hh:85
@ NAME
Definition inflate.h:27

Definition at line 54 of file G4FermiUnstableFragment.hh.

54#define FERMI_ADD_UNSTABLE_FRAGMENT(NAME, FRAGMENTS) \
55 inline G4FermiUnstableFragment NAME(G4FermiAtomicMass atomicMass, \
56 G4FermiChargeNumber chargeNumber, G4int polarization, \
57 G4double excitationEnergy) \
58 { \
59 return G4FermiUnstableFragment(atomicMass, chargeNumber, polarization, excitationEnergy, \
60 FRAGMENTS); \
61 }

Function Documentation

◆ FERMI_ADD_UNSTABLE_FRAGMENT()

FERMI_ADD_UNSTABLE_FRAGMENT ( He5Fragment ,
std::vector< G4FermiNucleiData > { G4FermiNucleiData{4_m, 2_c}, G4FermiNucleiData{1_m, 0_c}, } )