G4AdjointGamma Class Reference

#include <G4AdjointGamma.hh>

Inheritance diagram for G4AdjointGamma:

G4ParticleDefinition

Public Member Functions

 ~G4AdjointGamma ()

Static Public Member Functions

static G4AdjointGammaDefinition ()
static G4AdjointGammaAdjointGammaDefinition ()
static G4AdjointGammaAdjointGamma ()

Detailed Description

Definition at line 55 of file G4AdjointGamma.hh.


Constructor & Destructor Documentation

G4AdjointGamma::~G4AdjointGamma (  )  [inline]

Definition at line 64 of file G4AdjointGamma.hh.

00064 {}


Member Function Documentation

G4AdjointGamma * G4AdjointGamma::AdjointGamma (  )  [static]

Definition at line 84 of file G4AdjointGamma.cc.

References Definition().

Referenced by G4VEmAdjointModel::DefineCurrentMaterial(), G4AdjointBremsstrahlungModel::G4AdjointBremsstrahlungModel(), G4AdjointComptonModel::G4AdjointComptonModel(), G4AdjointPhotoElectricModel::G4AdjointPhotoElectricModel(), G4AdjointCSManager::GetAdjointParticleEquivalent(), and G4AdjointPhotoElectricModel::SampleSecondaries().

00085 {
00086   return Definition();
00087 }

G4AdjointGamma * G4AdjointGamma::AdjointGammaDefinition (  )  [static]

Definition at line 79 of file G4AdjointGamma.cc.

References Definition().

00080 {
00081   return Definition();
00082 }

G4AdjointGamma * G4AdjointGamma::Definition (  )  [static]

Definition at line 47 of file G4AdjointGamma.cc.

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

Referenced by AdjointGamma(), and AdjointGammaDefinition().

00048 {
00049   if (theInstance !=0) return theInstance;
00050 
00051   const G4String name = "adj_gamma";
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,         0.0*MeV,       0.0*MeV,         0.0, 
00068                     2,              -1,            -1,          
00069                     0,               0,             0,             
00070             "adjoint",               0,             0,    10000022,
00071                  true,             0.0,          NULL,
00072                 false,     "adj_gamma",      10000022
00073               );
00074   }
00075   theInstance = reinterpret_cast<G4AdjointGamma*>(anInstance);
00076   return theInstance;
00077 }


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