#include <G4DipBustGenerator.hh>
Definition at line 55 of file G4DipBustGenerator.hh.
◆ G4DipBustGenerator() [1/2]
G4DipBustGenerator::G4DipBustGenerator |
( |
const G4String & |
name = "" | ) |
|
◆ ~G4DipBustGenerator()
G4DipBustGenerator::~G4DipBustGenerator |
( |
| ) |
|
|
virtual |
◆ G4DipBustGenerator() [2/2]
◆ operator=()
◆ PolarAngle()
Definition at line 105 of file G4DipBustGenerator.cc.
109 G4double c, cosTheta, delta, cofA, signc = 1.,
a;
120 delta = std::sqrt(
a*
a+4.);
126 cosTheta = cofA - 1./cofA;
129 beta = std::sqrt(1. - 1./gamma/gamma);
131 cosTheta = (cosTheta + beta)/(1 + cosTheta*beta);
133 theta = std::acos(cosTheta);
135 if( theta < 0. ) theta = 0.;
136 if( theta >
pi ) theta =
pi;
G4double G4Log(G4double x)
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
◆ PrintGeneratorInformation()
void G4DipBustGenerator::PrintGeneratorInformation |
( |
| ) |
const |
Definition at line 142 of file G4DipBustGenerator.cc.
145 G4cout <<
"Angular Generator based on classical formula from" <<
G4endl;
146 G4cout <<
"J.D. Jackson, Classical Electrodynamics, Wiley, New York 1975" G4GLOB_DLL std::ostream G4cout
◆ SampleDirection()
Implements G4VEmAngularDistribution.
Definition at line 67 of file G4DipBustGenerator.cc.
70 G4double a,
c, cosTheta, delta, cofA, signc = 1.;
82 delta = std::sqrt(a*a+4.);
88 cosTheta = cofA - 1./cofA;
91 G4double beta = std::sqrt(tau*(tau + 2.))/(tau + 1.);
93 cosTheta = (cosTheta + beta)/(1 + cosTheta*beta);
95 G4double sinTheta = std::sqrt((1 - cosTheta)*(1 + cosTheta));
void set(double x, double y, double z)
G4double GetKineticEnergy() const
Hep3Vector & rotateUz(const Hep3Vector &)
static const double twopi
G4double G4Log(G4double x)
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
const G4ThreeVector & GetMomentumDirection() const
G4ThreeVector fLocalDirection
The documentation for this class was generated from the following files: