Static Public Member Functions | Private Member Functions | Static Private Attributes | List of all members
G4ThermalElectron Class Reference

#include <G4ThermalElectron.hh>

Inheritance diagram for G4ThermalElectron:

Static Public Member Functions

static G4ThermalElectronDefinition ()
 
static G4ThermalElectronThermalElectronDefinition ()
 
static G4ThermalElectronThermalElectron ()
 
static G4ThermalElectronDefinition ()
 
static G4ThermalElectronThermalElectronDefinition ()
 
static G4ThermalElectronThermalElectron ()
 
static G4ThermalElectronDefinition ()
 
static G4ThermalElectronThermalElectronDefinition ()
 
static G4ThermalElectronThermalElectron ()
 

Private Member Functions

 G4ThermalElectron ()
 
 ~G4ThermalElectron ()
 
 G4ThermalElectron ()
 
 ~G4ThermalElectron ()
 
 G4ThermalElectron ()
 
 ~G4ThermalElectron ()
 

Static Private Attributes

static G4ThermalElectrontheInstance = 0
 

Detailed Description

Definition at line 51 of file G4ThermalElectron.hh.

Constructor & Destructor Documentation

G4ThermalElectron::G4ThermalElectron ( )
inlineprivate

Definition at line 55 of file G4ThermalElectron.hh.

55 {}
G4ThermalElectron::~G4ThermalElectron ( )
inlineprivate

Definition at line 56 of file G4ThermalElectron.hh.

56 {}
G4ThermalElectron::G4ThermalElectron ( )
inlineprivate

Definition at line 55 of file G4ThermalElectron.hh.

55 {}
G4ThermalElectron::~G4ThermalElectron ( )
inlineprivate

Definition at line 56 of file G4ThermalElectron.hh.

56 {}
G4ThermalElectron::G4ThermalElectron ( )
inlineprivate

Definition at line 52 of file G4ThermalElectron.hh.

52 {}
G4ThermalElectron::~G4ThermalElectron ( )
inlineprivate

Definition at line 53 of file G4ThermalElectron.hh.

53 {}

Member Function Documentation

static G4ThermalElectron* G4ThermalElectron::Definition ( )
static
static G4ThermalElectron* G4ThermalElectron::Definition ( )
static
G4ThermalElectron * G4ThermalElectron::Definition ( )
static

Definition at line 50 of file G4ThermalElectron.cc.

51 {
52  if (theInstance !=0) return theInstance;
53  const G4String name = "thermalelectron";
54  // search in particle table]
55  G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
56  G4ParticleDefinition* anInstance = pTable->FindParticle(name);
57  if (anInstance ==0)
58  {
59  // create particle
60  //
61  // Arguments for constructor are as follows
62  // name mass width charge
63  // 2*spin parity C-conjugation
64  // 2*Isospin 2*Isospin3 G-parity
65  // type lepton number baryon number PDG encoding
66  // stable lifetime decay table
67  // shortlived subType anti_encoding
68 
69  // use constants in CLHEP
70  // static const double electron_mass_c2 = 0.51099906 * MeV;
71 
72  anInstance = new G4ParticleDefinition(
73  name, CLHEP::electron_mass_c2, 0.0*CLHEP::MeV, -1.*CLHEP::eplus,
74  1, 0, 0,
75  0, 0, 0,
76  "lepton", 1, 0, 11,
77  true, -1.0, NULL,
78  false, "e"
79  );
80  // Bohr Magnetron
81  G4double muB = -0.5*CLHEP::eplus*CLHEP::hbar_Planck/(CLHEP::electron_mass_c2/CLHEP::c_squared) ;
82 
83  anInstance->SetPDGMagneticMoment( muB * 2.* 1.0011596521859 );
84 
85  }
86  theInstance = reinterpret_cast<G4ThermalElectron*>(anInstance);
87  return theInstance;
88 }
static QCString name
Definition: declinfo.cpp:673
static G4ThermalElectron * theInstance
static constexpr double MeV
Definition: Units.h:129
static G4ThermalElectron* G4ThermalElectron::ThermalElectron ( )
static
G4ThermalElectron * G4ThermalElectron::ThermalElectron ( )
static

Definition at line 95 of file G4ThermalElectron.cc.

96 {
97  return Definition();
98 }
static G4ThermalElectron * Definition()
static G4ThermalElectron* G4ThermalElectron::ThermalElectron ( )
static
static G4ThermalElectron* G4ThermalElectron::ThermalElectronDefinition ( )
static
static G4ThermalElectron* G4ThermalElectron::ThermalElectronDefinition ( )
static
G4ThermalElectron * G4ThermalElectron::ThermalElectronDefinition ( )
static

Definition at line 90 of file G4ThermalElectron.cc.

91 {
92  return Definition();
93 }
static G4ThermalElectron * Definition()

Member Data Documentation

static G4ThermalElectron * G4ThermalElectron::theInstance = 0
staticprivate

Definition at line 54 of file G4ThermalElectron.hh.


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