#include <G4KaonZeroShort.hh>
Inheritance diagram for G4KaonZeroShort:
Static Public Member Functions | |
static G4KaonZeroShort * | Definition () |
static G4KaonZeroShort * | KaonZeroShortDefinition () |
static G4KaonZeroShort * | KaonZeroShort () |
Definition at line 50 of file G4KaonZeroShort.hh.
G4KaonZeroShort * G4KaonZeroShort::Definition | ( | ) | [static] |
Definition at line 53 of file G4KaonZeroShort.cc.
References G4ParticleTable::FindParticle(), G4ParticleDefinition::G4ParticleDefinition(), G4ParticleTable::GetParticleTable(), G4DecayTable::Insert(), ns, and G4ParticleDefinition::SetDecayTable().
Referenced by KaonZeroShort(), KaonZeroShortDefinition(), G4CascadeInterface::makeDynamicParticle(), and G4InuclElementaryParticle::type().
00054 { 00055 if (theInstance !=0) return theInstance; 00056 const G4String name = "kaon0S"; 00057 // search in particle table] 00058 G4ParticleTable* pTable = G4ParticleTable::GetParticleTable(); 00059 G4ParticleDefinition* anInstance = pTable->FindParticle(name); 00060 if (anInstance ==0) 00061 { 00062 // create particle 00063 // 00064 // Arguments for constructor are as follows 00065 // name mass width charge 00066 // 2*spin parity C-conjugation 00067 // 2*Isospin 2*Isospin3 G-parity 00068 // type lepton number baryon number PDG encoding 00069 // stable lifetime decay table 00070 // shortlived subType anti_encoding 00071 00072 anInstance = new G4ParticleDefinition( 00073 name, 0.497614*GeV, 7.352e-12*MeV, 0.0, 00074 0, -1, 0, 00075 1, 0, 0, 00076 "meson", 0, 0, 310, 00077 false, 0.08958*ns, NULL, 00078 false, "kaon", 310); 00079 00080 //create Decay Table 00081 G4DecayTable* table = new G4DecayTable(); 00082 00083 // create decay channels 00084 G4VDecayChannel** mode = new G4VDecayChannel*[2]; 00085 // kaon0s -> pi+ + pi- 00086 mode[0] = new G4PhaseSpaceDecayChannel("kaon0S",0.6920,2,"pi+","pi-"); 00087 // kaon0s -> pi0 + pi0 00088 mode[1] = new G4PhaseSpaceDecayChannel("kaon0S",0.3069,2,"pi0","pi0"); 00089 00090 for (G4int index=0; index <2; index++ ) table->Insert(mode[index]); 00091 delete [] mode; 00092 00093 anInstance->SetDecayTable(table); 00094 } 00095 theInstance = reinterpret_cast<G4KaonZeroShort*>(anInstance); 00096 return theInstance; 00097 }
G4KaonZeroShort * G4KaonZeroShort::KaonZeroShort | ( | ) | [static] |
Definition at line 104 of file G4KaonZeroShort.cc.
References Definition().
Referenced by G4LElastic::ApplyYourself(), G4QCaptureAtRest::AtRestDoIt(), G4PiKBuilder::Build(), G4KaonBuilder::Build(), G4ChipsKaonBuilder::Build(), G4RPGInelastic::CalculateMomenta(), G4InelasticInteraction::CalculateMomenta(), HadronPhysicsShielding::ConstructProcess(), HadronPhysicsQGSP_FTFP_BERT_95::ConstructProcess(), HadronPhysicsQGSP_BERT_95::ConstructProcess(), HadronPhysicsFTFP_BERT_TRV::ConstructProcess(), HadronPhysicsFTFP_BERT_HP::ConstructProcess(), HadronPhysicsFTFP_BERT::ConstructProcess(), G4ChargeExchange::G4ChargeExchange(), G4ChargeExchangeProcess::G4ChargeExchangeProcess(), G4ComponentGGHadronNucleusXsc::G4ComponentGGHadronNucleusXsc(), G4GlauberGribovCrossSection::G4GlauberGribovCrossSection(), G4HadronNucleonXsc::G4HadronNucleonXsc(), G4KineticTrack::G4KineticTrack(), G4QHadronInelasticDataSet::GetIsoCrossSection(), G4QHadronElasticDataSet::GetIsoCrossSection(), G4QInelastic::GetMeanFreePath(), G4QElastic::GetMeanFreePath(), G4QPDGToG4Particle::GetParticleDefinition(), G4QInelastic::IsApplicable(), G4QElastic::IsApplicable(), G4QHadronInelasticDataSet::IsIsoApplicable(), G4QHadronElasticDataSet::IsIsoApplicable(), G4ChipsKaonZeroInelasticXS::IsIsoApplicable(), G4ChipsKaonZeroElasticXS::IsIsoApplicable(), G4LightMedia::KaonPlusExchange(), G4LightMedia::KaonZeroLongExchange(), G4QInelastic::PostStepDoIt(), G4QElastic::PostStepDoIt(), G4QDiffraction::PostStepDoIt(), G4QAtomicElectronScattering::PostStepDoIt(), G4ReactionDynamics::ProduceStrangeParticlePairs(), G4RPGStrangeProduction::ReactionStage(), G4ee2KNeutralModel::SampleSecondaries(), G4RPGInelastic::SetUpChange(), and G4InelasticInteraction::SetUpChange().
00105 { 00106 return Definition(); 00107 }
G4KaonZeroShort * G4KaonZeroShort::KaonZeroShortDefinition | ( | ) | [static] |
Definition at line 99 of file G4KaonZeroShort.cc.
References Definition().
Referenced by G4MesonConstructor::ConstructLightMesons(), G4QPDGToG4Particle::DefineAllParticles(), and G4ParticleTypeConverter::G4ParticleTypeConverter().
00100 { 00101 return Definition(); 00102 }