49 Double_t tE1 = pair->
TrueE1();
50 Double_t tE2 = pair->
TrueE2();
51 Double_t tE = tE1 + tE2;
52 Double_t tPt = tPx * tPx + tPy * tPy;
53 Double_t tMt = tE * tE - tPz * tPz;
54 Double_t tM = sqrt(tMt - tPt);
60 Double_t tBeta = tPz / tE;
61 Double_t tGamma = tE / tMt;
63 Double_t tE1L = tGamma * (tE1 - tBeta * pair->
TruePz1());
131 Double_t tRLong = pair->
GetZ1() - pair->
GetZ2();
132 Double_t tDTime = pair->
GetT1() - pair->
GetT2();
134 Double_t tROut = (tDX * tPx + tDY * tPy) / tPt;
135 Double_t tRSide = (-tDX * tPy + tDY * tPx) / tPt;
140 fRStarLong = tGamma * (tRLong - tBeta * tDTime);
141 Double_t tDTimePairLCMS = tGamma * (tDTime - tBeta * tRLong);
148 fRStarOut = tGamma * (tROut - tBeta * tDTimePairLCMS);
164 Double_t tpy = pair->
GetPy1() - pair->y2();
167 TLorentzVector p1, p2;
170 TLorentzVector x1, x2;
173 TLorentzVector sum = p1 + p2;
174 Double_t vz = sum.Pz() / sum.E();
179 Double_t phi = sum.Phi();
184 sum.Boost(0, 0, -vz);
185 Double_t vx = sum.Pt() / sum.E();
190 TLorentzVector R = x1 - x2;
191 std::cout <<
" ---WEIGHT--PRF-------- " << std::endl;
193 std::cout <<
" out " << 2 *
fKStarOut <<
" " << p1.Px() << std::endl;
194 std::cout <<
" side " << 2 *
fKStarSide <<
" " << p1.Py() << std::endl;
195 std::cout <<
" long " << 2 *
fKStarLong <<
" " << p1.Pz() << std::endl;
196 std::cout <<
" star " << 2 *
fKStar <<
" " << (p1.Rho()) << std::endl;
198 std::cout <<
" Rlong " <<
fRStarLong <<
" " << R.Pz() << std::endl;
199 std::cout <<
" Rout " <<
fRStarOut <<
" " << R.Px() << std::endl;
200 std::cout <<
" Rside " <<
fRStarSide <<
" " << R.Py() << std::endl;
203 std::cout <<
" ---END WEIGHT-------- " << std::endl;
205 std::cout <<
" WAGA BASIC " << 2.0 * (
fKStarOut * tROS) <<
" " << 2.0 * (
fKStarSide * tRSS) <<
" "
210 if (
fPairType != Femto::EPairType::kUnknown) {
211 if ((
fPairType == Femto::EPairType::kPionPlusPionPlus) || (
fPairType == Femto::EPairType::kKaonPlusKaonPlus)) {
213 }
else if (
fPairType == Femto::EPairType::kProtonProton ||
fPairType == Femto::EPairType::kLambdaLambda)
219 if ((tPairType == Femto::EPairType::kPionPlusPionPlus) || (tPairType == Femto::EPairType::kKaonPlusKaonPlus)) {
221 }
else if (tPairType == Femto::EPairType::kProtonProton || tPairType == Femto::EPairType::kLambdaLambda)