message: AliFemto: more bug fixes
diff: @@ -110,6 +110,8 @@ void AliFemtoCutMonitorPairMomRes::Fill(const AliFemtoPair* aPair)
  double tPtrans = tPx*tPx + tPy*tPy;
  double tMtrans = tPE*tPE - tPz*tPz;
  + if( (tMtrans - tPtrans) > 0)
  + {
  double tPinv = ::sqrt(tMtrans - tPtrans);
  tMtrans = ::sqrt(tMtrans);
  tPtrans = ::sqrt(tPtrans);
  @@ -117,8 +119,7 @@ void AliFemtoCutMonitorPairMomRes::Fill(const AliFemtoPair* aPair)
  double tQinvL = (pE1-pE2)*(pE1-pE2) - (px1-px2)*(px1-px2) -
  (py1-py2)*(py1-py2) - (pz1-pz2)*(pz1-pz2);
  - if( (tMtrans - tPtrans) > 0)
  - {
  +
  double tQ = (mass1_sqrd - mass2_sqrd)/tPinv;
  if((tQ*tQ - tQinvL)>=0.000000001)
  