#include <G4JPsi.hh>
Inheritance diagram for G4JPsi:
Static Public Member Functions | |
static G4JPsi * | Definition () |
static G4JPsi * | JPsiDefinition () |
static G4JPsi * | JPsi () |
Definition at line 50 of file G4JPsi.hh.
G4JPsi * G4JPsi::Definition | ( | ) | [static] |
Definition at line 48 of file G4JPsi.cc.
References G4ParticleTable::FindParticle(), G4ParticleDefinition::G4ParticleDefinition(), G4ParticleTable::GetParticleTable(), and ns.
Referenced by JPsi(), and JPsiDefinition().
00049 { 00050 if (theInstance !=0) return theInstance; 00051 const G4String name = "J/psi"; 00052 // search in particle table] 00053 G4ParticleTable* pTable = G4ParticleTable::GetParticleTable(); 00054 G4ParticleDefinition* anInstance = pTable->FindParticle(name); 00055 if (anInstance ==0) 00056 { 00057 // create particle 00058 // 00059 // Arguments for constructor are as follows 00060 // name mass width charge 00061 // 2*spin parity C-conjugation 00062 // 2*Isospin 2*Isospin3 G-parity 00063 // type lepton number baryon number PDG encoding 00064 // stable lifetime decay table 00065 // shortlived subType anti_encoding 00066 00067 anInstance = new G4ParticleDefinition( 00068 name, 3.096916*GeV, 0.0929*MeV, 0., 00069 2, -1, -1, 00070 0, 0, -1, 00071 "meson", 0, 0, 443, 00072 false, 0.0*ns, NULL, 00073 false, "J/psi", 443); 00074 } 00075 theInstance = reinterpret_cast<G4JPsi*>(anInstance); 00076 return theInstance; 00077 }
G4JPsi * G4JPsi::JPsi | ( | ) | [static] |
Definition at line 84 of file G4JPsi.cc.
References Definition().
Referenced by G4QPDGToG4Particle::GetParticleDefinition().
00085 { 00086 return Definition(); 00087 }
G4JPsi * G4JPsi::JPsiDefinition | ( | ) | [static] |
Definition at line 79 of file G4JPsi.cc.
References Definition().
Referenced by G4MesonConstructor::ConstructCharmMesons(), and G4QPDGToG4Particle::DefineAllParticles().
00080 { 00081 return Definition(); 00082 }