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

#include <G4Proton.hh>

+ Inheritance diagram for G4Proton:

Static Public Member Functions

static G4ProtonDefinition ()
 
static G4ProtonProtonDefinition ()
 
static G4ProtonProton ()
 

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 G4Proton.hh.

Member Function Documentation

◆ Definition()

G4Proton * G4Proton::Definition ( )
static

Definition at line 49 of file G4Proton.cc.

50{
51 if (theInstance !=0) return theInstance;
52 const G4String name = "proton";
53 // search in particle table]
55 G4Ions* anInstance = reinterpret_cast<G4Ions*>(pTable->FindParticle(name));
56 if (anInstance ==0)
57 {
58 // create particle
59 //
60 // Arguments for constructor are as follows
61 // name mass width charge
62 // 2*spin parity C-conjugation
63 // 2*Isospin 2*Isospin3 G-parity
64 // type lepton number baryon number PDG encoding
65 // stable lifetime decay table
66 // shortlived subType anti_encoding
67 // use constants in CLHEP
68 // static const double proton_mass_c2 = 938.27231 * MeV;
69
70 anInstance = new G4Ions(
71 name, proton_mass_c2, 0.0*MeV, eplus,
72 1, +1, 0,
73 1, +1, 0,
74 "baryon", 0, +1, 2212,
75 true, -1.0, NULL,
76 false, "nucleon", 0,
77 0.0
78 );
79
80 // Magnetic Moment
81 G4double mN = eplus*hbar_Planck/2./(proton_mass_c2 /c_squared);
82 anInstance->SetPDGMagneticMoment( 2.792847351 * mN);
83 }
84 theInstance = reinterpret_cast<G4Proton*>(anInstance);
85 return theInstance;
86}
double G4double
Definition: G4Types.hh:64
Definition: G4Ions.hh:52
G4Ions()
Definition: G4Ions.hh:62
void SetPDGMagneticMoment(G4double mageticMoment)
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
static G4ParticleTable * GetParticleTable()

Referenced by G4InuclNuclei::copy(), G4InuclElementaryParticle::makeDefinition(), Proton(), ProtonDefinition(), and G4InuclElementaryParticle::type().

◆ Proton()

G4Proton * G4Proton::Proton ( )
static

Definition at line 93 of file G4Proton.cc.

94{
95 return Definition();
96}
static G4Proton * Definition()
Definition: G4Proton.cc:49

Referenced by G4RPGReaction::AddBlackTrackParticles(), G4hImpactIonisation::AlongStepDoIt(), G4LightMedia::AntiLambdaExchange(), G4LightMedia::AntiOmegaMinusExchange(), G4LightMedia::AntiProtonExchange(), G4LightMedia::AntiSigmaMinusExchange(), G4LightMedia::AntiSigmaPlusExchange(), G4LightMedia::AntiXiMinusExchange(), G4LightMedia::AntiXiZeroExchange(), G4ElectroNuclearReaction::ApplyYourself(), G4LENDCapture::ApplyYourself(), G4LENDInelastic::ApplyYourself(), G4ElectroVDNuclearModel::ApplyYourself(), G4LEnp::ApplyYourself(), G4LEpp::ApplyYourself(), G4LElastic::ApplyYourself(), G4TheoFSGenerator::ApplyYourself(), G4NeutronHP2NPInelasticFS::ApplyYourself(), G4NeutronHP2PInelasticFS::ApplyYourself(), G4NeutronHP3NPInelasticFS::ApplyYourself(), G4NeutronHPElasticFS::ApplyYourself(), G4NeutronHPN2PInelasticFS::ApplyYourself(), G4NeutronHPNPAInelasticFS::ApplyYourself(), G4NeutronHPNPInelasticFS::ApplyYourself(), G4NeutronHPPAInelasticFS::ApplyYourself(), G4NeutronHPPDInelasticFS::ApplyYourself(), G4NeutronHPPInelasticFS::ApplyYourself(), G4NeutronHPPTInelasticFS::ApplyYourself(), G4QCaptureAtRest::AtRestDoIt(), G4NeutronHPInelasticBaseFS::BaseApply(), G4WilsonAblationModel::BreakItUp(), G4ProtonBuilder::Build(), G4QProtonBuilder::Build(), G4FTFBinaryProtonBuilder::Build(), G4FTFPProtonBuilder::Build(), G4INCLXXProtonBuilder::Build(), G4QGSBinaryProtonBuilder::Build(), G4QGSPProtonBuilder::Build(), G4hImpactIonisation::BuildPhysicsTable(), G4ecpssrFormFactorKxsModel::CalculateCrossSection(), G4ecpssrBaseKxsModel::CalculateCrossSection(), G4PaulKxsModel::CalculateKCrossSection(), G4ecpssrBaseLixsModel::CalculateL1CrossSection(), G4ecpssrFormFactorLixsModel::CalculateL1CrossSection(), G4OrlicLiXsModel::CalculateL2CrossSection(), G4ecpssrBaseLixsModel::CalculateL2CrossSection(), G4ecpssrFormFactorLixsModel::CalculateL2CrossSection(), G4OrlicLiXsModel::CalculateL3CrossSection(), G4ecpssrBaseLixsModel::CalculateL3CrossSection(), G4ecpssrFormFactorLixsModel::CalculateL3CrossSection(), G4ecpssrBaseLixsModel::CalculateVelocity(), G4QuasiElRatios::ChExer(), G4hImpactIonisation::ComputeDEDX(), G4EmDNAPhysics::ConstructParticle(), G4EmDNAPhysicsChemistry::ConstructParticle(), G4EmLivermorePhysics::ConstructParticle(), G4EmLivermorePolarizedPhysics::ConstructParticle(), G4EmLowEPPhysics::ConstructParticle(), G4EmPenelopePhysics::ConstructParticle(), G4EmStandardPhysics::ConstructParticle(), G4EmStandardPhysics_option1::ConstructParticle(), G4EmStandardPhysics_option2::ConstructParticle(), G4EmStandardPhysics_option3::ConstructParticle(), G4EmStandardPhysics_option4::ConstructParticle(), G4QAtomicPhysics::ConstructParticle(), G4HadronElasticPhysicsXS::ConstructProcess(), HadronPhysicsQGSP_BERT_95::ConstructProcess(), HadronPhysicsQGSP_BERT_CHIPS::ConstructProcess(), HadronPhysicsQGSP_FTFP_BERT_95::ConstructProcess(), G4empCrossSection::CrossSection(), G4PiMinusStopMaterial::DefinitionVector(), G4PiMinusStopAbsorption::DoAbsorption(), G4HadronicProcessStore::DumpHtml(), G4BEProtonChannel::emit(), G4PiMinusStopAbsorption::Energy(), G4VElasticCollision::FinalState(), G4VCrossSectionSource::FindKeyParticle(), G4Absorber::FindProducts(), G4AdjointhIonisationModel::G4AdjointhIonisationModel(), G4AntiNuclElastic::G4AntiNuclElastic(), G4BaryonSplitter::G4BaryonSplitter(), G4BGGNucleonElasticXS::G4BGGNucleonElasticXS(), G4BGGNucleonInelasticXS::G4BGGNucleonInelasticXS(), G4BGGPionElasticXS::G4BGGPionElasticXS(), G4BGGPionInelasticXS::G4BGGPionInelasticXS(), G4ChargeExchange::G4ChargeExchange(), G4ChargeExchangeProcess::G4ChargeExchangeProcess(), G4ComponentBarNucleonNucleusXsc::G4ComponentBarNucleonNucleusXsc(), G4ComponentGGHadronNucleusXsc::G4ComponentGGHadronNucleusXsc(), G4ComponentGGNuclNuclXsc::G4ComponentGGNuclNuclXsc(), G4CoulombScattering::G4CoulombScattering(), G4DiffuseElastic::G4DiffuseElastic(), G4eCoulombScatteringModel::G4eCoulombScatteringModel(), G4ElasticData::G4ElasticData(), G4FTFParameters::G4FTFParameters(), G4GeneralSpaceNNCrossSection::G4GeneralSpaceNNCrossSection(), G4GeneratorPrecompoundInterface::G4GeneratorPrecompoundInterface(), G4GGNuclNuclCrossSection::G4GGNuclNuclCrossSection(), G4GlauberGribovCrossSection::G4GlauberGribovCrossSection(), G4HadronElastic::G4HadronElastic(), G4HadronNucleonXsc::G4HadronNucleonXsc(), G4hCoulombScatteringModel::G4hCoulombScatteringModel(), G4IonCoulombCrossSection::G4IonCoulombCrossSection(), G4IonCoulombScatteringModel::G4IonCoulombScatteringModel(), G4LowEIonFragmentation::G4LowEIonFragmentation(), G4MuMinusCapturePrecompound::G4MuMinusCapturePrecompound(), G4NucleonNuclearCrossSection::G4NucleonNuclearCrossSection(), G4NuclNuclDiffuseElastic::G4NuclNuclDiffuseElastic(), G4PreCompoundModel::G4PreCompoundModel(), G4PreCompoundTransitions::G4PreCompoundTransitions(), G4ProtonInelasticCrossSection::G4ProtonInelasticCrossSection(), G4QMDGroundStateNucleus::G4QMDGroundStateNucleus(), G4QProtonBuilder::G4QProtonBuilder(), G4RegionModel::G4RegionModel(), G4RPGInelastic::G4RPGInelastic(), G4WentzelOKandVIxSection::G4WentzelOKandVIxSection(), G4WentzelVIRelXSection::G4WentzelVIRelXSection(), G4WilsonAblationModel::G4WilsonAblationModel(), G4ReactionDynamics::GenerateXandPt(), G4QMDNucleus::GetAtomicNumber(), G4empCrossSection::GetCrossSection(), G4AdjointCSManager::GetForwardParticleEquivalent(), G4QHadronElasticDataSet::GetIsoCrossSection(), G4QHadronInelasticDataSet::GetIsoCrossSection(), G4Fancy3DNucleus::GetMass(), G4QMDNucleus::GetMassNumber(), G4QCoherentChargeExchange::GetMeanFreePath(), G4QDiffraction::GetMeanFreePath(), G4QElastic::GetMeanFreePath(), G4QInelastic::GetMeanFreePath(), G4QLowEnergy::GetMeanFreePath(), G4QMDNucleus::GetNuclearMass(), G4QPDGToG4Particle::GetParticleDefinition(), G4RKPropagation::Init(), G4hIonisation::InitialiseEnergyLossProcess(), G4DNAIonisation::IsApplicable(), G4MuElecInelastic::IsApplicable(), G4QAtomicElectronScattering::IsApplicable(), G4QCoherentChargeExchange::IsApplicable(), G4QDiffraction::IsApplicable(), G4QElastic::IsApplicable(), G4QInelastic::IsApplicable(), G4QLowEnergy::IsApplicable(), G4GeneralNNCollision::IsInCharge(), G4QHadronElasticDataSet::IsIsoApplicable(), G4QHadronInelasticDataSet::IsIsoApplicable(), G4ChipsNeutronElasticXS::IsIsoApplicable(), G4ChipsProtonElasticXS::IsIsoApplicable(), G4ChipsProtonInelasticXS::IsIsoApplicable(), G4LightMedia::KaonZeroShortExchange(), G4LightMedia::LambdaExchange(), G4InelasticInteraction::MarkLeadingStrangeParticle(), G4RPGInelastic::MarkLeadingStrangeParticle(), G4LightMedia::NeutronExchange(), G4PiMinusStopAbsorption::NProtons(), G4RPGReaction::NuclearReaction(), G4ReactionDynamics::NuclearReaction(), G4LightMedia::OmegaMinusExchange(), G4QAtomicElectronScattering::PostStepDoIt(), G4QCoherentChargeExchange::PostStepDoIt(), G4QDiffraction::PostStepDoIt(), G4QElastic::PostStepDoIt(), G4QInelastic::PostStepDoIt(), G4QIonIonElastic::PostStepDoIt(), G4QLowEnergy::PostStepDoIt(), G4QNGamma::PostStepDoIt(), G4ReactionDynamics::ProduceStrangeParticlePairs(), G4QStringChipsParticleLevelInterface::Propagate(), G4StringChipsParticleLevelInterface::Propagate(), G4RPGFragmentation::ReactionStage(), G4RPGPionSuppression::ReactionStage(), G4RPGStrangeProduction::ReactionStage(), G4RPGTwoCluster::ReactionStage(), G4Nucleus::ReturnTargetParticle(), G4NeutronHPDiscreteTwoBody::Sample(), G4NeutronHPIsotropic::Sample(), G4NeutronHPLabAngularEnergy::Sample(), G4NeutronHPNBodyPhaseSpace::Sample(), G4NeutronHPContAngularPar::Sample(), G4DNADingfelderChargeDecreaseModel::SampleSecondaries(), G4VPartonStringModel::Scatter(), G4QuasiElRatios::Scatter(), G4LightMedia::SigmaMinusExchange(), G4LightMedia::SigmaPlusExchange(), G4ReactionDynamics::SuppressChargedPions(), G4RKPropagation::Transport(), G4ReactionDynamics::TwoCluster(), G4EmSaturation::VisibleEnergyDeposition(), G4LightMedia::XiMinusExchange(), and G4LightMedia::XiZeroExchange().

◆ ProtonDefinition()

G4Proton * G4Proton::ProtonDefinition ( )
static

Definition at line 88 of file G4Proton.cc.

89{
90 return Definition();
91}

Referenced by G4EMDissociation::ApplyYourself(), G4BinaryCascade::ApplyYourself(), G4LFission::Atomas(), G4ExcitationHandler::BreakItUp(), G4AblaEvaporation::BreakItUp(), G4BaryonConstructor::ConstructNucleons(), G4ErrorPhysicsList::ConstructParticle(), G4XMesonBaryonElastic::CrossSection(), G4XnpElasticLowE::CrossSection(), G4XnpTotalLowE::CrossSection(), G4DNABornExcitationModel::CrossSectionPerVolume(), G4DNABornIonisationModel::CrossSectionPerVolume(), G4DNADingfelderChargeDecreaseModel::CrossSectionPerVolume(), G4DNAMillerGreenExcitationModel::CrossSectionPerVolume(), G4DNARuddIonisationExtendedModel::CrossSectionPerVolume(), G4DNARuddIonisationModel::CrossSectionPerVolume(), G4QPDGToG4Particle::DefineAllParticles(), G4DNABornIonisationModel::DifferentialCrossSection(), G4MuElecInelasticModel::DifferentialCrossSection(), G4CollisionMesonBaryonToResonance::G4CollisionMesonBaryonToResonance(), G4CollisionNNElastic::G4CollisionNNElastic(), G4CollisionnpElastic::G4CollisionnpElastic(), G4ParticleTypeConverter::G4ParticleTypeConverter(), G4XNNElasticLowE::G4XNNElasticLowE(), G4XNNTotalLowE::G4XNNTotalLowE(), G4XPDGElastic::G4XPDGElastic(), G4XPDGTotal::G4XPDGTotal(), G4MesonAbsorption::GetFinalState(), G4DNADingfelderChargeDecreaseModel::Initialise(), G4DNAMillerGreenExcitationModel::Initialise(), G4DNARuddIonisationExtendedModel::Initialise(), G4DNARuddIonisationModel::Initialise(), G4MuElecInelasticModel::Initialise(), G4DNABornExcitationModel::Initialise(), G4DNABornIonisationModel::Initialise(), G4DNAChargeDecrease::IsApplicable(), G4DNAExcitation::IsApplicable(), G4CollisionNNElastic::IsInCharge(), G4CollisionnpElastic::IsInCharge(), G4VXResonance::IsospinCorrection(), G4Scintillation::PostStepDoIt(), G4hImpactIonisation::PostStepDoIt(), G4XNNElasticLowE::Print(), G4GeneratorPrecompoundInterface::Propagate(), G4DNARuddIonisationModel::SampleSecondaries(), G4MuElecInelasticModel::SampleSecondaries(), G4XNNElasticLowE::~G4XNNElasticLowE(), and G4XNNTotalLowE::~G4XNNTotalLowE().


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