#include <G4NeutrinoE.hh>
Inheritance diagram for G4NeutrinoE:
Static Public Member Functions | |
static G4NeutrinoE * | Definition () |
static G4NeutrinoE * | NeutrinoEDefinition () |
static G4NeutrinoE * | NeutrinoE () |
Definition at line 50 of file G4NeutrinoE.hh.
G4NeutrinoE * G4NeutrinoE::Definition | ( | ) | [static] |
Definition at line 49 of file G4NeutrinoE.cc.
References G4ParticleTable::FindParticle(), G4ParticleDefinition::G4ParticleDefinition(), and G4ParticleTable::GetParticleTable().
Referenced by NeutrinoE(), and NeutrinoEDefinition().
00050 { 00051 if (theInstance !=0) return theInstance; 00052 const G4String name = "nu_e"; 00053 // search in particle table] 00054 G4ParticleTable* pTable = G4ParticleTable::GetParticleTable(); 00055 G4ParticleDefinition* anInstance = 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 anInstance = new G4ParticleDefinition( 00068 name, 0.0*MeV, 0.0*MeV, 0.0, 00069 1, 0, 0, 00070 0, 0, 0, 00071 "lepton", 1, 0, 12, 00072 true, 0.0, NULL, 00073 false, "e" 00074 ); 00075 } 00076 theInstance = reinterpret_cast<G4NeutrinoE*>(anInstance); 00077 return theInstance; 00078 }
G4NeutrinoE * G4NeutrinoE::NeutrinoE | ( | ) | [static] |
Definition at line 85 of file G4NeutrinoE.cc.
References Definition().
Referenced by G4QNeutrinoPhysics::ConstructParticle(), G4QInelastic::GetMeanFreePath(), G4QPDGToG4Particle::GetParticleDefinition(), G4QInelastic::IsApplicable(), and G4QInelastic::PostStepDoIt().
00086 { 00087 return Definition(); 00088 }
G4NeutrinoE * G4NeutrinoE::NeutrinoEDefinition | ( | ) | [static] |
Definition at line 80 of file G4NeutrinoE.cc.
References Definition().
Referenced by G4LeptonConstructor::ConstructELeptons(), and G4QPDGToG4Particle::DefineAllParticles().
00081 { 00082 return Definition(); 00083 }