#include <G4RDGenerator2BS.hh>
Definition at line 59 of file G4RDGenerator2BS.hh.
◆ G4RDGenerator2BS() [1/2]
G4RDGenerator2BS::G4RDGenerator2BS |
( |
const G4String & |
name | ) |
|
◆ ~G4RDGenerator2BS()
G4RDGenerator2BS::~G4RDGenerator2BS |
( |
| ) |
|
◆ G4RDGenerator2BS() [2/2]
◆ operator=()
◆ PolarAngle()
Implements G4RDVBremAngularDistribution.
Definition at line 70 of file G4RDGenerator2BS.cc.
88 G4double gMaxEnergy = (
pi*initialTotalEnergy)*(
pi*initialTotalEnergy);
90 G4double Zeff = std::sqrt(static_cast<G4double>(
Z) * (static_cast<G4double>(
Z) + 1.0));
91 z = (0.00008116224*(std::pow(Zeff,0.3333333)));
97 ((1-EnergyRatio)/(2.0*initialTotalEnergy*
EnergyRatio));
107 gMaximum =
std::max(gMaximum,gfunctionEmax);
109 G4double rand, gfunctionTest, randTest;
113 rand = rand/(1-rand+1.0/gMaxEnergy);
117 }
while(randTest > (gfunctionTest/gMaximum));
119 theta = std::sqrt(rand)/initialTotalEnergy;
G4double rejection_argument1
G4double rejection_argument3
G4double rejection_argument2
G4double RejectionFunction(G4double value) const
◆ PrintGeneratorInformation()
void G4RDGenerator2BS::PrintGeneratorInformation |
( |
| ) |
const |
|
virtual |
◆ RejectionFunction()
Definition at line 126 of file G4RDGenerator2BS.cc.
129 G4double argument = (1+value)*(1+value);
G4double rejection_argument1
G4double rejection_argument3
G4double rejection_argument2
◆ EnergyRatio
◆ rejection_argument1
G4double G4RDGenerator2BS::rejection_argument1 |
|
private |
◆ rejection_argument2
G4double G4RDGenerator2BS::rejection_argument2 |
|
private |
◆ rejection_argument3
G4double G4RDGenerator2BS::rejection_argument3 |
|
private |
The documentation for this class was generated from the following files: