G4DsMesonPlus Class Reference

#include <G4DsMesonPlus.hh>

Inheritance diagram for G4DsMesonPlus:

G4ParticleDefinition

Static Public Member Functions

static G4DsMesonPlusDefinition ()
static G4DsMesonPlusDsMesonPlusDefinition ()
static G4DsMesonPlusDsMesonPlus ()

Detailed Description

Definition at line 50 of file G4DsMesonPlus.hh.


Member Function Documentation

G4DsMesonPlus * G4DsMesonPlus::Definition (  )  [static]

Definition at line 49 of file G4DsMesonPlus.cc.

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

Referenced by DsMesonPlus(), and DsMesonPlusDefinition().

00050 {
00051   if (theInstance !=0) return theInstance;
00052   const G4String name = "Ds+";
00053   // search in particle table]
00054   G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
00055   G4ParticleDefinition* anInstance = pTable->FindParticle(name);
00056   if (anInstance ==0)
00057   {
00058   // create particle
00059   //
00060   //    Arguments for constructor are as follows
00061   //               name             mass          width         charge
00062   //             2*spin           parity  C-conjugation
00063   //          2*Isospin       2*Isospin3       G-parity
00064   //               type    lepton number  baryon number   PDG encoding
00065   //             stable         lifetime    decay table
00066   //             shortlived      subType    anti_encoding
00067    anInstance = new G4ParticleDefinition(
00068                  name,     1.96845*GeV,  1.317e-9*MeV,    +1.*eplus,
00069                     0,              -1,             0,
00070                     0,               0,             0,
00071               "meson",               0,             0,         431,
00072                 false,     0.500e-3*ns,          NULL,
00073              false,           "Ds"
00074               );
00075   }
00076   theInstance = reinterpret_cast<G4DsMesonPlus*>(anInstance);
00077   return theInstance;
00078 }

G4DsMesonPlus * G4DsMesonPlus::DsMesonPlus (  )  [static]

Definition at line 85 of file G4DsMesonPlus.cc.

References Definition().

Referenced by G4QPDGToG4Particle::GetParticleDefinition().

00086 {
00087   return Definition();
00088 }

G4DsMesonPlus * G4DsMesonPlus::DsMesonPlusDefinition (  )  [static]

Definition at line 80 of file G4DsMesonPlus.cc.

References Definition().

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

00081 {
00082   return Definition();
00083 }


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