#include <G4PhotoElectricAngularGeneratorSauterGavrila.hh>
|
| G4PhotoElectricAngularGeneratorSauterGavrila () |
|
| ~G4PhotoElectricAngularGeneratorSauterGavrila () |
|
G4ThreeVector & | SampleDirection (const G4DynamicParticle *dp, G4double e=0.0, G4int shellId=0, const G4Material *mat=nullptr) override |
|
void | PrintGeneratorInformation () const override |
|
G4PhotoElectricAngularGeneratorSauterGavrila & | operator= (const G4PhotoElectricAngularGeneratorSauterGavrila &right)=delete |
|
| G4PhotoElectricAngularGeneratorSauterGavrila (const G4PhotoElectricAngularGeneratorSauterGavrila &)=delete |
|
| G4VEmAngularDistribution (const G4String &name) |
|
virtual | ~G4VEmAngularDistribution () |
|
virtual G4ThreeVector & | SampleDirectionForShell (const G4DynamicParticle *dp, G4double finalTotalEnergy, G4int Z, G4int shellID, const G4Material *) |
|
virtual void | SamplePairDirections (const G4DynamicParticle *dp, G4double elecKinEnergy, G4double posiKinEnergy, G4ThreeVector &dirElectron, G4ThreeVector &dirPositron, G4int Z=0, const G4Material *mat=nullptr) |
|
const G4String & | GetName () const |
|
G4VEmAngularDistribution & | operator= (const G4VEmAngularDistribution &right)=delete |
|
| G4VEmAngularDistribution (const G4VEmAngularDistribution &)=delete |
|
◆ G4PhotoElectricAngularGeneratorSauterGavrila() [1/2]
G4PhotoElectricAngularGeneratorSauterGavrila::G4PhotoElectricAngularGeneratorSauterGavrila |
( |
| ) |
|
|
explicit |
◆ ~G4PhotoElectricAngularGeneratorSauterGavrila()
G4PhotoElectricAngularGeneratorSauterGavrila::~G4PhotoElectricAngularGeneratorSauterGavrila |
( |
| ) |
|
◆ G4PhotoElectricAngularGeneratorSauterGavrila() [2/2]
◆ operator=()
◆ PrintGeneratorInformation()
void G4PhotoElectricAngularGeneratorSauterGavrila::PrintGeneratorInformation |
( |
| ) |
const |
|
overridevirtual |
◆ SampleDirection()
Implements G4VEmAngularDistribution.
Definition at line 67 of file G4PhotoElectricAngularGeneratorSauterGavrila.cc.
70{
71
72
73
74
81
82 if (gamma > 5.) {
85
86
87 }
88
89 G4double beta = std::sqrt((gamma - 1)*(gamma + 1))/gamma;
90 G4double b = 0.5*gamma*(gamma - 1)*(gamma - 2);
91
93 if (gamma < 2.) grejsup = gamma*gamma*(1.+b-beta*b);
94 else grejsup = gamma*gamma*(1.+b+beta*b);
95
97 costeta = (rndm+beta)/(rndm*beta+1.);
98 term = 1.-beta*costeta;
99 greject = (1.-costeta*costeta)*(1.+b*term)/(term*term);
101
102 sinteta = std::sqrt((1 - costeta)*(1 + costeta));
106}
const G4ThreeVector & GetMomentumDirection() const
G4double GetKineticEnergy() const
G4ThreeVector fLocalDirection
The documentation for this class was generated from the following files: