fWriteNumAndDen = kTRUE;//change default behaviour
Rename("wqinvtheorcf","Q_{inv} Weight Theoretical Correlation Function");
}
-/****************************************************************/
+/**************************************************************/
+
void AliHBTWeightTheorQInvFctn::ProcessSameEventParticles(AliHBTPair* partpair)
{
//Processes Particles and tracks Same different event
Double_t weight = partpair->GetWeight();
if(TMath::Abs(weight)<=10.) fNumerator->Fill(partpair->GetQInv(),weight);
}
-
/**************************************************************/
+
TH1* AliHBTWeightTheorQInvFctn::GetResult()
{
- //returns ratio of numerator and denominator
- return GetRatio(Scale());
+ //returns the scaled ratio
+ delete fRatio;
+ fRatio = GetRatio(Scale());
+ return fRatio;
}
/*************************************************************/
Rename("wqouttheorcf","Q_{out} Weight Theoretical Correlation Function");
}
/****************************************************************/
+
void AliHBTWeightTheorQOutFctn::ProcessSameEventParticles(AliHBTPair* partpair)
{
//Processes Particles and tracks Same different even
/**************************************************************/
TH1* AliHBTWeightTheorQOutFctn::GetResult()
{
- //returns ratio of numerator and denominator
- return GetRatio(Scale());
+ //returns the scaled ratio
+ delete fRatio;
+ fRatio = GetRatio(Scale());
+ return fRatio;
}
/*************************************************************/
Rename("wqsidetheorcf","Q_{side} Weight Theoretical Correlation Function");
}
/****************************************************************/
+
void AliHBTWeightTheorQSideFctn::ProcessSameEventParticles(AliHBTPair* partpair)
{
//Processes Particles and tracks Same different even
Double_t weight = partpair->GetWeight();
if(TMath::Abs(weight)<=10.) fNumerator->Fill(partpair->GetQSideCMSLC(),weight);
}
-
/**************************************************************/
+
TH1* AliHBTWeightTheorQSideFctn::GetResult()
{
- //returns ratio of numerator and denominator
- return GetRatio(Scale());
+ //returns the scaled ratio
+ delete fRatio;
+ fRatio = GetRatio(Scale());
+ return fRatio;
}
/*************************************************************/
Rename("wqlongtheorcf","Q_{long} Weight Theoretical Correlation Function");
}
/****************************************************************/
+
void AliHBTWeightTheorQLongFctn::ProcessSameEventParticles(AliHBTPair* partpair)
{
//Processes Particles and tracks Same different even
Double_t weight = partpair->GetWeight();
if(TMath::Abs(weight)<=10.) fNumerator->Fill(partpair->GetQLongCMSLC(),weight);
}
-
/**************************************************************/
+
TH1* AliHBTWeightTheorQLongFctn::GetResult()
{
- //returns ratio of numerator and denominator
- return GetRatio(Scale());
+ //returns the scaled ratio
+ delete fRatio;
+ fRatio = GetRatio(Scale());
+ return fRatio;
}
/*************************************************************/
Int_t nZbins, Double_t maxZval, Double_t minZval):
AliHBTOnePairFctn3D(nXbins,maxXval,minXval,nYbins,maxYval,minYval,nZbins,maxZval,minZval)
{
+ //ctor
fWriteNumAndDen = kTRUE;//change default behaviour
Rename("wqosltheorcf","Q_{out}-Q_{side}-Q_{long} Weight Theoretical Correlation Fctn");
}
+
/*************************************************************/
void AliHBTWeightTheorOSLFctn::ProcessSameEventParticles(AliHBTPair* partpair)
TH1* AliHBTWeightTheorOSLFctn::GetResult()
{
- //returns ratio of numerator and denominator
- return GetRatio(Scale());
+ //returns the scaled ratio
+ delete fRatio;
+ fRatio = GetRatio(Scale());
+ return fRatio;
}