G4Gamma Class Reference

#include <G4Gamma.hh>

Inheritance diagram for G4Gamma:

G4ParticleDefinition

Public Member Functions

 ~G4Gamma ()

Static Public Member Functions

static G4GammaDefinition ()
static G4GammaGammaDefinition ()
static G4GammaGamma ()

Detailed Description

Definition at line 50 of file G4Gamma.hh.


Constructor & Destructor Documentation

G4Gamma::~G4Gamma (  )  [inline]

Definition at line 59 of file G4Gamma.hh.

00059 {}


Member Function Documentation

G4Gamma * G4Gamma::Definition (  )  [static]

Definition at line 49 of file G4Gamma.cc.

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

Referenced by G4RadioactiveDecay::CollimateDecay(), Gamma(), GammaDefinition(), G4InuclElementaryParticle::makeDefinition(), G4PenelopePhotoElectricModel::SampleSecondaries(), G4PenelopeIonisationModel::SampleSecondaries(), G4PenelopeComptonModel::SampleSecondaries(), and G4InuclElementaryParticle::type().

00050 {
00051   if (theInstance !=0) return theInstance;
00052 
00053   const G4String name = "gamma";
00054   // search in particle table]
00055   G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
00056   G4ParticleDefinition* anInstance = pTable->FindParticle(name);
00057   if (anInstance ==0)
00058   {
00059   // create particle
00060   //      
00061   //    Arguments for constructor are as follows 
00062   //               name             mass          width         charge
00063   //             2*spin           parity  C-conjugation
00064   //          2*Isospin       2*Isospin3       G-parity
00065   //               type    lepton number  baryon number   PDG encoding
00066   //             stable         lifetime    decay table 
00067   //             shortlived      subType    anti_encoding
00068    anInstance = new G4ParticleDefinition(
00069                  name,         0.0*MeV,       0.0*MeV,         0.0, 
00070                     2,              -1,            -1,          
00071                     0,               0,             0,             
00072               "gamma",               0,             0,          22,
00073               true,                0.0,          NULL,
00074              false,           "photon",          22
00075               );
00076   }
00077   theInstance = reinterpret_cast<G4Gamma*>(anInstance);
00078   return theInstance;
00079 }

G4Gamma * G4Gamma::Gamma (  )  [static]

Definition at line 86 of file G4Gamma.cc.

References Definition().

Referenced by G4AdjointBremsstrahlungModel::AdjointCrossSection(), G4AdjointPhotoElectricModel::AdjointCrossSectionPerAtom(), G4NeutronHPFinalState::adjust_final_state(), G4NeutronRadCapture::ApplyYourself(), G4NeutronHPCaptureFS::ApplyYourself(), G4LENDInelastic::ApplyYourself(), G4LENDFission::ApplyYourself(), G4LENDCapture::ApplyYourself(), G4HESigmaZeroInelastic::ApplyYourself(), G4HEAntiSigmaZeroInelastic::ApplyYourself(), G4FissionLibrary::ApplyYourself(), G4ChiralInvariantPhaseSpace::ApplyYourself(), G4eplusPolarizedAnnihilation::AtRestDoIt(), G4HadLeadBias::Bias(), G4ElectroNuclearBuilder::Build(), G4BertiniElectroNuclearBuilder::Build(), G4NeutronHPInelasticCompFS::CompositeApply(), G4EmCalculator::ComputeGammaAttenuationLength(), G4QPhotoNuclearPhysics::ConstructParticle(), G4QAtomicPhysics::ConstructParticle(), G4EmStandardPhysics_option4::ConstructParticle(), G4EmStandardPhysics_option3::ConstructParticle(), G4EmStandardPhysics_option2::ConstructParticle(), G4EmStandardPhysics_option1::ConstructParticle(), G4EmStandardPhysics::ConstructParticle(), G4EmQExtraPhysics::ConstructParticle(), G4EmPenelopePhysics::ConstructParticle(), G4EmLowEPPhysics::ConstructParticle(), G4EmLivermorePolarizedPhysics::ConstructParticle(), G4EmLivermorePhysics::ConstructParticle(), G4EmExtraPhysics::ConstructParticle(), G4EmDNAPhysicsChemistry::ConstructParticle(), G4EmDNAPhysics::ConstructParticle(), G4QEmExtraPhysics::ConstructProcess(), G4AdjointComptonModel::DiffCrossSectionPerAtomPrimToScatPrim(), G4AdjointBremsstrahlungModel::DiffCrossSectionPerVolumePrimToSecond(), G4HadronicProcessStore::DumpHtml(), G4BEGammaDeexcitation::emit(), G4AdjointComptonModel::G4AdjointComptonModel(), G4AdjointPhotoElectricModel::G4AdjointPhotoElectricModel(), G4BetheHeitlerModel::G4BetheHeitlerModel(), G4ComponentGGHadronNucleusXsc::G4ComponentGGHadronNucleusXsc(), G4eBremParametrizedModel::G4eBremParametrizedModel(), G4eBremsstrahlung::G4eBremsstrahlung(), G4eBremsstrahlungModel::G4eBremsstrahlungModel(), G4eBremsstrahlungRelModel::G4eBremsstrahlungRelModel(), G4eeToHadronsModel::G4eeToHadronsModel(), G4eeToTwoGammaModel::G4eeToTwoGammaModel(), G4EmCaptureCascade::G4EmCaptureCascade(), G4eplusAnnihilation::G4eplusAnnihilation(), G4Fragment::G4Fragment(), G4GlauberGribovCrossSection::G4GlauberGribovCrossSection(), G4HadronNucleonXsc::G4HadronNucleonXsc(), G4hBremsstrahlung::G4hBremsstrahlung(), G4HeatedKleinNishinaCompton::G4HeatedKleinNishinaCompton(), G4KleinNishinaCompton::G4KleinNishinaCompton(), G4KleinNishinaModel::G4KleinNishinaModel(), G4LivermorePhotoElectricModel::G4LivermorePhotoElectricModel(), G4LivermorePolarizedPhotoElectricModel::G4LivermorePolarizedPhotoElectricModel(), G4MuBremsstrahlung::G4MuBremsstrahlung(), G4MuBremsstrahlungModel::G4MuBremsstrahlungModel(), G4MuMinusCaptureCascade::G4MuMinusCaptureCascade(), G4PairProductionRelModel::G4PairProductionRelModel(), G4PEEffectFluoModel::G4PEEffectFluoModel(), G4PEEffectModel::G4PEEffectModel(), G4VEmProcess::G4VEmProcess(), G4VEnergyLossProcess::G4VEnergyLossProcess(), G4VGammaDeexcitation::GenerateGamma(), G4NeutronHPGamma::GetDecayGammas(), G4AdjointCSManager::GetForwardParticleEquivalent(), G4QInelastic::GetMeanFreePath(), G4QPDGToG4Particle::GetParticleDefinition(), G4NeutronHPPhotonDist::GetPhotons(), G4GammaAnnCrossSection::InCharge(), G4EmModelManager::Initialise(), G4ePolarizedBremsstrahlung::InitialiseEnergyLossProcess(), G4eplusPolarizedAnnihilation::InitialiseProcess(), G4eeToHadrons::InitialiseProcess(), G4VLowEnergyDiscretePhotonProcess::IsApplicable(), G4RayleighScattering::IsApplicable(), G4QInelastic::IsApplicable(), G4QElastic::IsApplicable(), G4QAtomicElectronScattering::IsApplicable(), G4PolarizedPhotoElectricEffect::IsApplicable(), G4PolarizedGammaConversion::IsApplicable(), G4PolarizedCompton::IsApplicable(), G4PhotoElectricEffect::IsApplicable(), G4GammaConversionToMuons::IsApplicable(), G4GammaConversion::IsApplicable(), G4ComptonScattering::IsApplicable(), G4RPGReaction::NuclearReaction(), G4ReactionDynamics::NuclearReaction(), G4VXTRenergyLoss::PostStepDoIt(), G4SynchrotronRadiationInMat::PostStepDoIt(), G4QSynchRad::PostStepDoIt(), G4QNGamma::PostStepDoIt(), G4QLowEnergy::PostStepDoIt(), G4QInelastic::PostStepDoIt(), G4QDiffraction::PostStepDoIt(), G4QAtomicElectronScattering::PostStepDoIt(), G4hImpactIonisation::PostStepDoIt(), G4ForwardXrayTR::PostStepDoIt(), G4NeutronHPNBodyPhaseSpace::Sample(), G4NeutronHPLabAngularEnergy::Sample(), G4NeutronHPIsotropic::Sample(), G4NeutronHPDiscreteTwoBody::Sample(), G4NeutronHPContAngularPar::Sample(), G4PolarizedAnnihilationModel::SampleSecondaries(), G4PenelopeBremsstrahlungModel::SampleSecondaries(), G4PenelopeAnnihilationModel::SampleSecondaries(), G4PAIPhotonModel::SampleSecondaries(), G4LivermoreBremsstrahlungModel::SampleSecondaries(), G4eeToPGammaModel::SampleSecondaries(), and G4VEmAdjointModel::SetAdjointEquivalentOfDirectPrimaryParticleDefinition().

00087 {
00088   return Definition();
00089 }

G4Gamma * G4Gamma::GammaDefinition (  )  [static]

Definition at line 81 of file G4Gamma.cc.

References Definition().

Referenced by G4LFission::ApplyYourself(), G4LCapture::ApplyYourself(), G4GammaNuclearReaction::ApplyYourself(), G4ElectroNuclearReaction::ApplyYourself(), G4ErrorPhysicsList::ConstructParticle(), G4BosonConstructor::ConstructParticle(), G4XMesonBaryonElastic::CrossSection(), G4QPDGToG4Particle::DefineAllParticles(), G4ParticleTypeConverter::G4ParticleTypeConverter(), G4XPDGTotal::G4XPDGTotal(), G4Scintillation::PostStepDoIt(), and G4PenelopePhotoElectricModel::SampleSecondaries().

00082 {
00083   return Definition();
00084 }


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