G4AdjointDeuteron Class Reference

#include <G4AdjointDeuteron.hh>

Inheritance diagram for G4AdjointDeuteron:

G4AdjointIons G4ParticleDefinition

Static Public Member Functions

static G4AdjointDeuteronDefinition ()
static G4AdjointDeuteronDeuteronDefinition ()
static G4AdjointDeuteronDeuteron ()

Detailed Description

Definition at line 53 of file G4AdjointDeuteron.hh.


Member Function Documentation

G4AdjointDeuteron * G4AdjointDeuteron::Definition (  )  [static]

Definition at line 39 of file G4AdjointDeuteron.cc.

References G4ParticleTable::FindParticle(), G4AdjointIons::G4AdjointIons(), G4ParticleTable::GetParticleTable(), G4ParticleDefinition::SetAntiPDGEncoding(), and G4ParticleDefinition::SetPDGMagneticMoment().

Referenced by Deuteron(), and DeuteronDefinition().

00040 {
00041   if (theInstance !=0) return theInstance;
00042  
00043   const G4String name = "adj_deuteron";
00044   // search in particle table]
00045   G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
00046   G4AdjointIons* anInstance =  reinterpret_cast<G4AdjointIons*>(pTable->FindParticle(name));
00047   if (anInstance ==0)
00048   {
00049   // create particle
00050   //
00051   //    Arguments for constructor are as follows
00052   //               name             mass          width         charge
00053   //             2*spin           parity  C-conjugation
00054   //          2*Isospin       2*Isospin3       G-parity
00055   //               type    lepton number  baryon number   PDG encoding
00056   //             stable         lifetime    decay table
00057   //             shortlived      subType    anti_encoding
00058   //             excitation 
00059     anInstance = new G4AdjointIons(
00060                  name,   1.875613*GeV,       0.0*MeV,  -1.0*eplus,
00061                     2,              +1,             0,
00062                     0,               0,             0,
00063             "adjoint_nucleus",               0,            +2, 1000010020,
00064                  true,            -1.0,          NULL,
00065                 false,           "static",          0,
00066                   0.0
00067               );
00068 
00069     // Magnetic Moment
00070     G4double mN = eplus*hbar_Planck/2./(proton_mass_c2 /c_squared);
00071     anInstance->SetPDGMagneticMoment( 0.857438230 * mN);
00072 
00073   }
00074   //No Anti particle registered
00075   anInstance->SetAntiPDGEncoding(0);
00076 
00077   theInstance = reinterpret_cast<G4AdjointDeuteron*>(anInstance);
00078   return theInstance;
00079 }

G4AdjointDeuteron * G4AdjointDeuteron::Deuteron (  )  [static]

Definition at line 86 of file G4AdjointDeuteron.cc.

References Definition().

00087 {
00088   return Definition();
00089 }

G4AdjointDeuteron * G4AdjointDeuteron::DeuteronDefinition (  )  [static]

Definition at line 81 of file G4AdjointDeuteron.cc.

References Definition().

00082 {
00083   return Definition();
00084 }


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