66 G4double sintheta = std::sqrt(1.0 - costheta*costheta);
70 G4double pz=costheta*breakupMomentum;
71 G4double px=sintheta*std::cos(phi)*breakupMomentum;
72 G4double py=sintheta*std::sin(phi)*breakupMomentum;
74 G4double breakupMomentumSquared=breakupMomentum*breakupMomentum;
75 G4double energy1=std::sqrt(breakupMomentumSquared+massOut1*massOut1);
76 G4double energy2=std::sqrt(breakupMomentumSquared+massOut2*massOut2);
83 lorentz1.boost(betaCMS);
84 lorentz2.boost(betaCMS);
CLHEP::Hep3Vector G4ThreeVector
G4double invariantMass(const G4double E, const ThreeVector &p)
G4LorentzVector Get4Momentum() const
void Set4Momentum(const G4LorentzVector &momentum)
G4double BreakupMomentum(G4double totalMass, G4double m1, G4double m2)
void TwoBodyScattering(const G4DynamicParticle *pIn1, const G4DynamicParticle *pIn2, G4DynamicParticle *pOut1, G4DynamicParticle *pOut2)
CLHEP::HepLorentzVector G4LorentzVector