24 Bool_t PairDeltaQinvCut::Pass(
TwoTrack* pair) {
27 Track* re1 = z1->GetRealTrack();
28 Track* re2 = z2->GetRealTrack();
29 Track* mc1 = z1->GetImgTrack();
30 Track* mc2 = z2->GetImgTrack();
31 if (mc1 == NULL || mc2 == NULL) {
32 SetValue(1E+9, Absolute());
33 SetValue(1E+9, Relative());
34 return ForcedUpdate(kFALSE);
36 Double_t q_im = Q(mc1, mc2);
37 Double_t q_re = Q(re1, re2);
38 Double_t delta = q_re - q_im;
39 SetValue(delta, Absolute());
40 SetValue(delta / q_im * 100.0, Relative());