83 G4cout <<
"G4GammaTransition::GenerateGamma - Etrans(MeV)= "
84 << etrans <<
" Eexnew= " << newExcEnergy
85 <<
" Ebond= " << bond_energy <<
G4endl;
88 etrans += bond_energy;
107 if(polarFlag && isDiscrete) {
123 G4double energy = 0.5*((ecm - mass)*(ecm + mass) + emass*emass)/ecm;
124 G4double mom = (emass > 0.0) ? std::sqrt((energy - emass)*(energy + emass))
132 energy =
std::max(ecm - energy, mass);
148 G4cout <<
"G4GammaTransition::SampleTransition : " << result <<
G4endl;
G4double G4ParticleHPJENDLHEData::G4double result
Hep3Vector boostVector() const
virtual void SampleDirection(G4Fragment *nuc, G4double ratio, G4int twoJ1, G4int twoJ2, G4int mp)
G4int GetNumberOfElectrons() const
void SetNumberOfElectrons(G4int value)
G4ThreeVector G4RandomDirection()
static constexpr double electron_mass_c2
G4GLOB_DLL std::ostream G4cout
static G4double GetBindingEnergy(G4int Z, G4int SubshellNb)
const G4LorentzVector & GetMomentum() const
HepLorentzVector & boost(double, double, double)
G4double GetGroundStateMass() const
void set(double x, double y, double z, double t)
G4double GetPDGMass() const
T max(const T t1, const T t2)
brief Return the largest of the two arguments
G4double energy(const ThreeVector &p, const G4double m)
T min(const T t1, const T t2)
brief Return the smallest of the two arguments
void SetExcEnergyAndMomentum(G4double eexc, const G4LorentzVector &)
static G4Electron * Electron()
G4double GetExcitationEnergy() const
static G4int GetNumberOfShells(G4int Z)