G4MuonPlus Class Reference

#include <G4MuonPlus.hh>

Inheritance diagram for G4MuonPlus:

G4ParticleDefinition

Static Public Member Functions

static G4MuonPlusDefinition ()
static G4MuonPlusMuonPlusDefinition ()
static G4MuonPlusMuonPlus ()

Detailed Description

Definition at line 50 of file G4MuonPlus.hh.


Member Function Documentation

G4MuonPlus * G4MuonPlus::Definition (  )  [static]

Definition at line 52 of file G4MuonPlus.cc.

References G4ParticleTable::FindParticle(), G4ParticleDefinition::G4ParticleDefinition(), G4ParticleTable::GetParticleTable(), G4DecayTable::Insert(), ns, G4ParticleDefinition::SetDecayTable(), and G4ParticleDefinition::SetPDGMagneticMoment().

Referenced by MuonPlus(), and MuonPlusDefinition().

00053 {
00054   if (theInstance !=0) return theInstance;
00055   const G4String name = "mu+";
00056   // search in particle table]
00057   G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
00058   G4ParticleDefinition* anInstance = pTable->FindParticle(name);
00059   if (anInstance ==0)
00060   {
00061   // create particle
00062   //
00063   //    Arguments for constructor are as follows
00064   //               name             mass          width         charge
00065   //             2*spin           parity  C-conjugation
00066   //          2*Isospin       2*Isospin3       G-parity
00067   //               type    lepton number  baryon number   PDG encoding
00068   //             stable         lifetime    decay table
00069   //             shortlived      subType    anti_encoding
00070   anInstance = new G4ParticleDefinition(
00071                  name, 0.105658367*GeV, 2.995912e-16*MeV,  +1.*eplus, 
00072                     1,               0,                0,          
00073                     0,               0,                0,             
00074              "lepton",              -1,                0,        -13,
00075                 false,      2197.03*ns,             NULL,
00076              false,           "mu"
00077               );
00078    // Bohr Magnetron
00079    G4double muB =  0.5*eplus*hbar_Planck/(0.1056584*GeV/c_squared) ;
00080    
00081    anInstance->SetPDGMagneticMoment( muB * 2.* 1.0011659208);
00082 
00083   //create Decay Table 
00084   G4DecayTable* table = new G4DecayTable();
00085   // create a decay channel
00086   G4VDecayChannel* mode = new G4MuonDecayChannel("mu+",1.00);
00087   table->Insert(mode);
00088   anInstance->SetDecayTable(table);
00089   }
00090   theInstance = reinterpret_cast<G4MuonPlus*>(anInstance);
00091   return theInstance;
00092 }

G4MuonPlus * G4MuonPlus::MuonPlus (  )  [static]

Definition at line 99 of file G4MuonPlus.cc.

References Definition().

Referenced by G4GammaConversionToMuons::ComputeCrossSectionPerAtom(), G4AnnihiToMuPair::ComputeCrossSectionPerAtom(), G4QPhotoNuclearPhysics::ConstructParticle(), G4QAtomicPhysics::ConstructParticle(), G4EmStandardPhysics_option4::ConstructParticle(), G4EmStandardPhysics_option3::ConstructParticle(), G4EmStandardPhysics_option2::ConstructParticle(), G4EmStandardPhysics_option1::ConstructParticle(), G4EmStandardPhysics::ConstructParticle(), G4EmQExtraPhysics::ConstructParticle(), G4EmPenelopePhysics::ConstructParticle(), G4EmLowEPPhysics::ConstructParticle(), G4EmLivermorePolarizedPhysics::ConstructParticle(), G4EmLivermorePhysics::ConstructParticle(), G4EmExtraPhysics::ConstructParticle(), G4QEmExtraPhysics::ConstructProcess(), G4AnnihiToMuPair::G4AnnihiToMuPair(), G4QInelastic::GetMeanFreePath(), G4QPDGToG4Particle::GetParticleDefinition(), G4QInelastic::IsApplicable(), G4QElastic::IsApplicable(), G4QAtomicElectronScattering::IsApplicable(), G4MuonNuclearProcess::IsApplicable(), G4QInelastic::PostStepDoIt(), G4QDiffraction::PostStepDoIt(), G4QAtomicElectronScattering::PostStepDoIt(), G4GammaConversionToMuons::PostStepDoIt(), and G4AnnihiToMuPair::PostStepDoIt().

00100 {
00101   return Definition();
00102 }

G4MuonPlus * G4MuonPlus::MuonPlusDefinition (  )  [static]

Definition at line 94 of file G4MuonPlus.cc.

References Definition().

Referenced by G4LeptonConstructor::ConstructMuLeptons(), G4ErrorPhysicsList::ConstructParticle(), and G4QPDGToG4Particle::DefineAllParticles().

00095 {
00096   return Definition();
00097 }


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