1 #ifndef LowEnergyFastSimParam_h 2 #define LowEnergyFastSimParam_h 5 #include "Randomize.hh" 12 constexpr
const G4double
a0 = 1.02186764;
13 constexpr
const G4double a1 = 2.14064635e-02 /
a0;
14 constexpr
const G4double
a2 = 1.96988997e-04 /
a0;
15 constexpr
const G4double a3 = -6.42310317e-07 /
a0;
22 constexpr
const G4double
r1 = 156.52094133;
23 constexpr
const G4double
r2 = -1.02220543;
25 return std::sqrt(r0 / G4UniformRand() - r0);
29 constexpr
const G4double
alpha = 1.0 / 0.02211515;
30 constexpr
const G4double
t = 0.66968625;
31 return -G4Log(G4UniformRand()) *
alpha +
t;
G4double GetInPointEnergyFraction(G4double energy) const
static constexpr float a0
G4double GetRadius(G4double energy) const