G4AdjointAlpha Class Reference

#include <G4AdjointAlpha.hh>

Inheritance diagram for G4AdjointAlpha:

G4AdjointIons G4ParticleDefinition

Static Public Member Functions

static G4AdjointAlphaDefinition ()
static G4AdjointAlphaAlphaDefinition ()
static G4AdjointAlphaAlpha ()

Detailed Description

Definition at line 53 of file G4AdjointAlpha.hh.


Member Function Documentation

G4AdjointAlpha * G4AdjointAlpha::Alpha (  )  [static]

Definition at line 82 of file G4AdjointAlpha.cc.

References Definition().

00083 {
00084   return Definition();
00085 }

G4AdjointAlpha * G4AdjointAlpha::AlphaDefinition (  )  [static]

Definition at line 77 of file G4AdjointAlpha.cc.

References Definition().

00078 {
00079   return Definition();
00080 }

G4AdjointAlpha * G4AdjointAlpha::Definition (  )  [static]

Definition at line 39 of file G4AdjointAlpha.cc.

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

Referenced by Alpha(), and AlphaDefinition().

00040 {
00041   if (theInstance !=0) return theInstance;
00042   const G4String name = "adj_alpha";
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,   3.727417*GeV,       0.0*MeV,  -2.0*eplus,
00060                     0,              +1,             0,
00061                     0,               0,             0,
00062             "adjoint_nucleus",               0,            +4,  1000020040,
00063                  true,            -1.0,          NULL,
00064                  false,       "static",          0,
00065                  0.0
00066                );
00067 
00068   }
00069 
00070   //No Anti particle registered
00071   anInstance->SetAntiPDGEncoding(0);
00072 
00073   theInstance = reinterpret_cast<G4AdjointAlpha*>(anInstance);
00074   return theInstance;
00075 }


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