]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG2/RESONANCES/AliRsnValue.cxx
fixed warnings
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnValue.cxx
index f005caeb93673c301626ea5d356f5f4c132a0c00..4df1c45ce17fa9e59c356fc768d84fced616f68f 100644 (file)
@@ -242,6 +242,12 @@ Bool_t AliRsnValue::Eval(AliRsnMother * const mother, AliRsnPairDef * const pair
          else fValue = 0;
       }
       break;
+    case kQInv:
+      {
+        TLorentzVector diff = mother->GetDaughter(0)->P() - mother->GetDaughter(1)->P();
+        fValue = diff.M();
+      }
+      break;
     default:
       AliWarning("Invalid value type");
       return kFALSE;