G4EtaPrime Class Reference

#include <G4EtaPrime.hh>

Inheritance diagram for G4EtaPrime:

G4ParticleDefinition

Static Public Member Functions

static G4EtaPrimeDefinition ()
static G4EtaPrimeEtaPrimeDefinition ()
static G4EtaPrimeEtaPrime ()

Detailed Description

Definition at line 49 of file G4EtaPrime.hh.


Member Function Documentation

G4EtaPrime * G4EtaPrime::Definition (  )  [static]

Definition at line 53 of file G4EtaPrime.cc.

References G4ParticleTable::FindParticle(), G4ParticleDefinition::G4ParticleDefinition(), G4ParticleTable::GetParticleTable(), G4DecayTable::Insert(), ns, and G4ParticleDefinition::SetDecayTable().

Referenced by EtaPrime(), and EtaPrimeDefinition().

00054 {
00055   if (theInstance !=0) return theInstance;
00056   const G4String name = "eta_prime";
00057   // search in particle table]
00058   G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
00059   G4ParticleDefinition* anInstance = pTable->FindParticle(name);
00060   if (anInstance ==0)
00061   {
00062   // create particle
00063   //
00064   //    Arguments for constructor are as follows
00065   //               name             mass          width         charge
00066   //             2*spin           parity  C-conjugation
00067   //          2*Isospin       2*Isospin3       G-parity
00068   //               type    lepton number  baryon number   PDG encoding
00069   //             stable         lifetime    decay table
00070   //             shortlived      subType    anti_encoding
00071 
00072    anInstance = new G4ParticleDefinition(
00073                  name,     0.95778*GeV,     0.199*MeV,         0.0,
00074                     0,              -1,            +1,
00075                     0,               0,            +1,
00076               "meson",               0,             0,         331,
00077                 false,          0.0*ns,          NULL,
00078                 false,     "eta_prime",           331);
00079  //create Decay Table
00080   G4DecayTable* table = new G4DecayTable();
00081 
00082  // create decay channels
00083   G4VDecayChannel** mode = new G4VDecayChannel*[3];
00084   // EtaPrime -> eta + pi+ + pi-
00085   mode[0] = new G4PhaseSpaceDecayChannel("eta_prime",0.437,3,"eta","pi+","pi-");
00086   // EtaPrime -> eta + pi0 + pi0
00087   mode[1] = new G4PhaseSpaceDecayChannel("eta_prime",0.208,3,"eta","pi0","pi0");
00088   // EtaPrime -> rho0 + gamma
00089   mode[2] = new G4PhaseSpaceDecayChannel("eta_prime",0.302,2,"rho0","gamma");
00090 
00091   for (G4int index=0; index <3; index++ ) table->Insert(mode[index]);
00092   delete [] mode;
00093 
00094    anInstance->SetDecayTable(table);
00095   }
00096   theInstance = reinterpret_cast<G4EtaPrime*>(anInstance);
00097   return theInstance;
00098 }

G4EtaPrime * G4EtaPrime::EtaPrime (  )  [static]

Definition at line 105 of file G4EtaPrime.cc.

References Definition().

Referenced by G4QPDGToG4Particle::GetParticleDefinition().

00106 {
00107   return Definition();
00108 }

G4EtaPrime * G4EtaPrime::EtaPrimeDefinition (  )  [static]

Definition at line 100 of file G4EtaPrime.cc.

References Definition().

Referenced by G4MesonConstructor::ConstructLightMesons(), and G4QPDGToG4Particle::DefineAllParticles().

00101 {
00102   return Definition();
00103 }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:51:56 2013 for Geant4 by  doxygen 1.4.7