G4AdjointTriton Class Reference

#include <G4AdjointTriton.hh>

Inheritance diagram for G4AdjointTriton:

G4AdjointIons G4ParticleDefinition

Static Public Member Functions

static G4AdjointTritonDefinition ()
static G4AdjointTritonTritonDefinition ()
static G4AdjointTritonTriton ()

Detailed Description

Definition at line 53 of file G4AdjointTriton.hh.


Member Function Documentation

G4AdjointTriton * G4AdjointTriton::Definition (  )  [static]

Definition at line 39 of file G4AdjointTriton.cc.

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

Referenced by Triton(), and TritonDefinition().

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

G4AdjointTriton * G4AdjointTriton::Triton (  )  [static]

Definition at line 85 of file G4AdjointTriton.cc.

References Definition().

00086 {
00087   return Definition();
00088 }

G4AdjointTriton * G4AdjointTriton::TritonDefinition (  )  [static]

Definition at line 80 of file G4AdjointTriton.cc.

References Definition().

00081 {
00082   return Definition();
00083 }


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