G4DMesonZero Class Reference

#include <G4DMesonZero.hh>

Inheritance diagram for G4DMesonZero:

G4ParticleDefinition

Static Public Member Functions

static G4DMesonZeroDefinition ()
static G4DMesonZeroDMesonZeroDefinition ()
static G4DMesonZeroDMesonZero ()

Detailed Description

Definition at line 50 of file G4DMesonZero.hh.


Member Function Documentation

G4DMesonZero * G4DMesonZero::Definition (  )  [static]

Definition at line 48 of file G4DMesonZero.cc.

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

Referenced by DMesonZero(), and DMesonZeroDefinition().

00049 {
00050   if (theInstance !=0) return theInstance;
00051   const G4String name = "D0";
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    anInstance = new G4ParticleDefinition(
00067                  name,      1.8648*GeV,  1.605e-9*MeV,          0.,
00068                     0,              -1,             0,
00069                     1,              -1,             0,
00070               "meson",               0,             0,         421,
00071                 false,    0.4101e-3*ns,          NULL,
00072              false,           "D"
00073               );
00074   }
00075   theInstance = reinterpret_cast<G4DMesonZero*>(anInstance);
00076   return theInstance;
00077 }

G4DMesonZero * G4DMesonZero::DMesonZero (  )  [static]

Definition at line 84 of file G4DMesonZero.cc.

References Definition().

Referenced by G4QPDGToG4Particle::GetParticleDefinition().

00085 {
00086   return Definition();
00087 }

G4DMesonZero * G4DMesonZero::DMesonZeroDefinition (  )  [static]

Definition at line 79 of file G4DMesonZero.cc.

References Definition().

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

00080 {
00081   return Definition();
00082 }


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