G4Proton Class Reference

#include <G4Proton.hh>

Inheritance diagram for G4Proton:

G4Ions G4ParticleDefinition

Static Public Member Functions

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

Detailed Description

Definition at line 51 of file G4Proton.hh.


Member Function Documentation

G4Proton * G4Proton::Definition (  )  [static]

Definition at line 49 of file G4Proton.cc.

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

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

00050 {
00051   if (theInstance !=0) return theInstance;
00052   const G4String name = "proton";
00053   // search in particle table]
00054   G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
00055   G4Ions* anInstance =  reinterpret_cast<G4Ions*>(pTable->FindParticle(name));
00056   if (anInstance ==0)
00057   {
00058   // create particle
00059   //
00060   //    Arguments for constructor are as follows
00061   //               name             mass          width         charge
00062   //             2*spin           parity  C-conjugation
00063   //          2*Isospin       2*Isospin3       G-parity
00064   //               type    lepton number  baryon number   PDG encoding
00065   //             stable         lifetime    decay table
00066   //             shortlived      subType    anti_encoding
00067   // use constants in CLHEP
00068   //  static const double   proton_mass_c2 = 938.27231 * MeV;
00069 
00070    anInstance = new G4Ions(
00071                  name,  proton_mass_c2,       0.0*MeV,       eplus, 
00072                     1,              +1,             0,          
00073                     1,              +1,             0,             
00074              "baryon",               0,            +1,        2212,
00075                  true,            -1.0,          NULL,
00076                 false,       "nucleon",             0,
00077                   0.0 
00078              );
00079 
00080     // Magnetic Moment
00081     G4double mN = eplus*hbar_Planck/2./(proton_mass_c2 /c_squared);
00082     anInstance->SetPDGMagneticMoment( 2.792847351 * mN);
00083   }
00084   theInstance = reinterpret_cast<G4Proton*>(anInstance);
00085   return theInstance;
00086 }

G4Proton * G4Proton::Proton (  )  [static]

Definition at line 93 of file G4Proton.cc.

References Definition().

Referenced by G4RPGReaction::AddBlackTrackParticles(), G4hImpactIonisation::AlongStepDoIt(), G4LightMedia::AntiLambdaExchange(), G4LightMedia::AntiOmegaMinusExchange(), G4LightMedia::AntiProtonExchange(), G4LightMedia::AntiSigmaMinusExchange(), G4LightMedia::AntiSigmaPlusExchange(), G4LightMedia::AntiXiMinusExchange(), G4LightMedia::AntiXiZeroExchange(), G4TheoFSGenerator::ApplyYourself(), G4NeutronHPPTInelasticFS::ApplyYourself(), G4NeutronHPPInelasticFS::ApplyYourself(), G4NeutronHPPDInelasticFS::ApplyYourself(), G4NeutronHPPAInelasticFS::ApplyYourself(), G4NeutronHPNPInelasticFS::ApplyYourself(), G4NeutronHPNPAInelasticFS::ApplyYourself(), G4NeutronHPN2PInelasticFS::ApplyYourself(), G4NeutronHPElasticFS::ApplyYourself(), G4NeutronHP3NPInelasticFS::ApplyYourself(), G4NeutronHP2PInelasticFS::ApplyYourself(), G4NeutronHP2NPInelasticFS::ApplyYourself(), G4LEpp::ApplyYourself(), G4LEnp::ApplyYourself(), G4LENDInelastic::ApplyYourself(), G4LENDCapture::ApplyYourself(), G4LElastic::ApplyYourself(), G4ElectroVDNuclearModel::ApplyYourself(), G4ElectroNuclearReaction::ApplyYourself(), G4QCaptureAtRest::AtRestDoIt(), G4NeutronHPInelasticBaseFS::BaseApply(), G4WilsonAblationModel::BreakItUp(), G4QProtonBuilder::Build(), G4QGSPProtonBuilder::Build(), G4QGSBinaryProtonBuilder::Build(), G4ProtonBuilder::Build(), G4INCLXXProtonBuilder::Build(), G4FTFPProtonBuilder::Build(), G4FTFBinaryProtonBuilder::Build(), G4hImpactIonisation::BuildPhysicsTable(), G4ecpssrFormFactorKxsModel::CalculateCrossSection(), G4ecpssrBaseKxsModel::CalculateCrossSection(), G4PaulKxsModel::CalculateKCrossSection(), G4ecpssrFormFactorLixsModel::CalculateL1CrossSection(), G4ecpssrBaseLixsModel::CalculateL1CrossSection(), G4OrlicLiXsModel::CalculateL2CrossSection(), G4ecpssrFormFactorLixsModel::CalculateL2CrossSection(), G4ecpssrBaseLixsModel::CalculateL2CrossSection(), G4OrlicLiXsModel::CalculateL3CrossSection(), G4ecpssrFormFactorLixsModel::CalculateL3CrossSection(), G4ecpssrBaseLixsModel::CalculateL3CrossSection(), G4ecpssrBaseLixsModel::CalculateVelocity(), G4QuasiElRatios::ChExer(), G4hImpactIonisation::ComputeDEDX(), G4QAtomicPhysics::ConstructParticle(), G4EmStandardPhysics_option4::ConstructParticle(), G4EmStandardPhysics_option3::ConstructParticle(), G4EmStandardPhysics_option2::ConstructParticle(), G4EmStandardPhysics_option1::ConstructParticle(), G4EmStandardPhysics::ConstructParticle(), G4EmPenelopePhysics::ConstructParticle(), G4EmLowEPPhysics::ConstructParticle(), G4EmLivermorePolarizedPhysics::ConstructParticle(), G4EmLivermorePhysics::ConstructParticle(), G4EmDNAPhysicsChemistry::ConstructParticle(), G4EmDNAPhysics::ConstructParticle(), HadronPhysicsQGSP_FTFP_BERT_95::ConstructProcess(), HadronPhysicsQGSP_BERT_CHIPS::ConstructProcess(), HadronPhysicsQGSP_BERT_95::ConstructProcess(), G4HadronElasticPhysicsXS::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(), G4QHadronInelasticDataSet::GetIsoCrossSection(), G4QHadronElasticDataSet::GetIsoCrossSection(), G4Fancy3DNucleus::GetMass(), G4QMDNucleus::GetMassNumber(), G4QLowEnergy::GetMeanFreePath(), G4QInelastic::GetMeanFreePath(), G4QElastic::GetMeanFreePath(), G4QDiffraction::GetMeanFreePath(), G4QCoherentChargeExchange::GetMeanFreePath(), G4QMDNucleus::GetNuclearMass(), G4QPDGToG4Particle::GetParticleDefinition(), G4RKPropagation::Init(), G4QGSModel< ParticipantType >::Init(), G4hIonisation::InitialiseEnergyLossProcess(), G4QLowEnergy::IsApplicable(), G4QInelastic::IsApplicable(), G4QElastic::IsApplicable(), G4QDiffraction::IsApplicable(), G4QCoherentChargeExchange::IsApplicable(), G4QAtomicElectronScattering::IsApplicable(), G4MuElecInelastic::IsApplicable(), G4DNAIonisation::IsApplicable(), G4GeneralNNCollision::IsInCharge(), G4QHadronInelasticDataSet::IsIsoApplicable(), G4QHadronElasticDataSet::IsIsoApplicable(), G4ChipsProtonInelasticXS::IsIsoApplicable(), G4ChipsProtonElasticXS::IsIsoApplicable(), G4ChipsNeutronElasticXS::IsIsoApplicable(), G4LightMedia::KaonZeroShortExchange(), G4LightMedia::LambdaExchange(), G4RPGInelastic::MarkLeadingStrangeParticle(), G4InelasticInteraction::MarkLeadingStrangeParticle(), G4LightMedia::NeutronExchange(), G4PiMinusStopAbsorption::NProtons(), G4RPGReaction::NuclearReaction(), G4ReactionDynamics::NuclearReaction(), G4LightMedia::OmegaMinusExchange(), G4QNGamma::PostStepDoIt(), G4QLowEnergy::PostStepDoIt(), G4QIonIonElastic::PostStepDoIt(), G4QInelastic::PostStepDoIt(), G4QElastic::PostStepDoIt(), G4QDiffraction::PostStepDoIt(), G4QCoherentChargeExchange::PostStepDoIt(), G4QAtomicElectronScattering::PostStepDoIt(), G4ReactionDynamics::ProduceStrangeParticlePairs(), G4StringChipsParticleLevelInterface::Propagate(), G4QStringChipsParticleLevelInterface::Propagate(), G4RPGTwoCluster::ReactionStage(), G4RPGStrangeProduction::ReactionStage(), G4RPGPionSuppression::ReactionStage(), G4RPGFragmentation::ReactionStage(), G4Nucleus::ReturnTargetParticle(), G4NeutronHPNBodyPhaseSpace::Sample(), G4NeutronHPLabAngularEnergy::Sample(), G4NeutronHPIsotropic::Sample(), G4NeutronHPDiscreteTwoBody::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().

00094 {
00095   return Definition();
00096 }

G4Proton * G4Proton::ProtonDefinition (  )  [static]

Definition at line 88 of file G4Proton.cc.

References Definition().

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

00089 {
00090   return Definition();
00091 }


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