93 G4double eMomentum = std::sqrt(eKE*(eKE + 2.*eMass) );
98 - eMomentum*eMomentum)/(parentMass - eTE + eMomentum*cosThetaENu)/2.;
102 G4double sinTheta = std::sqrt(1.0 - cosTheta*cosTheta);
114 G4double sinThetaENu = std::sqrt(1.0 - cosThetaENu*cosThetaENu);
120 nuDirection.
setX(sinThetaENu*cosPhiNu*cosTheta*cosPhi -
121 sinThetaENu*sinPhiNu*sinPhi + cosThetaENu*sinTheta*cosPhi);
122 nuDirection.
setY(sinThetaENu*cosPhiNu*cosTheta*sinPhi +
123 sinThetaENu*sinPhiNu*cosPhi + cosThetaENu*sinTheta*sinPhi);
124 nuDirection.
setZ(-sinThetaENu*cosPhiNu*sinTheta + cosThetaENu*cosTheta);
134 -eDirection*eMomentum - nuDirection*nuEnergy);
164 const G4int& daughterA,
179 for (
G4int ptn = 0; ptn < npti; ptn++) {
182 p = std::sqrt(e*e - 1.);
183 f = p*e*(e0 - e + 1.)*(e0 - e + 1.);
189 f *= corrections.
ShapeFactor(betaType, p, e0-e+1.);
G4int PushProducts(G4DynamicParticle *aParticle)
CLHEP::Hep3Vector G4ThreeVector
G4int GetAtomicNumber() const
static G4ParticleTable * GetParticleTable()
static constexpr double keV
G4BetaMinusDecay(const G4ParticleDefinition *theParentNucleus, const G4double &theBR, const G4double &endpointE, const G4double &ex, const G4Ions::G4FloatLevelBase &flb, const G4BetaDecayType &type)
G4RandGeneral * spectrumSampler
G4IonTable * GetIonTable() const
const G4double endpointEnergy
virtual G4DecayProducts * DecayIt(G4double)
G4double GetPDGMass() const
const G4String & GetParentName() const
void SetBR(G4double value)
static constexpr double electron_mass_c2
G4ParticleDefinition * G4MT_parent
G4double FermiFunction(const G4double &W)
static constexpr double twopi
G4ParticleDefinition ** G4MT_daughters
virtual ~G4BetaMinusDecay()
static constexpr double rad
void SetNumberOfDaughters(G4int value)
void CheckAndFillParent()
void SetParent(const G4ParticleDefinition *particle_type)
const G4String & GetDaughterName(G4int anIndex) const
void SetUpBetaSpectrumSampler(const G4int &parentZ, const G4int &parentA, const G4BetaDecayType &type)
G4double ShapeFactor(const G4BetaDecayType &, const G4double &p_e, const G4double &e_nu)
G4int GetAtomicMass() const
G4GLOB_DLL std::ostream G4cout
G4ParticleDefinition * GetIon(G4int Z, G4int A, G4int lvl=0)
virtual void DumpNuclearInfo()
void SetDaughter(G4int anIndex, const G4ParticleDefinition *particle_type)
void CheckAndFillDaughters()