#include <G4Generator2BS.hh>
Definition at line 64 of file G4Generator2BS.hh.
◆ G4Generator2BS() [1/2]
G4Generator2BS::G4Generator2BS |
( |
const G4String & |
name = "" | ) |
|
Definition at line 64 of file G4Generator2BS.cc.
static G4Pow * GetInstance()
G4VEmAngularDistribution(const G4String &name)
◆ ~G4Generator2BS()
G4Generator2BS::~G4Generator2BS |
( |
| ) |
|
|
virtual |
◆ G4Generator2BS() [2/2]
◆ operator=()
◆ PrintGeneratorInformation()
void G4Generator2BS::PrintGeneratorInformation |
( |
| ) |
const |
Definition at line 140 of file G4Generator2BS.cc.
143 G4cout <<
"Bremsstrahlung Angular Generator is 2BS Generator " 144 <<
"from 2BS Koch & Motz distribution (Rev Mod Phys 31(4), 920 (1959))" <<
G4endl;
145 G4cout <<
"Sampling algorithm adapted from PIRS-0203" <<
G4endl;
G4GLOB_DLL std::ostream G4cout
◆ RejectionFunction()
◆ SampleDirection()
Implements G4VEmAngularDistribution.
Definition at line 75 of file G4Generator2BS.cc.
94 G4double beta = std::sqrt((gamma - 1)*(gamma + 1))/gamma;
103 G4double ymax = 2*beta*(1 + beta)*gamma*gamma;
111 y = q*ymax/(1 + ymax*(1 - q));
115 if(gfun > gMax &&
nwarn >= 20) {
117 G4cout <<
"### WARNING in G4Generator2BS: Etot(MeV)= " << energy/
MeV 118 <<
" Egamma(MeV)" << (energy - final_energy)/
MeV 119 <<
" gMax= " << gMax <<
" < " << gfun
120 <<
" results are not reliable!" 123 G4cout <<
" WARNING in G4Generator2BS is closed" <<
G4endl;
131 G4double sint = std::sqrt((1 - cost)*(1 + cost));
G4double RejectionFunction(G4double value) const
void set(double x, double y, double z)
G4double GetTotalEnergy() const
G4GLOB_DLL std::ostream G4cout
Hep3Vector & rotateUz(const Hep3Vector &)
static const double twopi
G4double Z13(G4int Z) const
const G4ThreeVector & GetMomentumDirection() const
G4ThreeVector fLocalDirection
◆ delta
◆ fz
◆ g4pow
G4Pow* G4Generator2BS::g4pow |
|
private |
◆ nwarn
G4int G4Generator2BS::nwarn |
|
private |
◆ ratio
◆ ratio1
◆ ratio2
The documentation for this class was generated from the following files: