Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4Neutron Class Reference

#include <G4Neutron.hh>

+ Inheritance diagram for G4Neutron:

Static Public Member Functions

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

Additional Inherited Members

- Public Member Functions inherited from G4Ions
 G4Ions (const G4String &aName, G4double mass, G4double width, G4double charge, G4int iSpin, G4int iParity, G4int iConjugation, G4int iIsospin, G4int iIsospin3, G4int gParity, const G4String &pType, G4int lepton, G4int baryon, G4int encoding, G4bool stable, G4double lifetime, G4DecayTable *decaytable, G4bool shortlived, const G4String &subType="", G4int anti_encoding=0, G4double excitation=0.0)
 
virtual ~G4Ions ()
 
G4IonsIonsDefinition ()
 
G4IonsIons ()
 
G4double GetExcitationEnergy () const
 
- Public Member Functions inherited from G4ParticleDefinition
 G4ParticleDefinition (const G4String &aName, G4double mass, G4double width, G4double charge, G4int iSpin, G4int iParity, G4int iConjugation, G4int iIsospin, G4int iIsospinZ, G4int gParity, const G4String &pType, G4int lepton, G4int baryon, G4int encoding, G4bool stable, G4double lifetime, G4DecayTable *decaytable, G4bool shortlived=false, const G4String &subType="", G4int anti_encoding=0, G4double magneticMoment=0.0)
 
virtual ~G4ParticleDefinition ()
 
const G4StringGetParticleName () const
 
G4double GetPDGMass () const
 
G4double GetPDGWidth () const
 
G4double GetPDGCharge () const
 
G4double GetPDGSpin () const
 
G4int GetPDGiSpin () const
 
G4int GetPDGiParity () const
 
G4int GetPDGiConjugation () const
 
G4double GetPDGIsospin () const
 
G4double GetPDGIsospin3 () const
 
G4int GetPDGiIsospin () const
 
G4int GetPDGiIsospin3 () const
 
G4int GetPDGiGParity () const
 
G4double GetPDGMagneticMoment () const
 
void SetPDGMagneticMoment (G4double mageticMoment)
 
G4double CalculateAnomaly () const
 
const G4StringGetParticleType () const
 
const G4StringGetParticleSubType () const
 
G4int GetLeptonNumber () const
 
G4int GetBaryonNumber () const
 
G4int GetPDGEncoding () const
 
G4int GetAntiPDGEncoding () const
 
void SetAntiPDGEncoding (G4int aEncoding)
 
G4int GetQuarkContent (G4int flavor) const
 
G4int GetAntiQuarkContent (G4int flavor) const
 
G4bool IsShortLived () const
 
G4bool GetPDGStable () const
 
void SetPDGStable (const G4bool aFlag)
 
G4double GetPDGLifeTime () const
 
void SetPDGLifeTime (G4double aLifeTime)
 
G4DecayTableGetDecayTable () const
 
void SetDecayTable (G4DecayTable *aDecayTable)
 
G4ProcessManagerGetProcessManager () const
 
void SetProcessManager (G4ProcessManager *aProcessManager)
 
G4ParticleTableGetParticleTable () const
 
void DumpTable () const
 
G4int GetAtomicNumber () const
 
G4int GetAtomicMass () const
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 
G4int operator== (const G4ParticleDefinition &right) const
 
G4int operator!= (const G4ParticleDefinition &right) const
 
void SetApplyCutsFlag (G4bool)
 
G4bool GetApplyCutsFlag () const
 
- Protected Types inherited from G4ParticleDefinition
enum  { NumberOfQuarkFlavor = 6 }
 
- Protected Member Functions inherited from G4Ions
 G4Ions ()
 
- Protected Member Functions inherited from G4ParticleDefinition
G4int FillQuarkContents ()
 
void SetParticleSubType (const G4String &subtype)
 
void SetAtomicNumber (G4int)
 
void SetAtomicMass (G4int)
 
 G4ParticleDefinition (const G4ParticleDefinition &right)
 
 G4ParticleDefinition ()
 
- Protected Attributes inherited from G4ParticleDefinition
G4int theQuarkContent [NumberOfQuarkFlavor]
 
G4int theAntiQuarkContent [NumberOfQuarkFlavor]
 

Detailed Description

Definition at line 51 of file G4Neutron.hh.

Member Function Documentation

◆ Definition()

G4Neutron * G4Neutron::Definition ( )
static

Definition at line 54 of file G4Neutron.cc.

55{
56 if (theInstance !=0) return theInstance;
57 const G4String name = "neutron";
58 // search in particle table]
60 G4Ions* anInstance = reinterpret_cast<G4Ions*>(pTable->FindParticle(name));
61 if (anInstance ==0)
62 {
63 // create particle
64 //
65 // Arguments for constructor are as follows
66 // name mass width charge
67 // 2*spin parity C-conjugation
68 // 2*Isospin 2*Isospin3 G-parity
69 // type lepton number baryon number PDG encoding
70 // stable lifetime decay table
71 // shortlived subType anti_encoding
72 // use constants in CLHEP
73 // static const double neutron_mass_c2 = 939.56563 * MeV;
74
75 anInstance = new G4Ions(
76 name, neutron_mass_c2, 7.467e-28*GeV, 0.0,
77 1, +1, 0,
78 1, -1, 0,
79 "baryon", 0, +1, 2112,
80 false, 885.7*second, NULL,
81 false, "nucleon", 0,
82 0.0
83 );
84 // Magnetic Moment
85 G4double mN = eplus*hbar_Planck/2./(proton_mass_c2 /c_squared);
86 anInstance->SetPDGMagneticMoment( -1.9130427 * mN);
87 //create Decay Table
88 G4DecayTable* table = new G4DecayTable();
89 // create a decay channel
90 G4VDecayChannel* mode = new G4NeutronBetaDecayChannel("neutron",1.00);
91 table->Insert(mode);
92 anInstance->SetDecayTable(table);
93
94 }
95 theInstance = reinterpret_cast<G4Neutron*>(anInstance);
96 return theInstance;
97}
double G4double
Definition: G4Types.hh:64
void Insert(G4VDecayChannel *aChannel)
Definition: G4DecayTable.cc:60
Definition: G4Ions.hh:52
G4Ions()
Definition: G4Ions.hh:62
void SetPDGMagneticMoment(G4double mageticMoment)
void SetDecayTable(G4DecayTable *aDecayTable)
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
static G4ParticleTable * GetParticleTable()

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

◆ Neutron()

G4Neutron * G4Neutron::Neutron ( )
static

Definition at line 104 of file G4Neutron.cc.

105{
106 return Definition();
107}
static G4Neutron * Definition()
Definition: G4Neutron.cc:54

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

◆ NeutronDefinition()


The documentation for this class was generated from the following files: