G4Diproton Class Reference

#include <G4Diproton.hh>

Inheritance diagram for G4Diproton:

G4VShortLivedParticle G4ParticleDefinition

Static Public Member Functions

static G4DiprotonDefinition ()
static G4DiprotonDiprotonDefinition ()
static G4DiprotonDiproton ()

Detailed Description

Definition at line 46 of file G4Diproton.hh.


Member Function Documentation

G4Diproton * G4Diproton::Definition (  )  [static]

Definition at line 67 of file G4Diproton.cc.

References G4ParticleTable::GetParticleTable(), G4ParticleTable::Remove(), and G4ParticleTable::SetReadiness().

Referenced by Diproton(), DiprotonDefinition(), G4InuclElementaryParticle::makeDefinition(), and G4InuclElementaryParticle::type().

00067                                    {
00068   if (0 == theInstance) {
00069     theInstance = new G4Diproton;       // There can be only one
00070 
00071     G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
00072     pTable->SetReadiness(false);        // Suppress error message
00073     pTable->Remove(theInstance);        // Make invisible to GEANT4
00074     pTable->SetReadiness(true);         // Set back 'ready to use' flag
00075   }
00076 
00077   return theInstance;
00078 }

G4Diproton * G4Diproton::Diproton (  )  [static]

Definition at line 82 of file G4Diproton.cc.

References Definition().

00082 { return Definition(); }

G4Diproton * G4Diproton::DiprotonDefinition (  )  [static]

Definition at line 81 of file G4Diproton.cc.

References Definition().

00081 { return Definition(); }


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