G4GenericIon Class Reference

#include <G4GenericIon.hh>

Inheritance diagram for G4GenericIon:

G4Ions G4ParticleDefinition

Static Public Member Functions

static G4GenericIonDefinition ()
static G4GenericIonGenericIonDefinition ()
static G4GenericIonGenericIon ()

Detailed Description

Definition at line 57 of file G4GenericIon.hh.


Member Function Documentation

G4GenericIon * G4GenericIon::Definition (  )  [static]

Definition at line 49 of file G4GenericIon.cc.

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

Referenced by G4IonParametrisedLossModel::G4IonParametrisedLossModel(), GenericIon(), and GenericIonDefinition().

00050 {
00051   if (theInstance !=0) return theInstance;
00052   const G4String name = "GenericIon";
00053   // search in particle table]
00054   G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
00055   G4Ions* anInstance = reinterpret_cast<G4Ions*>(pTable->FindParticle(name));
00056   if (anInstance ==0)
00057   {
00058   // create particle
00059   //
00060   //    Arguments for constructor are as follows
00061   //               name             mass          width         charge
00062   //             2*spin           parity  C-conjugation
00063   //          2*Isospin       2*Isospin3       G-parity
00064   //               type    lepton number  baryon number   PDG encoding
00065   //             stable         lifetime    decay table
00066   //             shortlived      subType    anti_encoding
00067   //             excitation   
00072    anInstance = new G4Ions(
00073                  name,   0.9382723*GeV,       0.0*MeV,       eplus,
00074                     1,              +1,             0,          
00075                     1,              +1,             0,             
00076             "nucleus",               0,            +1,           0,
00077                  true,            -1.0,          NULL,
00078                  false,      "generic",             0,
00079                  0.0 
00080               );
00081   }
00082 
00083   theInstance = reinterpret_cast<G4GenericIon*>(anInstance);
00084   return theInstance;
00085 }

G4GenericIon * G4GenericIon::GenericIon (  )  [static]

Definition at line 92 of file G4GenericIon.cc.

References Definition().

Referenced by G4RadioactiveDecayPhysics::ConstructParticle(), G4RadioactiveDecayPhysics::ConstructProcess(), G4QIonPhysics::ConstructProcess(), G4IonQMDPhysics::ConstructProcess(), G4IonPhysics::ConstructProcess(), G4IonINCLXXPhysics::ConstructProcess(), G4IonBinaryCascadePhysics::ConstructProcess(), G4AdjointIonIonisationModel::CorrectPostStepWeight(), G4AdjointIonIonisationModel::G4AdjointIonIonisationModel(), G4EmCalculator::G4EmCalculator(), G4VMultipleScattering::G4VMultipleScattering(), G4QLowEnergy::GetMeanFreePath(), G4QIonIonElastic::GetMeanFreePath(), G4ionIonisation::InitialiseEnergyLossProcess(), G4QLowEnergy::IsApplicable(), G4QIonIonElastic::IsApplicable(), G4QInelastic::IsApplicable(), G4HadronInelasticProcess::IsApplicable(), G4QLowEnergy::PostStepDoIt(), G4QIonIonElastic::PostStepDoIt(), G4VMultipleScattering::PreparePhysicsTable(), G4VEnergyLossProcess::PreparePhysicsTable(), G4VEmProcess::PreparePhysicsTable(), and G4ionIonisation::PrintInfo().

00093 { 
00094   return Definition();
00095 }

G4GenericIon * G4GenericIon::GenericIonDefinition (  )  [static]

Definition at line 87 of file G4GenericIon.cc.

References Definition().

Referenced by G4IonConstructor::ConstructLightIons(), G4QAtomicPhysics::ConstructParticle(), G4EmStandardPhysics_option4::ConstructParticle(), G4EmStandardPhysics_option3::ConstructParticle(), G4EmStandardPhysics_option2::ConstructParticle(), G4EmStandardPhysics_option1::ConstructParticle(), G4EmStandardPhysics::ConstructParticle(), G4EmPenelopePhysics::ConstructParticle(), G4EmLowEPPhysics::ConstructParticle(), G4EmLivermorePolarizedPhysics::ConstructParticle(), G4EmLivermorePhysics::ConstructParticle(), G4EmDNAPhysicsChemistry::ConstructParticle(), and G4EmDNAPhysics::ConstructParticle().

00088 { 
00089   return Definition();
00090 }


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