]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG2/RESONANCES/AliRsnValue.h
Macro to update the existing run tag with the RCT information
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnValue.h
index 3c01e865a02f1df3f39346279490e01b3fac6724..13d0c300d7407b9b10290c5c77bc1813e9d2ea15 100644 (file)
@@ -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