29 Bool_t TwoTrackFemtoQinvCut::Pass(
TwoTrack* pair) {
34 case TwoTrack::kHemishpere:
35 px = tr1.Px() + tr2.Px();
36 py = tr1.Py() + tr2.Py();
37 pz = tr1.Pz() + tr2.Pz();
39 case TwoTrack::kRotated:
40 px = tr1.Px() + tr2.Px();
41 py = tr1.Py() + tr2.Py();
42 pz = tr1.Pz() - tr2.Pz();
45 px = tr1.Px() - tr2.Px();
46 py = tr1.Py() - tr2.Py();
47 pz = tr1.Pz() - tr2.Pz();
50 Double_t p1 = tr1.P();
51 Double_t p2 = tr2.P();
52 Double_t e1 = TMath::Sqrt(p1 * p1 + fMass2);
53 Double_t e2 = TMath::Sqrt(p2 * p2 + fMass2);
56 Double_t q2 = TMath::Sqrt(TMath::Abs((e * e - px * px - py * py - pz * pz)));