G4Neutron Class Reference

#include <G4Neutron.hh>

Inheritance diagram for G4Neutron:

G4Ions G4ParticleDefinition

Static Public Member Functions

static G4NeutronDefinition ()
static G4NeutronNeutronDefinition ()
static G4NeutronNeutron ()

Detailed Description

Definition at line 51 of file G4Neutron.hh.


Member Function Documentation

G4Neutron * G4Neutron::Definition (  )  [static]

Definition at line 54 of file G4Neutron.cc.

References G4ParticleTable::FindParticle(), G4Ions::G4Ions(), G4ParticleTable::GetParticleTable(), G4DecayTable::Insert(), G4ParticleDefinition::SetDecayTable(), and G4ParticleDefinition::SetPDGMagneticMoment().

Referenced by G4RadioactiveDecay::CollimateDecay(), G4InuclNuclei::copy(), G4InuclElementaryParticle::makeDefinition(), Neutron(), NeutronDefinition(), and G4InuclElementaryParticle::type().

00055 {
00056   if (theInstance !=0) return theInstance;
00057   const G4String name = "neutron";
00058   // search in particle table]
00059   G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
00060   G4Ions* anInstance =  reinterpret_cast<G4Ions*>(pTable->FindParticle(name));
00061   if (anInstance ==0)
00062   {
00063   // create particle
00064   //
00065   //    Arguments for constructor are as follows
00066   //               name             mass          width         charge
00067   //             2*spin           parity  C-conjugation
00068   //          2*Isospin       2*Isospin3       G-parity
00069   //               type    lepton number  baryon number   PDG encoding
00070   //             stable         lifetime    decay table
00071   //             shortlived      subType    anti_encoding
00072   // use constants in CLHEP
00073   // static const double  neutron_mass_c2 = 939.56563 * MeV;
00074 
00075     anInstance = new G4Ions(
00076                  name, neutron_mass_c2, 7.467e-28*GeV,         0.0, 
00077                     1,              +1,             0,          
00078                     1,              -1,             0,             
00079              "baryon",               0,            +1,        2112,
00080                 false,    885.7*second,          NULL,
00081                 false,       "nucleon",             0,
00082                   0.0 
00083               );
00084     // Magnetic Moment
00085     G4double mN = eplus*hbar_Planck/2./(proton_mass_c2 /c_squared);
00086     anInstance->SetPDGMagneticMoment( -1.9130427 * mN);
00087     //create Decay Table 
00088     G4DecayTable* table = new G4DecayTable();
00089     // create a decay channel
00090     G4VDecayChannel* mode = new G4NeutronBetaDecayChannel("neutron",1.00);
00091     table->Insert(mode);
00092     anInstance->SetDecayTable(table);
00093     
00094   }
00095   theInstance = reinterpret_cast<G4Neutron*>(anInstance);
00096   return theInstance;
00097 }

G4Neutron * G4Neutron::Neutron (  )  [static]

Definition at line 104 of file G4Neutron.cc.

References Definition().

Referenced by G4RPGReaction::AddBlackTrackParticles(), G4NeutronHPFinalState::adjust_final_state(), G4LightMedia::AntiLambdaExchange(), G4LightMedia::AntiNeutronExchange(), G4LightMedia::AntiOmegaMinusExchange(), G4LightMedia::AntiSigmaMinusExchange(), G4LightMedia::AntiSigmaPlusExchange(), G4LightMedia::AntiXiMinusExchange(), G4LightMedia::AntiXiZeroExchange(), G4TheoFSGenerator::ApplyYourself(), G4NeutronHPNXInelasticFS::ApplyYourself(), G4NeutronHPNTInelasticFS::ApplyYourself(), G4NeutronHPNT2AInelasticFS::ApplyYourself(), G4NeutronHPNPInelasticFS::ApplyYourself(), G4NeutronHPNPAInelasticFS::ApplyYourself(), G4NeutronHPNInelasticFS::ApplyYourself(), G4NeutronHPNHe3InelasticFS::ApplyYourself(), G4NeutronHPNDInelasticFS::ApplyYourself(), G4NeutronHPND2AInelasticFS::ApplyYourself(), G4NeutronHPNAInelasticFS::ApplyYourself(), G4NeutronHPN3AInelasticFS::ApplyYourself(), G4NeutronHPN2PInelasticFS::ApplyYourself(), G4NeutronHPN2AInelasticFS::ApplyYourself(), G4NeutronHPFSFissionFS::ApplyYourself(), G4NeutronHPFissionBaseFS::ApplyYourself(), G4NeutronHPCaptureFS::ApplyYourself(), G4NeutronHP4NInelasticFS::ApplyYourself(), G4NeutronHP3NPInelasticFS::ApplyYourself(), G4NeutronHP3NInelasticFS::ApplyYourself(), G4NeutronHP3NAInelasticFS::ApplyYourself(), G4NeutronHP2NPInelasticFS::ApplyYourself(), G4NeutronHP2NInelasticFS::ApplyYourself(), G4NeutronHP2NDInelasticFS::ApplyYourself(), G4NeutronHP2NAInelasticFS::ApplyYourself(), G4NeutronHP2N2AInelasticFS::ApplyYourself(), G4LENDInelastic::ApplyYourself(), G4LENDFission::ApplyYourself(), G4LENDCapture::ApplyYourself(), G4LElastic::ApplyYourself(), G4FissionLibrary::ApplyYourself(), G4ElectroVDNuclearModel::ApplyYourself(), G4ElectroNuclearReaction::ApplyYourself(), G4ChiralInvariantPhaseSpace::ApplyYourself(), G4QCaptureAtRest::AtRestDoIt(), G4NeutronHPInelasticBaseFS::BaseApply(), G4WilsonAblationModel::BreakItUp(), G4QNeutronHPBuilder::Build(), G4QNeutronBuilder::Build(), G4QGSPNeutronBuilder::Build(), G4QGSBinaryNeutronBuilder::Build(), G4NeutronLENDBuilder::Build(), G4NeutronBuilder::Build(), G4INCLXXNeutronBuilder::Build(), G4FTFPNeutronBuilder::Build(), G4FTFBinaryNeutronBuilder::Build(), G4NeutronInelasticXS::BuildPhysicsTable(), G4NeutronHPThermalScatteringData::BuildPhysicsTable(), G4NeutronHPorLFissionData::BuildPhysicsTable(), G4NeutronHPorLElasticData::BuildPhysicsTable(), G4NeutronHPorLEInelasticData::BuildPhysicsTable(), G4NeutronHPorLCaptureData::BuildPhysicsTable(), G4NeutronHPInelasticData::BuildPhysicsTable(), G4NeutronHPFissionData::BuildPhysicsTable(), G4NeutronHPElasticData::BuildPhysicsTable(), G4NeutronHPCaptureData::BuildPhysicsTable(), G4NeutronElasticXS::BuildPhysicsTable(), G4BGGNucleonInelasticXS::BuildPhysicsTable(), G4BGGNucleonElasticXS::BuildPhysicsTable(), G4QuasiElRatios::ChExer(), G4NeutronHPInelasticCompFS::CompositeApply(), G4NeutronCrossSectionXS::ConstructParticle(), HadronPhysicsShielding::ConstructProcess(), HadronPhysicsQGSP_FTFP_BERT_95::ConstructProcess(), HadronPhysicsQGSP_BERT_CHIPS::ConstructProcess(), HadronPhysicsQGSP_BERT_95::ConstructProcess(), HadronPhysicsFTFP_BERT_TRV::ConstructProcess(), G4NeutronTrackingCut::ConstructProcess(), G4NeutronCrossSectionXS::ConstructProcess(), G4HadronElasticPhysicsLEND::ConstructProcess(), G4PiMinusStopMaterial::DefinitionVector(), G4PiMinusStopAbsorption::DoAbsorption(), G4HadronicProcessStore::DumpHtml(), G4NeutronHPThermalScatteringData::DumpPhysicsTable(), G4NeutronHPorLFissionData::DumpPhysicsTable(), G4NeutronHPorLElasticData::DumpPhysicsTable(), G4NeutronHPorLEInelasticData::DumpPhysicsTable(), G4NeutronHPorLCaptureData::DumpPhysicsTable(), G4NeutronHPJENDLHEData::DumpPhysicsTable(), G4NeutronHPInelasticData::DumpPhysicsTable(), G4NeutronHPFissionData::DumpPhysicsTable(), G4NeutronHPElasticData::DumpPhysicsTable(), G4NeutronHPCaptureData::DumpPhysicsTable(), G4BENeutronChannel::emit(), G4PiMinusStopAbsorption::Energy(), G4VElasticCollision::FinalState(), G4VHadronPhysics::FindCaptureProcess(), G4VHadronPhysics::FindFissionProcess(), G4VCrossSectionSource::FindKeyParticle(), G4Absorber::FindProducts(), G4AntiNuclElastic::G4AntiNuclElastic(), G4BaryonSplitter::G4BaryonSplitter(), G4ChargeExchange::G4ChargeExchange(), G4ChargeExchangeProcess::G4ChargeExchangeProcess(), G4ComponentBarNucleonNucleusXsc::G4ComponentBarNucleonNucleusXsc(), G4ComponentGGHadronNucleusXsc::G4ComponentGGHadronNucleusXsc(), G4ComponentGGNuclNuclXsc::G4ComponentGGNuclNuclXsc(), G4DiffuseElastic::G4DiffuseElastic(), G4FTFParameters::G4FTFParameters(), G4GeneratorPrecompoundInterface::G4GeneratorPrecompoundInterface(), G4GGNuclNuclCrossSection::G4GGNuclNuclCrossSection(), G4GlauberGribovCrossSection::G4GlauberGribovCrossSection(), G4HadronElastic::G4HadronElastic(), G4HadronNucleonXsc::G4HadronNucleonXsc(), G4LENDManager::G4LENDManager(), G4MuMinusCapturePrecompound::G4MuMinusCapturePrecompound(), G4NeutronHPCaptureData::G4NeutronHPCaptureData(), G4NeutronHPElasticData::G4NeutronHPElasticData(), G4NeutronHPFissionData::G4NeutronHPFissionData(), G4NeutronHPInelasticData::G4NeutronHPInelasticData(), G4NeutronHPThermalScattering::G4NeutronHPThermalScattering(), G4NucleonNuclearCrossSection::G4NucleonNuclearCrossSection(), G4NuclNuclDiffuseElastic::G4NuclNuclDiffuseElastic(), G4PreCompoundModel::G4PreCompoundModel(), G4QMDGroundStateNucleus::G4QMDGroundStateNucleus(), G4QNeutronBuilder::G4QNeutronBuilder(), G4QNeutronHPBuilder::G4QNeutronHPBuilder(), G4RegionModel::G4RegionModel(), G4RPGInelastic::G4RPGInelastic(), G4WHadronElasticProcess::G4WHadronElasticProcess(), G4WilsonAblationModel::G4WilsonAblationModel(), G4ReactionDynamics::GenerateXandPt(), G4Nucleus::GetBiasedThermalNucleus(), G4NeutronHPorLFissionData::GetCrossSection(), G4NeutronHPorLElasticData::GetCrossSection(), G4NeutronHPorLEInelasticData::GetCrossSection(), G4NeutronHPorLCaptureData::GetCrossSection(), G4NeutronHPInelasticData::GetCrossSection(), G4NeutronHPFissionData::GetCrossSection(), G4NeutronHPElasticData::GetCrossSection(), G4NeutronHPCaptureData::GetCrossSection(), G4QHadronInelasticDataSet::GetIsoCrossSection(), G4QHadronElasticDataSet::GetIsoCrossSection(), G4NeutronIsotopeProduction::GetIsotope(), G4Fancy3DNucleus::GetMass(), G4QMDNucleus::GetMassNumber(), G4QNGamma::GetMeanFreePath(), G4QInelastic::GetMeanFreePath(), G4QElastic::GetMeanFreePath(), G4QDiffraction::GetMeanFreePath(), G4QCoherentChargeExchange::GetMeanFreePath(), G4QMDNucleus::GetNuclearMass(), G4QPDGToG4Particle::GetParticleDefinition(), G4NeutronHPThermalBoost::GetThermalEnergy(), G4Nucleus::GetThermalNucleus(), G4Scatterer::GetTimeToInteraction(), G4RKPropagation::Init(), G4NeutronHPNBodyPhaseSpace::Init(), G4QNGamma::IsApplicable(), G4QLowEnergy::IsApplicable(), G4QInelastic::IsApplicable(), G4QElastic::IsApplicable(), G4QDiffraction::IsApplicable(), G4QCoherentChargeExchange::IsApplicable(), G4QCaptureAtRest::IsApplicable(), G4NeutronHPThermalScatteringData::IsApplicable(), G4NeutronHPJENDLHEData::IsApplicable(), G4HadronFissionProcess::IsApplicable(), G4HadronCaptureProcess::IsApplicable(), G4GeneralNNCollision::IsInCharge(), G4QHadronInelasticDataSet::IsIsoApplicable(), G4QHadronElasticDataSet::IsIsoApplicable(), G4NeutronHPThermalScatteringData::IsIsoApplicable(), G4NeutronHPorLFissionData::IsIsoApplicable(), G4NeutronHPorLElasticData::IsIsoApplicable(), G4NeutronHPorLEInelasticData::IsIsoApplicable(), G4NeutronHPorLCaptureData::IsIsoApplicable(), G4NeutronHPInelasticData::IsIsoApplicable(), G4NeutronHPFissionData::IsIsoApplicable(), G4NeutronHPElasticData::IsIsoApplicable(), G4NeutronHPCaptureData::IsIsoApplicable(), G4ChipsNeutronInelasticXS::IsIsoApplicable(), G4LightMedia::KaonPlusExchange(), G4LightMedia::LambdaExchange(), G4NeutronHPElementData::MakePhysicsVector(), G4RPGInelastic::MarkLeadingStrangeParticle(), G4InelasticInteraction::MarkLeadingStrangeParticle(), G4PiMinusStopAbsorption::NNeutrons(), G4RPGReaction::NuclearReaction(), G4ReactionDynamics::NuclearReaction(), G4LightMedia::OmegaMinusExchange(), G4LightMedia::PionPlusExchange(), G4QNGamma::PostStepDoIt(), G4QLowEnergy::PostStepDoIt(), G4QInelastic::PostStepDoIt(), G4QElastic::PostStepDoIt(), G4QDiffraction::PostStepDoIt(), G4QCoherentChargeExchange::PostStepDoIt(), G4QAtomicElectronScattering::PostStepDoIt(), G4HadronElasticProcess::PreparePhysicsTable(), G4ReactionDynamics::ProduceStrangeParticlePairs(), G4StringChipsParticleLevelInterface::Propagate(), G4StringChipsInterface::Propagate(), G4QStringChipsParticleLevelInterface::Propagate(), G4LightMedia::ProtonExchange(), G4RPGTwoCluster::ReactionStage(), G4RPGStrangeProduction::ReactionStage(), G4RPGPionSuppression::ReactionStage(), G4RPGFragmentation::ReactionStage(), G4Nucleus::ReturnTargetParticle(), G4NeutronHPNBodyPhaseSpace::Sample(), G4NeutronHPLabAngularEnergy::Sample(), G4NeutronHPIsotropic::Sample(), G4NeutronHPDiscreteTwoBody::Sample(), G4NeutronHPContAngularPar::Sample(), G4QuasiElRatios::Scatter(), G4QuasiElasticChannel::Scatter(), G4ProjectileDiffractiveChannel::Scatter(), G4LightMedia::SigmaMinusExchange(), G4LightMedia::SigmaPlusExchange(), G4ReactionDynamics::SuppressChargedPions(), G4RKPropagation::Transport(), G4ReactionDynamics::TwoCluster(), G4LightMedia::XiMinusExchange(), and G4LightMedia::XiZeroExchange().

00105 {
00106   return Definition();
00107 }

G4Neutron * G4Neutron::NeutronDefinition (  )  [static]

Definition at line 99 of file G4Neutron.cc.

References Definition().

Referenced by G4LFission::ApplyYourself(), G4EMDissociation::ApplyYourself(), G4BinaryCascade::ApplyYourself(), G4LFission::Atomas(), G4ExcitationHandler::BreakItUp(), G4AblaEvaporation::BreakItUp(), G4BaryonConstructor::ConstructNucleons(), G4NeutronTrackingCut::ConstructParticle(), G4XnpTotalLowE::CrossSection(), G4XnpElasticLowE::CrossSection(), G4QPDGToG4Particle::DefineAllParticles(), G4VScatteringCollision::FinalState(), G4CollisionNNElastic::G4CollisionNNElastic(), G4CollisionnpElastic::G4CollisionnpElastic(), G4ParticleTypeConverter::G4ParticleTypeConverter(), G4XNNElasticLowE::G4XNNElasticLowE(), G4XNNTotalLowE::G4XNNTotalLowE(), G4XPDGElastic::G4XPDGElastic(), G4XPDGTotal::G4XPDGTotal(), G4MesonAbsorption::GetFinalState(), G4CollisionnpElastic::IsInCharge(), G4CollisionNNElastic::IsInCharge(), G4Scintillation::PostStepDoIt(), G4XNNElasticLowE::Print(), G4GeneratorPrecompoundInterface::Propagate(), G4XNNElasticLowE::~G4XNNElasticLowE(), and G4XNNTotalLowE::~G4XNNTotalLowE().

00100 {
00101   return Definition();
00102 }


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