#include <G4PionPlus.hh>
Inheritance diagram for G4PionPlus:
Static Public Member Functions | |
static G4PionPlus * | Definition () |
static G4PionPlus * | PionPlusDefinition () |
static G4PionPlus * | PionPlus () |
Definition at line 50 of file G4PionPlus.hh.
G4PionPlus * G4PionPlus::Definition | ( | ) | [static] |
Definition at line 52 of file G4PionPlus.cc.
References G4ParticleTable::FindParticle(), G4ParticleDefinition::G4ParticleDefinition(), G4ParticleTable::GetParticleTable(), G4DecayTable::Insert(), ns, and G4ParticleDefinition::SetDecayTable().
Referenced by G4InuclElementaryParticle::makeDefinition(), PionPlus(), PionPlusDefinition(), and G4InuclElementaryParticle::type().
00053 { 00054 if (theInstance !=0) return theInstance; 00055 const G4String name = "pi+"; 00056 // search in particle table] 00057 G4ParticleTable* pTable = G4ParticleTable::GetParticleTable(); 00058 G4ParticleDefinition* anInstance = pTable->FindParticle(name); 00059 if (anInstance ==0) 00060 { 00061 // create particle 00062 // 00063 // Arguments for constructor are as follows 00064 // name mass width charge 00065 // 2*spin parity C-conjugation 00066 // 2*Isospin 2*Isospin3 G-parity 00067 // type lepton number baryon number PDG encoding 00068 // stable lifetime decay table 00069 // shortlived subType anti_encoding 00070 00071 anInstance = new G4ParticleDefinition( 00072 name, 0.1395701*GeV, 2.5284e-14*MeV, +1.*eplus, 00073 0, -1, 0, 00074 2, +2, -1, 00075 "meson", 0, 0, 211, 00076 false, 26.033*ns, NULL, 00077 false, "pi"); 00078 00079 //create Decay Table 00080 G4DecayTable* table = new G4DecayTable(); 00081 00082 // create a decay channel 00083 // pi+ -> mu+ + nu_mu 00084 G4VDecayChannel* mode = new G4PhaseSpaceDecayChannel("pi+",1.00,2,"mu+","nu_mu"); 00085 table->Insert(mode); 00086 00087 anInstance->SetDecayTable(table); 00088 } 00089 theInstance = reinterpret_cast<G4PionPlus*>(anInstance); 00090 return theInstance; 00091 }
G4PionPlus * G4PionPlus::PionPlus | ( | ) | [static] |
Definition at line 98 of file G4PionPlus.cc.
References Definition().
Referenced by G4LElastic::ApplyYourself(), G4KaonMinusAbsorptionAtRest::AtRestDoIt(), G4PionBuilder::Build(), G4PiKBuilder::Build(), G4PiNuclearCrossSection::BuildPhysicsTable(), G4BGGPionInelasticXS::BuildPhysicsTable(), G4BGGPionElasticXS::BuildPhysicsTable(), HadronPhysicsQGSP_FTFP_BERT_95::ConstructProcess(), HadronPhysicsQGSP_BERT_95::ConstructProcess(), G4HadronicProcessStore::DumpHtml(), G4VScatteringCollision::FinalState(), G4ChargeExchange::G4ChargeExchange(), G4ChargeExchangeProcess::G4ChargeExchangeProcess(), G4ComponentGGHadronNucleusXsc::G4ComponentGGHadronNucleusXsc(), G4DiffuseElastic::G4DiffuseElastic(), G4eeTo3PiModel::G4eeTo3PiModel(), G4eeToTwoPiModel::G4eeToTwoPiModel(), G4FTFParameters::G4FTFParameters(), G4GlauberGribovCrossSection::G4GlauberGribovCrossSection(), G4HadronNucleonXsc::G4HadronNucleonXsc(), G4NuclNuclDiffuseElastic::G4NuclNuclDiffuseElastic(), G4RPGInelastic::G4RPGInelastic(), G4UPiNuclearCrossSection::G4UPiNuclearCrossSection(), G4ReactionDynamics::GenerateXandPt(), G4PionPlusField::GetField(), G4QHadronInelasticDataSet::GetIsoCrossSection(), G4QHadronElasticDataSet::GetIsoCrossSection(), G4QInelastic::GetMeanFreePath(), G4QElastic::GetMeanFreePath(), G4QPDGToG4Particle::GetParticleDefinition(), G4RKPropagation::Init(), G4QInelastic::IsApplicable(), G4QElastic::IsApplicable(), G4QHadronInelasticDataSet::IsIsoApplicable(), G4QHadronElasticDataSet::IsIsoApplicable(), G4ChipsPionPlusInelasticXS::IsIsoApplicable(), G4ChipsPionPlusElasticXS::IsIsoApplicable(), G4QLowEnergy::PostStepDoIt(), G4QInelastic::PostStepDoIt(), G4QElastic::PostStepDoIt(), G4QDiffraction::PostStepDoIt(), G4QAtomicElectronScattering::PostStepDoIt(), G4RPGTwoCluster::ReactionStage(), G4RPGPionSuppression::ReactionStage(), G4RPGFragmentation::ReactionStage(), G4RPGReaction::Rotate(), G4eeToTwoPiModel::SampleSecondaries(), G4eeTo3PiModel::SampleSecondaries(), G4RPGInelastic::SetUpPions(), G4InelasticInteraction::SetUpPions(), G4ReactionDynamics::SuppressChargedPions(), G4ReactionDynamics::TwoCluster(), and G4Absorber::WillBeAbsorbed().
00099 { 00100 return Definition(); 00101 }
G4PionPlus * G4PionPlus::PionPlusDefinition | ( | ) | [static] |
Definition at line 93 of file G4PionPlus.cc.
References Definition().
Referenced by G4BinaryCascade::ApplyYourself(), G4AblaEvaporation::BreakItUp(), G4MesonConstructor::ConstructLightMesons(), G4QAtomicPhysics::ConstructParticle(), G4ErrorPhysicsList::ConstructParticle(), G4EmStandardPhysics_option4::ConstructParticle(), G4EmStandardPhysics_option3::ConstructParticle(), G4EmStandardPhysics_option2::ConstructParticle(), G4EmStandardPhysics_option1::ConstructParticle(), G4EmStandardPhysics::ConstructParticle(), G4EmPenelopePhysics::ConstructParticle(), G4EmLowEPPhysics::ConstructParticle(), G4EmLivermorePolarizedPhysics::ConstructParticle(), G4EmLivermorePhysics::ConstructParticle(), G4XMesonBaryonElastic::CrossSection(), G4QPDGToG4Particle::DefineAllParticles(), G4CollisionMesonBaryonToResonance::G4CollisionMesonBaryonToResonance(), G4ParticleTypeConverter::G4ParticleTypeConverter(), G4XPDGElastic::G4XPDGElastic(), G4XPDGTotal::G4XPDGTotal(), G4ResonanceNames::MinMass(), and G4StringChipsParticleLevelInterface::Propagate().
00094 { 00095 return Definition(); 00096 }