51{
52 if (theInstance != nullptr) return theInstance;
53 const G4String
name =
"eta";
54
57 if (anInstance == nullptr) {
58
59
60
61
62
63
64
65
66
67
68
70 name, 0.547862*GeV, 1.31*keV, 0.0,
71 0, -1, +1,
72 0, 0, +1,
73 "meson", 0, 0, 221,
74 false, 0.0*
ns,
nullptr,
75 false, "eta", 221);
76
77
78
79 auto table = new G4DecayTable();
80
81
82 auto mode = new G4VDecayChannel*[4];
83
84 mode[0] = new G4PhaseSpaceDecayChannel("eta", 0.3942, 2, "gamma", "gamma");
85
86 mode[1] = new G4PhaseSpaceDecayChannel("eta", 0.3256, 3, "pi0", "pi0", "pi0");
87
88 mode[2] = new G4PhaseSpaceDecayChannel("eta", 0.226, 3, "pi0", "pi+", "pi-");
89
90 mode[3] = new G4PhaseSpaceDecayChannel("eta", 0.0468, 3, "gamma", "pi+", "pi-");
91
92 for (
G4int index = 0; index < 4; index++)
93 table->Insert(mode[index]);
94 delete[] mode;
95
97 }
98 theInstance = static_cast<G4Eta*>(anInstance);
99 return theInstance;
100}
G4ParticleDefinition(const G4String &aName, G4double mass, G4double width, G4double charge, G4int iSpin, G4int iParity, G4int iConjugation, G4int iIsospin, G4int iIsospinZ, G4int gParity, const G4String &pType, G4int lepton, G4int baryon, G4int encoding, G4bool stable, G4double lifetime, G4DecayTable *decaytable, G4bool shortlived=false, const G4String &subType="", G4int anti_encoding=0, G4double magneticMoment=0.0)
void SetDecayTable(G4DecayTable *aDecayTable)
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
static G4ParticleTable * GetParticleTable()
const char * name(G4int ptype)