Geant4 10.7.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 ()
 
- Static Public Member Functions inherited from G4Ions
static G4Ions::G4FloatLevelBase FloatLevelBase (char flbChar)
 
static G4Ions::G4FloatLevelBase FloatLevelBase (G4int flbIdx)
 
static char FloatLevelBaseChar (G4Ions::G4FloatLevelBase flb)
 
- Static Public Member Functions inherited from G4ParticleDefinition
static const G4PDefManagerGetSubInstanceManager ()
 
static void Clean ()
 

Additional Inherited Members

- Public Types inherited from G4Ions
enum class  G4FloatLevelBase {
  no_Float =0 , plus_X , plus_Y , plus_Z ,
  plus_U , plus_V , plus_W , plus_R ,
  plus_S , plus_T , plus_A , plus_B ,
  plus_C , plus_D , plus_E
}
 
- 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, G4int isomer=0)
 
virtual ~G4Ions ()
 
G4IonsIonsDefinition ()
 
G4IonsIons ()
 
G4double GetExcitationEnergy () const
 
G4int GetIsomerLevel () const
 
G4Ions::G4FloatLevelBase GetFloatLevelBase () const
 
G4int GetFloatLevelBaseIndex () const
 
void SetFloatLevelBase (G4Ions::G4FloatLevelBase flb)
 
void SetFloatLevelBase (char flbChar)
 
void SetFloatLevelBase (G4int flbIdx)
 
- 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 ()
 
 G4ParticleDefinition (const G4ParticleDefinition &)=delete
 
G4ParticleDefinitionoperator= (const G4ParticleDefinition &)=delete
 
G4bool operator== (const G4ParticleDefinition &right) const
 
G4bool operator!= (const G4ParticleDefinition &right) const
 
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)
 
G4double GetIonLifeTime () const
 
G4DecayTableGetDecayTable () const
 
void SetDecayTable (G4DecayTable *aDecayTable)
 
G4ProcessManagerGetProcessManager () const
 
void SetProcessManager (G4ProcessManager *aProcessManager)
 
G4ParticleTableGetParticleTable () const
 
G4int GetAtomicNumber () const
 
G4int GetAtomicMass () const
 
void DumpTable () const
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 
void SetApplyCutsFlag (G4bool)
 
G4bool GetApplyCutsFlag () const
 
G4bool IsGeneralIon () const
 
G4bool IsMuonicAtom () const
 
G4ProcessManagerGetMasterProcessManager () const
 
void SetMasterProcessManager (G4ProcessManager *aNewPM)
 
G4int GetInstanceID () const
 
void SetParticleDefinitionID (G4int id=-1)
 
G4int GetParticleDefinitionID () const
 
- Protected Types inherited from G4ParticleDefinition
enum  { NumberOfQuarkFlavor = 6 }
 
- Protected Member Functions inherited from G4Ions
 G4Ions ()
 
- Protected Member Functions inherited from G4ParticleDefinition
 G4ParticleDefinition ()
 
G4int FillQuarkContents ()
 
void SetParticleSubType (const G4String &subtype)
 
void SetAtomicNumber (G4int)
 
void SetAtomicMass (G4int)
 
- Protected Attributes inherited from G4ParticleDefinition
G4int theQuarkContent [NumberOfQuarkFlavor]
 
G4int theAntiQuarkContent [NumberOfQuarkFlavor]
 
G4bool isGeneralIon = false
 
G4bool isMuonicAtom = false
 

Detailed Description

Definition at line 50 of file G4Neutron.hh.

Member Function Documentation

◆ Definition()

G4Neutron * G4Neutron::Definition ( )
static

Definition at line 53 of file G4Neutron.cc.

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

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

◆ Neutron()

G4Neutron * G4Neutron::Neutron ( )
static

Definition at line 103 of file G4Neutron.cc.

104{
105 return Definition();
106}
static G4Neutron * Definition()
Definition: G4Neutron.cc:53

Referenced by G4RPGReaction::AddBlackTrackParticles(), G4ParticleHPFinalState::adjust_final_state(), G4LightMedia::AntiLambdaExchange(), G4LightMedia::AntiNeutronExchange(), G4LightMedia::AntiOmegaMinusExchange(), G4LightMedia::AntiSigmaMinusExchange(), G4LightMedia::AntiSigmaPlusExchange(), G4LightMedia::AntiXiMinusExchange(), G4LightMedia::AntiXiZeroExchange(), G4NRESP71M03::ApplyMechanismI_NBeA2A(), G4NRESP71M03::ApplyMechanismII_ACN2A(), G4LENDCapture::ApplyYourself(), G4LENDFission::ApplyYourself(), G4LENDInelastic::ApplyYourself(), G4ElectroVDNuclearModel::ApplyYourself(), G4ParticleHPInelastic::ApplyYourself(), G4FissionLibrary::ApplyYourself(), G4ParticleHP2N2AInelasticFS::ApplyYourself(), G4ParticleHP2NAInelasticFS::ApplyYourself(), G4ParticleHP2NDInelasticFS::ApplyYourself(), G4ParticleHP2NInelasticFS::ApplyYourself(), G4ParticleHP2NPInelasticFS::ApplyYourself(), G4ParticleHP3NAInelasticFS::ApplyYourself(), G4ParticleHP3NInelasticFS::ApplyYourself(), G4ParticleHP3NPInelasticFS::ApplyYourself(), G4ParticleHP4NInelasticFS::ApplyYourself(), G4ParticleHPCaptureFS::ApplyYourself(), G4ParticleHPN2AInelasticFS::ApplyYourself(), G4ParticleHPN2PInelasticFS::ApplyYourself(), G4ParticleHPN3AInelasticFS::ApplyYourself(), G4ParticleHPNAInelasticFS::ApplyYourself(), G4ParticleHPND2AInelasticFS::ApplyYourself(), G4ParticleHPNDInelasticFS::ApplyYourself(), G4ParticleHPNHe3InelasticFS::ApplyYourself(), G4ParticleHPNInelasticFS::ApplyYourself(), G4ParticleHPNPAInelasticFS::ApplyYourself(), G4ParticleHPNPInelasticFS::ApplyYourself(), G4ParticleHPNT2AInelasticFS::ApplyYourself(), G4ParticleHPNTInelasticFS::ApplyYourself(), G4ParticleHPNXInelasticFS::ApplyYourself(), G4ParticleHPFissionBaseFS::ApplyYourself(), G4ParticleHPFSFissionFS::ApplyYourself(), G4ParticleHPInelasticBaseFS::BaseApply(), G4WilsonAblationModel::BreakItUp(), G4NeutronBuilder::Build(), G4NeutronLENDBuilder::Build(), G4FTFBinaryNeutronBuilder::Build(), G4NeutronPHPBuilder::Build(), G4QGSBinaryNeutronBuilder::Build(), G4QGSPNeutronBuilder::Build(), G4ParticleHPCaptureData::BuildPhysicsTable(), G4ParticleHPElasticData::BuildPhysicsTable(), G4ParticleHPFissionData::BuildPhysicsTable(), G4ParticleHPThermalScatteringData::BuildPhysicsTable(), G4BGGNucleonElasticXS::BuildPhysicsTable(), G4BGGNucleonInelasticXS::BuildPhysicsTable(), G4QuasiElRatios::ChExer(), G4LightTargetCollider::collide(), G4ParticleHPInelasticCompFS::CompositeApply(), LBE::ConstructHad(), G4NeutronCrossSectionXS::ConstructParticle(), G4NeutronCrossSectionXS::ConstructProcess(), G4NeutronTrackingCut::ConstructProcess(), G4HadronElasticPhysicsHP::ConstructProcess(), G4HadronElasticPhysicsLEND::ConstructProcess(), G4HadronElasticPhysicsPHP::ConstructProcess(), G4HadronElasticPhysics::ConstructProcess(), G4ThermalNeutrons::ConstructProcess(), G4HadronInelasticQBBC::ConstructProcess(), G4HadronPhysicsFTFQGSP_BERT::ConstructProcess(), G4SFDecay::DecayIt(), G4HadronicProcessStore::DumpHtml(), G4ParticleHPCaptureData::DumpPhysicsTable(), G4ParticleHPElasticData::DumpPhysicsTable(), G4ParticleHPFissionData::DumpPhysicsTable(), G4ParticleHPJENDLHEData::DumpPhysicsTable(), G4ParticleHPThermalScatteringData::DumpPhysicsTable(), G4VElasticCollision::FinalState(), G4HadProcesses::FindCaptureProcess(), G4HadProcesses::FindFissionProcess(), G4VCrossSectionSource::FindKeyParticle(), G4Absorber::FindProducts(), G4AntiNuclElastic::G4AntiNuclElastic(), G4BaryonSplitter::G4BaryonSplitter(), G4ChargeExchange::G4ChargeExchange(), G4ChargeExchangeProcess::G4ChargeExchangeProcess(), G4ChipsNeutronElasticXS::G4ChipsNeutronElasticXS(), G4ComponentBarNucleonNucleusXsc::G4ComponentBarNucleonNucleusXsc(), G4ComponentGGHadronNucleusXsc::G4ComponentGGHadronNucleusXsc(), G4ComponentGGNuclNuclXsc::G4ComponentGGNuclNuclXsc(), G4DiffuseElastic::G4DiffuseElastic(), G4DiffuseElasticV2::G4DiffuseElasticV2(), G4FissionFragmentGenerator::G4GenerateFission(), G4GeneratorPrecompoundInterface::G4GeneratorPrecompoundInterface(), G4HadronElastic::G4HadronElastic(), G4HadronNucleonXsc::G4HadronNucleonXsc(), G4hhElastic::G4hhElastic(), G4LightTargetCollider::G4LightTargetCollider(), G4MuMinusCapturePrecompound::G4MuMinusCapturePrecompound(), G4NucleonNuclearCrossSection::G4NucleonNuclearCrossSection(), G4NuclNuclDiffuseElastic::G4NuclNuclDiffuseElastic(), G4ParticleHPChannel::G4ParticleHPChannel(), G4ParticleHPChannelList::G4ParticleHPChannelList(), G4ParticleHPData::G4ParticleHPData(), G4ParticleHPEnAngCorrelation::G4ParticleHPEnAngCorrelation(), G4ParticleHPFinalState::G4ParticleHPFinalState(), G4ParticleHPInelastic::G4ParticleHPInelastic(), G4ParticleHPInelasticData::G4ParticleHPInelasticData(), G4PreCompoundModel::G4PreCompoundModel(), G4QMDGroundStateNucleus::G4QMDGroundStateNucleus(), G4RPGInelastic::G4RPGInelastic(), G4WilsonAblationModel::G4WilsonAblationModel(), G4CRCoalescence::GenerateDeuterons(), G4Nucleus::GetBiasedThermalNucleus(), G4ParticleHPCaptureData::GetCrossSection(), G4ParticleHPElasticData::GetCrossSection(), G4ParticleHPFissionData::GetCrossSection(), G4ParticleHPInelasticData::GetCrossSection(), G4Fancy3DNucleus::GetMass(), G4QMDNucleus::GetMassNumber(), G4HadronElasticPhysics::GetNeutronModel(), G4HadronElasticPhysics::GetNeutronProcess(), G4QMDNucleus::GetNuclearMass(), G4ParticleHPThermalBoost::GetThermalEnergy(), G4Nucleus::GetThermalNucleus(), G4Scatterer::GetTimeToInteraction(), G4FTFModel::Init(), G4ParticleHP2AInelasticFS::Init(), G4ParticleHP2N2AInelasticFS::Init(), G4ParticleHP2NAInelasticFS::Init(), G4ParticleHP2NDInelasticFS::Init(), G4ParticleHP2NInelasticFS::Init(), G4ParticleHP2NPInelasticFS::Init(), G4ParticleHP2PInelasticFS::Init(), G4ParticleHP3AInelasticFS::Init(), G4ParticleHP3NAInelasticFS::Init(), G4ParticleHP3NInelasticFS::Init(), G4ParticleHP3NPInelasticFS::Init(), G4ParticleHP4NInelasticFS::Init(), G4ParticleHPAInelasticFS::Init(), G4ParticleHPD2AInelasticFS::Init(), G4ParticleHPDAInelasticFS::Init(), G4ParticleHPDInelasticFS::Init(), G4ParticleHPHe3InelasticFS::Init(), G4ParticleHPN2AInelasticFS::Init(), G4ParticleHPN2PInelasticFS::Init(), G4ParticleHPN3AInelasticFS::Init(), G4ParticleHPNAInelasticFS::Init(), G4ParticleHPND2AInelasticFS::Init(), G4ParticleHPNDInelasticFS::Init(), G4ParticleHPNHe3InelasticFS::Init(), G4ParticleHPNInelasticFS::Init(), G4ParticleHPNPAInelasticFS::Init(), G4ParticleHPNPInelasticFS::Init(), G4ParticleHPNT2AInelasticFS::Init(), G4ParticleHPNTInelasticFS::Init(), G4ParticleHPNXInelasticFS::Init(), G4ParticleHPPAInelasticFS::Init(), G4ParticleHPPDInelasticFS::Init(), G4ParticleHPPInelasticFS::Init(), G4ParticleHPPTInelasticFS::Init(), G4ParticleHPT2AInelasticFS::Init(), G4ParticleHPTInelasticFS::Init(), G4ParticleHPElementData::Init(), G4ParticleHPIsoData::Init(), G4RKPropagation::Init(), G4ParticleHPNBodyPhaseSpace::Init(), G4FTFParameters::InitForInteraction(), G4NeutronElectronElXsc::Initialise(), G4ParticleHPJENDLHEData::IsApplicable(), G4ParticleHPThermalScatteringData::IsApplicable(), G4DiffuseElastic::IsApplicable(), G4DiffuseElasticV2::IsApplicable(), G4hhElastic::IsApplicable(), G4LMsdGenerator::IsApplicable(), G4HadronCaptureProcess::IsApplicable(), G4HadronFissionProcess::IsApplicable(), G4GeneralNNCollision::IsInCharge(), G4ParticleHPCaptureData::IsIsoApplicable(), G4ParticleHPElasticData::IsIsoApplicable(), G4ParticleHPFissionData::IsIsoApplicable(), G4ParticleHPThermalScatteringData::IsIsoApplicable(), G4LightMedia::KaonPlusExchange(), G4LightMedia::LambdaExchange(), G4ParticleHPElementData::MakePhysicsVector(), G4RPGInelastic::MarkLeadingStrangeParticle(), G4HadronPhysicsFTFP_BERT::Neutron(), G4HadronPhysicsQGS_BIC::Neutron(), G4HadronPhysicsQGSP_BERT::Neutron(), G4HadronPhysicsQGSP_BIC::Neutron(), G4HadronPhysicsFTF_BIC::Neutron(), G4HadronPhysicsFTFP_BERT_HP::Neutron(), G4HadronPhysicsINCLXX::Neutron(), G4HadronPhysicsQGSP_BERT_HP::Neutron(), G4HadronPhysicsQGSP_BIC_HP::Neutron(), G4HadronPhysicsShielding::Neutron(), G4RPGReaction::NuclearReaction(), G4LightMedia::OmegaMinusExchange(), G4LightMedia::PionPlusExchange(), G4NeutrinoElectronProcess::PreparePhysicsTable(), G4LightMedia::ProtonExchange(), G4RPGFragmentation::ReactionStage(), G4RPGPionSuppression::ReactionStage(), G4RPGStrangeProduction::ReactionStage(), G4RPGTwoCluster::ReactionStage(), G4Nucleus::ReturnTargetParticle(), G4ParticleHPDiscreteTwoBody::Sample(), G4ParticleHPIsotropic::Sample(), G4ParticleHPLabAngularEnergy::Sample(), G4ParticleHPNBodyPhaseSpace::Sample(), G4ParticleHPContAngularPar::Sample(), G4hhElastic::SampleBisectionalT(), G4hhElastic::SampleInvariantT(), G4LMsdGenerator::SampleMx(), G4VPartonStringModel::Scatter(), G4QuasiElRatios::Scatter(), G4QuasiElasticChannel::Scatter(), G4LightMedia::SigmaMinusExchange(), G4LightMedia::SigmaPlusExchange(), G4RKPropagation::Transport(), G4LightMedia::XiMinusExchange(), and G4LightMedia::XiZeroExchange().

◆ NeutronDefinition()


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