50 : polarFlag(false), fDirection(0.,0.,0.)
85 etrans += bond_energy;
102 CLHEP::electron_mass_c2 - bond_energy);
109 if(
polarFlag && isDiscrete && isGamma && !isLongLived) {
124 G4double energy = 0.5*((ecm - mass)*(ecm + mass) + emass*emass)/ecm;
127 G4double mom = std::sqrt((energy - emass)*(energy + emass));
146 if(P2 > 0.0) { p = std::sqrt(P2); }
148 lv.set(v.x()*p, v.y()*p, v.z()*p, E);
186 G4int L0 = 0, Lp = 0;
189 Lp = (mp - 200*L0)/2;
205 G4double sinTheta = std::sqrt((1.-cosTheta)*(1.+cosTheta));
206 fDirection.set(sinTheta*std::cos(phi),sinTheta*std::sin(phi),cosTheta);
CLHEP::Hep3Vector G4ThreeVector
virtual void SampleDirection(G4Fragment *nuc, G4double ratio, G4int twoJ1, G4int twoJ2, G4int mp)
G4int GetNumberOfElectrons() const
G4double GenerateGammaPhi(G4double cosTheta, const POLAR &)
G4double GenerateGammaCosTheta(const POLAR &)
void SetNumberOfElectrons(G4int value)
G4ThreeVector G4RandomDirection()
virtual ~G4GammaTransition()
void SetNuclearPolarization(G4NuclearPolarization *)
std::vector< std::vector< G4complex > > & GetPolarization()
static G4double GetBindingEnergy(G4int Z, G4int SubshellNb)
const G4LorentzVector & GetMomentum() const
void SetMomentum(const G4LorentzVector &value)
G4double GetGroundStateMass() const
void SetGammaTransitionData(G4int twoJ1, G4int twoJ2, G4int Lbar, G4double delta=0, G4int Lprime=1)
virtual G4Fragment * SampleTransition(G4Fragment *nucleus, G4double newExcEnergy, G4double mpRatio, G4int JP1, G4int JP2, G4int MP, size_t shell, G4bool isDiscrete, G4bool isGamma, G4bool isLongLived)
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)
G4PolarizationTransition fPolTrans
void UpdatePolarizationToFinalState(G4double cosTheta, G4double phi, G4Fragment *)
T min(const T t1, const T t2)
brief Return the smallest of the two arguments
static const G4double * P2[nN]
static G4Electron * Electron()
G4double GetExcitationEnergy() const
G4NuclearPolarization * GetNuclearPolarization() const
CLHEP::HepLorentzVector G4LorentzVector
static G4int GetNumberOfShells(G4int Z)