#include <G4RToEConvForElectron.hh>
Definition at line 43 of file G4RToEConvForElectron.hh.
◆ G4RToEConvForElectron()
G4RToEConvForElectron::G4RToEConvForElectron |
( |
| ) |
|
Definition at line 42 of file G4RToEConvForElectron.cc.
44{
47 {
48#ifdef G4VERBOSE
50 {
51 G4cout <<
"G4RToEConvForElectron::G4RToEConvForElectron() - ";
53 }
54#endif
55 }
56 else
57 {
59 }
60}
G4GLOB_DLL std::ostream G4cout
G4double GetPDGMass() const
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
static G4ParticleTable * GetParticleTable()
G4int GetVerboseLevel() const
G4VRangeToEnergyConverter()
const G4ParticleDefinition * theParticle
◆ ~G4RToEConvForElectron()
G4RToEConvForElectron::~G4RToEConvForElectron |
( |
| ) |
|
|
virtual |
◆ ComputeLoss()
Implements G4VRangeToEnergyConverter.
Definition at line 70 of file G4RToEConvForElectron.cc.
72{
73 const G4double cbr1=0.02, cbr2=-5.7e-5, cbr3=1., cbr4=0.072;
74 const G4double Tlow=10.*keV, Thigh=1.*GeV;
75
76
77 if( std::fabs(AtomicNumber-
Z)>0.1 )
78 {
83 }
84
87
89 {
94 G4double f = 1.-beta2+std::log(tsq/2.)
95 +(0.5+0.25*tsq+(1.+2.*
taul)*std::log(0.5))/(t1*t1);
97 dEdx = twopi_mc2_rcl2*
Z*dEdx;
99 dEdx = clow/std::sqrt(KineticEnergy/
Mass);
100 }
101 else
102 {
107 G4double f = 1.-beta2+std::log(tsq/2.)
108 +(0.5+0.25*tsq+(1.+2.*tau)*std::log(0.5))/(t1*t1);
109 dEdx = (std::log(2.*tau+4.)-2.*
ionpotlog+f)/beta2;
110 dEdx = twopi_mc2_rcl2*
Z*dEdx;
111
112
114 *(cbr3+cbr4*std::log(KineticEnergy/Thigh));
115 cbrem =
Z*(
Z+1.)*cbrem*tau/beta2;
116
118
119 dEdx += twopi_mc2_rcl2*cbrem;
120 }
121
122 return dEdx;
123}
◆ bremfactor
G4double G4RToEConvForElectron::bremfactor = 0.1 |
|
protected |
◆ ionpot
G4double G4RToEConvForElectron::ionpot = 0.0 |
|
protected |
◆ ionpotlog
G4double G4RToEConvForElectron::ionpotlog = -1.0e-10 |
|
protected |
◆ Mass
G4double G4RToEConvForElectron::Mass = 0.0 |
|
protected |
◆ taul
G4double G4RToEConvForElectron::taul = 0.0 |
|
protected |
G4double G4RToEConvForElectron::Z = -1.0 |
|
protected |
The documentation for this class was generated from the following files: