Import Geant4 11.2.0 source tree
This commit is contained in:
@@ -37,39 +37,34 @@
|
||||
// 187-248. North-Holland Publishing Company, Amsterdam at page 210 cc.
|
||||
// - W.E. Fisher and F. Scheck, Nucl. Phys. B83 (1974) 25.
|
||||
|
||||
// Authors: P.Gumplinger and T.MacPhail, 17 August 2004
|
||||
// Authors: P.Gumplinger and T.MacPhail, 17 August 2004
|
||||
// --------------------------------------------------------------------
|
||||
#ifndef G4MuonDecayChannelWithSpin_hh
|
||||
#define G4MuonDecayChannelWithSpin_hh 1
|
||||
|
||||
#include <CLHEP/Units/PhysicalConstants.h>
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ThreeVector.hh"
|
||||
#include "G4MuonDecayChannel.hh"
|
||||
#include "G4ThreeVector.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
#include <CLHEP/Units/PhysicalConstants.h>
|
||||
|
||||
class G4MuonDecayChannelWithSpin : public G4MuonDecayChannel
|
||||
{
|
||||
public:
|
||||
|
||||
G4MuonDecayChannelWithSpin(const G4String& theParentName,
|
||||
G4double theBR);
|
||||
G4MuonDecayChannelWithSpin(const G4String& theParentName, G4double theBR);
|
||||
~G4MuonDecayChannelWithSpin() override = default;
|
||||
|
||||
G4DecayProducts* DecayIt(G4double) override;
|
||||
|
||||
protected:
|
||||
|
||||
// Copy constructor and assignment operator
|
||||
G4MuonDecayChannelWithSpin(const G4MuonDecayChannelWithSpin&) = default;
|
||||
G4MuonDecayChannelWithSpin& operator=(const G4MuonDecayChannelWithSpin&);
|
||||
// Copy constructor and assignment operator
|
||||
|
||||
private:
|
||||
|
||||
private:
|
||||
G4MuonDecayChannelWithSpin() = default;
|
||||
|
||||
// Radiative Correction Factors
|
||||
|
||||
inline G4double F_c(G4double x, G4double x0, G4double omega);
|
||||
inline G4double F_theta(G4double x, G4double x0, G4double omega);
|
||||
G4double R_c(G4double x, G4double omega);
|
||||
@@ -79,29 +74,27 @@ class G4MuonDecayChannelWithSpin : public G4MuonDecayChannel
|
||||
// Inline methods
|
||||
// ------------------------
|
||||
|
||||
inline G4double
|
||||
G4MuonDecayChannelWithSpin::F_c(G4double x, G4double x0, G4double omega)
|
||||
inline G4double G4MuonDecayChannelWithSpin::F_c(G4double x, G4double x0, G4double omega)
|
||||
{
|
||||
G4double f_c;
|
||||
|
||||
f_c = (5.+17.*x-34.*x*x)*(omega+std::log(x))-22.*x+34.*x*x;
|
||||
f_c = (1.-x)/(3.*x*x)*f_c;
|
||||
f_c = (6.-4.*x)*R_c(x,omega)+(6.-6.*x)*std::log(x) + f_c;
|
||||
f_c = (CLHEP::fine_structure_const/CLHEP::twopi) * (x*x-x0*x0) * f_c;
|
||||
f_c = (5. + 17. * x - 34. * x * x) * (omega + std::log(x)) - 22. * x + 34. * x * x;
|
||||
f_c = (1. - x) / (3. * x * x) * f_c;
|
||||
f_c = (6. - 4. * x) * R_c(x, omega) + (6. - 6. * x) * std::log(x) + f_c;
|
||||
f_c = (CLHEP::fine_structure_const / CLHEP::twopi) * (x * x - x0 * x0) * f_c;
|
||||
|
||||
return f_c;
|
||||
}
|
||||
|
||||
inline G4double
|
||||
G4MuonDecayChannelWithSpin::F_theta(G4double x, G4double x0, G4double omega)
|
||||
inline G4double G4MuonDecayChannelWithSpin::F_theta(G4double x, G4double x0, G4double omega)
|
||||
{
|
||||
G4double f_theta;
|
||||
|
||||
f_theta = (1.+x+34*x*x)*(omega+std::log(x))+3.-7.*x-32.*x*x;
|
||||
f_theta = f_theta + ((4.*(1.-x)*(1.-x))/x)*std::log(1.-x);
|
||||
f_theta = (1.-x)/(3.*x*x) * f_theta;
|
||||
f_theta = (2.-4.*x)*R_c(x,omega)+(2.-6.*x)*std::log(x)-f_theta;
|
||||
f_theta = (CLHEP::fine_structure_const/CLHEP::twopi) * (x*x-x0*x0) * f_theta;
|
||||
f_theta = (1. + x + 34 * x * x) * (omega + std::log(x)) + 3. - 7. * x - 32. * x * x;
|
||||
f_theta = f_theta + ((4. * (1. - x) * (1. - x)) / x) * std::log(1. - x);
|
||||
f_theta = (1. - x) / (3. * x * x) * f_theta;
|
||||
f_theta = (2. - 4. * x) * R_c(x, omega) + (2. - 6. * x) * std::log(x) - f_theta;
|
||||
f_theta = (CLHEP::fine_structure_const / CLHEP::twopi) * (x * x - x0 * x0) * f_theta;
|
||||
|
||||
return f_theta;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user