From: pulvir Date: Thu, 7 Oct 2010 06:46:12 +0000 (+0000) Subject: Added some new values used for checking outputs X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=b8718678c9c0a9f29a35c4ff050124f6ecb3f6b3;p=u%2Fmrichter%2FAliRoot.git Added some new values used for checking outputs --- diff --git a/PWG2/RESONANCES/AliRsnValue.cxx b/PWG2/RESONANCES/AliRsnValue.cxx index 143bdefb48f..ddb64855d55 100644 --- a/PWG2/RESONANCES/AliRsnValue.cxx +++ b/PWG2/RESONANCES/AliRsnValue.cxx @@ -195,6 +195,16 @@ Bool_t AliRsnValue::Eval(AliRsnMother * const mother, AliRsnPairDef * const pair mother->SetDefaultMass(mass); fValue = mother->Ref().Rapidity(); break; + case kPairPhi: + fValue = mother->Sum().Phi(); + break; + case kPairPhiMC: + fValue = mother->SumMC().Phi(); + break; + case kPairPtRatio: + fValue = TMath::Abs(mother->GetDaughter(0)->P().Perp() - mother->GetDaughter(1)->P().Perp()); + fValue /= TMath::Abs(mother->GetDaughter(0)->P().Perp() + mother->GetDaughter(1)->P().Perp()); + break; case kPairCosThetaStar: fValue = mother->CosThetaStar(); break; diff --git a/PWG2/RESONANCES/AliRsnValue.h b/PWG2/RESONANCES/AliRsnValue.h index 3a21acdcaae..d1485f9ff9f 100644 --- a/PWG2/RESONANCES/AliRsnValue.h +++ b/PWG2/RESONANCES/AliRsnValue.h @@ -38,6 +38,9 @@ class AliRsnValue : public TNamed kPairEta, kPairMt, kPairY, + kPairPhi, + kPairPhiMC, + kPairPtRatio, kPairCosThetaStar, kPairCosThetaStar1, kPairCosThetaStar2,