Import Geant4 10.5.1 source tree
This commit is contained in:
@@ -75,28 +75,28 @@ G4PenelopeOscillator& G4PenelopeOscillator::operator=(const G4PenelopeOscillator
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
int G4PenelopeOscillator::operator==(const G4PenelopeOscillator& right) const
|
||||
G4bool G4PenelopeOscillator::operator==(const G4PenelopeOscillator& right) const
|
||||
{
|
||||
//Oscillator are ordered according to the ionisation energy. They are considered to be
|
||||
//equal if the ionisation energy is the same
|
||||
return (ionisationEnergy == right.ionisationEnergy) ? 1 : 0;
|
||||
return (ionisationEnergy == right.ionisationEnergy) ? true : false;
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
int G4PenelopeOscillator::operator>(const G4PenelopeOscillator& right) const
|
||||
G4bool G4PenelopeOscillator::operator>(const G4PenelopeOscillator& right) const
|
||||
{
|
||||
//Oscillator are ordered according to the ionisation energy.
|
||||
return (ionisationEnergy > right.ionisationEnergy) ? 1 : 0;
|
||||
return (ionisationEnergy > right.ionisationEnergy) ? true : false;
|
||||
}
|
||||
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
int G4PenelopeOscillator::operator<(const G4PenelopeOscillator& right) const
|
||||
G4bool G4PenelopeOscillator::operator<(const G4PenelopeOscillator& right) const
|
||||
{
|
||||
//Oscillator are ordered according to the ionisation energy.
|
||||
return (ionisationEnergy < right.ionisationEnergy) ? 1 : 0;
|
||||
return (ionisationEnergy < right.ionisationEnergy) ? true : false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -257,7 +257,7 @@ G4PhotoElectricAngularGeneratorPolarized::DSigmaKshellGavrila1959(
|
||||
+ (1-sqrtOneBeta2)/(4*beta2*oneBetaCosTheta*oneBetaCosTheta) * (beta/oneBeta2 - 2/oneBeta2 * cosTheta * cosPhi2 +
|
||||
(1-sqrtOneBeta2)/oneBeta2_to_3_2 * cosTheta - beta * (1-sqrtOneBeta2)/oneBeta2_to_3_2);
|
||||
|
||||
dsigma = ( firstTerm*(1-pi*fine_structure_const/beta) + secondTerm*(pi*fine_structure_const) );
|
||||
dsigma = ( firstTerm*(1-pi*fine_structure_const/beta) + secondTerm*(pi*fine_structure_const) )*std::sin(theta);
|
||||
|
||||
return dsigma;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user