87 Double_t massS, eS, eP, ptot,
px,
py,
pz, t=-1., mtarget;
89 ptot = SampleFermi(
px,
py,
pz);
90 massS = spectator->M();
91 eS = sqrt(ptot*ptot + massS*massS);
92 mtarget = target->M();
93 t = pow(mtarget-massS,2) - 2.*mtarget*(eS-massS);
96 eP = sqrt(ptot*ptot + t);
98 participant->SetPxPyPzE(-
px,-
py,-
pz,eP);
99 spectator->SetPxPyPzE(
px,
py,
pz,eS);
104 participant->Boost(target->BoostVector());
105 spectator->Boost(target->BoostVector());
110 participant->Boost(-parent->BoostVector());
111 p2->Boost(-parent->BoostVector());
112 spectator->Boost(-parent->BoostVector());
114 composite->Reconstruct();
117 participant->Boost(parent->BoostVector());
118 p2->Boost(parent->BoostVector());
120 spectator->SetW(parent->W());