kPairCosThetaStarMC2,
kAngleToLeading,
kLeadingPt,
+ kQInv,
kEventMult,
kValueTypes
};
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() { }
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