TH1* AliHBTWeightQInvFctn::GetResult()
{
//returns ratio of numerator and denominator
- return GetRatio(Scale());
+ //returns the scaled ratio
+ delete fRatio;
+ fRatio = GetRatio(Scale());
+ return fRatio;
}
/**************************************************************************************/
TH1* AliHBTWeightQOutFctn::GetResult()
{
-//returns ratio of numerator and denominator
- return GetRatio(Scale());
+ //returns the scaled ratio
+ delete fRatio;
+ fRatio = GetRatio(Scale());
+ return fRatio;
}
/*************************************************************************************/
/**************************************************************/
TH1* AliHBTWeightQLongFctn::GetResult()
{
-//returns ratio of numerator and denominator
- return GetRatio(Scale());
+ //returns the scaled ratio
+ delete fRatio;
+ fRatio = GetRatio(Scale());
+ return fRatio;
}
/*************************************************************************************/
TH1* AliHBTWeightQSideFctn::GetResult()
{
-//returns ratio of numerator and denominator
- return GetRatio(Scale());
+ //returns the scaled ratio
+ delete fRatio;
+ fRatio = GetRatio(Scale());
+ return fRatio;
}
/*************************************************************************************/
TH1* AliHBTWeightTwoKStarFctn::GetResult()
{
-//returns ratio of numerator and denominator
- return GetRatio(Scale());
+ //returns the scaled ratio
+ delete fRatio;
+ fRatio = GetRatio(Scale());
+ return fRatio;
}
/*************************************************************************************/
TH1* AliHBTWeightQOutQSideFctn::GetResult()
{
- //returns result
- return GetRatio(Scale());
+ //returns the scaled ratio
+ delete fRatio;
+ fRatio = GetRatio(Scale());
+ return fRatio;
}
/*************************************************************************************/
TH1* AliHBTWeightQOutQLongFctn::GetResult()
{
- //returns result
- return GetRatio(Scale());
+ //returns the scaled ratio
+ delete fRatio;
+ fRatio = GetRatio(Scale());
+ return fRatio;
}
/*************************************************************************************/
TH1* AliHBTWeightQSideQLongFctn::GetResult()
{
- //returns result
- return GetRatio(Scale());
+ //returns the scaled ratio
+ delete fRatio;
+ fRatio = GetRatio(Scale());
+ return fRatio;
}