Geant4 10.7.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 ()
 
- 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 G4Proton.hh.

Member Function Documentation

◆ Definition()

G4Proton * G4Proton::Definition ( )
static

Definition at line 48 of file G4Proton.cc.

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

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

◆ Proton()

G4Proton * G4Proton::Proton ( )
static

Definition at line 92 of file G4Proton.cc.

93{
94 return Definition();
95}
static G4Proton * Definition()
Definition: G4Proton.cc:48

Referenced by G4RPGReaction::AddBlackTrackParticles(), G4ParticleHPFinalState::adjust_final_state(), G4hImpactIonisation::AlongStepDoIt(), G4LightMedia::AntiLambdaExchange(), G4LightMedia::AntiOmegaMinusExchange(), G4LightMedia::AntiProtonExchange(), G4LightMedia::AntiSigmaMinusExchange(), G4LightMedia::AntiSigmaPlusExchange(), G4LightMedia::AntiXiMinusExchange(), G4LightMedia::AntiXiZeroExchange(), G4LENDCapture::ApplyYourself(), G4LENDInelastic::ApplyYourself(), G4ElectroVDNuclearModel::ApplyYourself(), G4LEHadronProtonElastic::ApplyYourself(), G4LEnp::ApplyYourself(), G4LEpp::ApplyYourself(), G4LMsdGenerator::ApplyYourself(), G4TheoFSGenerator::ApplyYourself(), G4ParticleHP2NPInelasticFS::ApplyYourself(), G4ParticleHP2PInelasticFS::ApplyYourself(), G4ParticleHP3NPInelasticFS::ApplyYourself(), G4ParticleHPN2PInelasticFS::ApplyYourself(), G4ParticleHPNPAInelasticFS::ApplyYourself(), G4ParticleHPNPInelasticFS::ApplyYourself(), G4ParticleHPPAInelasticFS::ApplyYourself(), G4ParticleHPPDInelasticFS::ApplyYourself(), G4ParticleHPPInelasticFS::ApplyYourself(), G4ParticleHPPTInelasticFS::ApplyYourself(), G4ParticleHPInelasticBaseFS::BaseApply(), G4WilsonAblationModel::BreakItUp(), G4ProtonBuilder::Build(), G4FTFBinaryProtonBuilder::Build(), G4FTFPProtonBuilder::Build(), G4INCLXXProtonBuilder::Build(), G4ProtonPHPBuilder::Build(), G4QGSBinaryProtonBuilder::Build(), G4QGSPLundStrFragmProtonBuilder::Build(), G4QGSPProtonBuilder::Build(), G4IonProtonCrossSection::BuildPhysicsTable(), 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(), G4NeutrinoNucleusModel::CoherentPion(), G4LightTargetCollider::collide(), G4hImpactIonisation::ComputeDEDX(), G4EmBuilder::ConstructCharged(), LBE::ConstructHad(), G4EmBuilder::ConstructMinimalEmSet(), G4EmDNAPhysics::ConstructParticle(), G4EmDNAPhysics_option1::ConstructParticle(), G4EmDNAPhysics_option2::ConstructParticle(), G4EmDNAPhysics_option3::ConstructParticle(), G4EmDNAPhysics_option4::ConstructParticle(), G4EmDNAPhysics_option5::ConstructParticle(), G4EmDNAPhysics_option6::ConstructParticle(), G4EmDNAPhysics_option7::ConstructParticle(), G4EmDNAPhysics_option8::ConstructParticle(), G4EmDNAPhysics_stationary::ConstructParticle(), G4EmDNAPhysics_stationary_option2::ConstructParticle(), G4EmDNAPhysics_stationary_option4::ConstructParticle(), G4EmDNAPhysics_stationary_option6::ConstructParticle(), G4EmLEPTSPhysics::ConstructParticle(), G4EmDNAPhysicsActivator::ConstructParticle(), G4EmDNAPhysicsActivator::ConstructProcess(), G4HadronElasticPhysics::ConstructProcess(), G4HadronInelasticQBBC::ConstructProcess(), G4HadronPhysicsFTFQGSP_BERT::ConstructProcess(), G4empCrossSection::CrossSection(), G4HadronicProcessStore::DumpHtml(), G4GDMLWriteStructure::ExportEnergyCuts(), G4VElasticCollision::FinalState(), G4VCrossSectionSource::FindKeyParticle(), G4Absorber::FindProducts(), G4AdjointhIonisationModel::G4AdjointhIonisationModel(), G4AntiNuclElastic::G4AntiNuclElastic(), G4BaryonSplitter::G4BaryonSplitter(), G4BGGNucleonElasticXS::G4BGGNucleonElasticXS(), G4BGGNucleonInelasticXS::G4BGGNucleonInelasticXS(), G4BGGPionElasticXS::G4BGGPionElasticXS(), G4BGGPionInelasticXS::G4BGGPionInelasticXS(), G4ChargeExchange::G4ChargeExchange(), G4ChargeExchangeProcess::G4ChargeExchangeProcess(), G4ChipsKaonPlusInelasticXS::G4ChipsKaonPlusInelasticXS(), G4ChipsNeutronElasticXS::G4ChipsNeutronElasticXS(), G4ChipsProtonElasticXS::G4ChipsProtonElasticXS(), G4ComponentBarNucleonNucleusXsc::G4ComponentBarNucleonNucleusXsc(), G4ComponentGGHadronNucleusXsc::G4ComponentGGHadronNucleusXsc(), G4ComponentGGNuclNuclXsc::G4ComponentGGNuclNuclXsc(), G4CoulombScattering::G4CoulombScattering(), G4DiffuseElastic::G4DiffuseElastic(), G4DiffuseElasticV2::G4DiffuseElasticV2(), G4eCoulombScatteringModel::G4eCoulombScatteringModel(), G4ElasticData::G4ElasticData(), G4GeneralSpaceNNCrossSection::G4GeneralSpaceNNCrossSection(), G4GeneratorPrecompoundInterface::G4GeneratorPrecompoundInterface(), G4HadronElastic::G4HadronElastic(), G4HadronNucleonXsc::G4HadronNucleonXsc(), G4hCoulombScatteringModel::G4hCoulombScatteringModel(), G4hhElastic::G4hhElastic(), G4IonCoulombCrossSection::G4IonCoulombCrossSection(), G4IonCoulombScatteringModel::G4IonCoulombScatteringModel(), G4IonProtonCrossSection::G4IonProtonCrossSection(), G4LightTargetCollider::G4LightTargetCollider(), G4LowEIonFragmentation::G4LowEIonFragmentation(), G4MuMinusCapturePrecompound::G4MuMinusCapturePrecompound(), G4NucleonNuclearCrossSection::G4NucleonNuclearCrossSection(), G4NuclNuclDiffuseElastic::G4NuclNuclDiffuseElastic(), G4ParticleHPData::G4ParticleHPData(), G4ParticleHPInelastic::G4ParticleHPInelastic(), G4ParticleHPInelasticData::G4ParticleHPInelasticData(), G4PreCompoundModel::G4PreCompoundModel(), G4PreCompoundTransitions::G4PreCompoundTransitions(), G4ProtonInelasticCrossSection::G4ProtonInelasticCrossSection(), G4QMDGroundStateNucleus::G4QMDGroundStateNucleus(), G4RPGInelastic::G4RPGInelastic(), G4TablesForExtrapolator::G4TablesForExtrapolator(), G4WentzelOKandVIxSection::G4WentzelOKandVIxSection(), G4WilsonAblationModel::G4WilsonAblationModel(), G4CRCoalescence::GenerateDeuterons(), G4QMDNucleus::GetAtomicNumber(), G4empCrossSection::GetCrossSection(), G4AdjointCSManager::GetForwardParticleEquivalent(), G4Fancy3DNucleus::GetMass(), G4QMDNucleus::GetMassNumber(), G4QMDNucleus::GetNuclearMass(), 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(), G4ParticleHPIsoData::Init(), G4RKPropagation::Init(), G4FTFParameters::InitForInteraction(), G4hhElastic::Initialise(), G4hIonisation::InitialiseEnergyLossProcess(), G4DiffuseElastic::IsApplicable(), G4DiffuseElasticV2::IsApplicable(), G4hhElastic::IsApplicable(), G4LMsdGenerator::IsApplicable(), G4DNAElastic::IsApplicable(), G4DNAIonisation::IsApplicable(), G4MicroElecInelastic::IsApplicable(), G4MicroElecInelastic_new::IsApplicable(), G4GeneralNNCollision::IsInCharge(), G4LightMedia::KaonZeroShortExchange(), G4LightMedia::LambdaExchange(), G4RPGInelastic::MarkLeadingStrangeParticle(), G4LightMedia::NeutronExchange(), G4RPGReaction::NuclearReaction(), G4LightMedia::OmegaMinusExchange(), G4BinaryCascade::Propagate(), G4HadronPhysicsFTFP_BERT::Proton(), G4HadronPhysicsQGS_BIC::Proton(), G4HadronPhysicsQGSP_BERT::Proton(), G4HadronPhysicsQGSP_BIC::Proton(), G4HadronPhysicsFTF_BIC::Proton(), G4HadronPhysicsINCLXX::Proton(), G4HadronPhysicsNuBeam::Proton(), G4HadronPhysicsQGSP_BIC_AllHP::Proton(), 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(), G4DNADingfelderChargeDecreaseModel::SampleSecondaries(), G4VPartonStringModel::Scatter(), G4QuasiElRatios::Scatter(), G4LightMedia::SigmaMinusExchange(), G4LightMedia::SigmaPlusExchange(), G4RKPropagation::Transport(), G4LightMedia::XiMinusExchange(), and G4LightMedia::XiZeroExchange().

◆ ProtonDefinition()

G4Proton * G4Proton::ProtonDefinition ( )
static

Definition at line 87 of file G4Proton.cc.

88{
89 return Definition();
90}

Referenced by G4EMDissociation::ApplyYourself(), G4BinaryCascade::ApplyYourself(), G4INCLXXInterface::ApplyYourself(), G4LFission::Atomas(), G4BaryonConstructor::ConstructNucleons(), G4ErrorPhysicsList::ConstructParticle(), G4XMesonBaryonElastic::CrossSection(), G4XnpElasticLowE::CrossSection(), G4XnpTotalLowE::CrossSection(), G4DNABornIonisationModel1::CrossSectionPerVolume(), G4DNABornIonisationModel2::CrossSectionPerVolume(), G4DNADingfelderChargeDecreaseModel::CrossSectionPerVolume(), G4DNAMillerGreenExcitationModel::CrossSectionPerVolume(), G4DNARuddIonisationExtendedModel::CrossSectionPerVolume(), G4DNARuddIonisationModel::CrossSectionPerVolume(), G4MicroElecInelasticModel_new::DifferentialCrossSection(), G4DNABornIonisationModel1::DifferentialCrossSection(), G4MicroElecInelasticModel::DifferentialCrossSection(), G4LossTableManager::DumpHtml(), G4CollisionMesonBaryonToResonance::G4CollisionMesonBaryonToResonance(), G4CollisionNNElastic::G4CollisionNNElastic(), G4CollisionnpElastic::G4CollisionnpElastic(), G4ExcitationHandler::G4ExcitationHandler(), G4ParticleTypeConverter::G4ParticleTypeConverter(), G4XNNElasticLowE::G4XNNElasticLowE(), G4XNNTotalLowE::G4XNNTotalLowE(), G4XPDGElastic::G4XPDGElastic(), G4XPDGTotal::G4XPDGTotal(), G4MesonAbsorption::GetFinalState(), G4Scintillation::GetScintillationYieldByParticleType(), G4DNADingfelderChargeDecreaseModel::Initialise(), G4DNAMillerGreenExcitationModel::Initialise(), G4DNARuddIonisationExtendedModel::Initialise(), G4DNARuddIonisationModel::Initialise(), G4MicroElecInelasticModel::Initialise(), G4MicroElecInelasticModel_new::Initialise(), G4DNABornIonisationModel1::Initialise(), G4DNAPTBIonisationModel::Initialise(), G4DNAChargeDecrease::IsApplicable(), G4DNAExcitation::IsApplicable(), G4CollisionNNElastic::IsInCharge(), G4CollisionnpElastic::IsInCharge(), G4VXResonance::IsospinCorrection(), G4hImpactIonisation::PostStepDoIt(), G4XNNElasticLowE::Print(), G4DNARuddIonisationModel::SampleSecondaries(), G4MicroElecInelasticModel::SampleSecondaries(), G4MicroElecInelasticModel_new::SampleSecondaries(), G4DNABornIonisationModel1::TransferedEnergy(), G4MicroElecInelasticModel::TransferedEnergy(), G4XNNElasticLowE::~G4XNNElasticLowE(), and G4XNNTotalLowE::~G4XNNTotalLowE().


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