X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PWG2%2FRESONANCES%2FAliRsnValue.h;h=13d0c300d7407b9b10290c5c77bc1813e9d2ea15;hb=b637c01fe9b1d7b8283ac2f41d53753f2f65137d;hp=3c01e865a02f1df3f39346279490e01b3fac6724;hpb=11ba7ebc9a310e3f3c4faeb82ae2925351c6a361;p=u%2Fmrichter%2FAliRoot.git diff --git a/PWG2/RESONANCES/AliRsnValue.h b/PWG2/RESONANCES/AliRsnValue.h index 3c01e865a02..13d0c300d74 100644 --- a/PWG2/RESONANCES/AliRsnValue.h +++ b/PWG2/RESONANCES/AliRsnValue.h @@ -45,6 +45,7 @@ class AliRsnValue : public TNamed kPairCosThetaStarMC2, kAngleToLeading, kLeadingPt, + kQInv, kEventMult, kValueTypes }; @@ -53,7 +54,7 @@ class AliRsnValue : public TNamed AliRsnValue(const char *name, EValueType type, Int_t n = 0, Double_t min = 0.0, Double_t max = 0.0); AliRsnValue(const char *name, EValueType type, Double_t min, Double_t max, Double_t step); AliRsnValue(const char *name, EValueType type, Int_t n, Double_t *array); - AliRsnValue(const AliRsnValue& copy) : TNamed(copy),fType(copy.fType),fValue(copy.fValue),fArray(copy.fArray) {} + AliRsnValue(const AliRsnValue& copy) : TNamed(copy),fValue(copy.fValue),fType(copy.fType),fArray(copy.fArray) {} AliRsnValue& operator=(const AliRsnValue& copy) {SetName(copy.GetName());fType=copy.fType;fValue=copy.fValue;fArray=copy.fArray;return (*this);} virtual ~AliRsnValue() { } @@ -67,11 +68,15 @@ class AliRsnValue : public TNamed void SetBins(Int_t n, Double_t *array); Bool_t Eval(AliRsnMother * const mother, AliRsnPairDef * const pairDef, AliRsnEvent * const event); + void Print(Option_t *option = "") const; + protected: + + Double_t fValue; // computed value + private: EValueType fType; // value type - Double_t fValue; // computed value TArrayD fArray; // array of bins (when necessary) // ROOT dictionary