94 G4double sintheta = std::sqrt(1.0 - costheta*costheta);
96 G4ThreeVector direction(sintheta*std::cos(phi),sintheta*std::sin(phi),
99 G4double KE = std::sqrt(cmMomentum*cmMomentum + protonMass*protonMass)
105 KE = std::sqrt(cmMomentum*cmMomentum + nucleusMass*nucleusMass) - nucleusMass;
134 <<
" with branching ratio " <<
GetBR() <<
"% and Q value "
void CheckAndFillDaughters()
void SetBR(G4double value)
CLHEP::Hep3Vector G4ThreeVector
virtual void DumpNuclearInfo()
const G4String & GetParentName() const
G4int PushProducts(G4DynamicParticle *aParticle)
G4ParticleDefinition * G4MT_parent
G4ParticleDefinition * GetIon(G4int Z, G4int A, G4int lvl=0)
G4ParticleDefinition ** G4MT_daughters
const G4double transitionQ
G4ProtonDecay(const G4ParticleDefinition *theParentNucleus, const G4double &theBR, const G4double &Qvalue, const G4double &excitation, const G4Ions::G4FloatLevelBase &flb)
static constexpr double rad
G4int GetAtomicNumber() const
virtual G4DecayProducts * DecayIt(G4double)
static constexpr double twopi
G4IonTable * GetIonTable() const
G4GLOB_DLL std::ostream G4cout
void SetNumberOfDaughters(G4int value)
G4int GetAtomicMass() const
const G4String & GetDaughterName(G4int anIndex) const
G4double GetPDGMass() const
static G4ParticleTable * GetParticleTable()
void SetParent(const G4ParticleDefinition *particle_type)
void SetDaughter(G4int anIndex, const G4ParticleDefinition *particle_type)
void CheckAndFillParent()