{
//returns ratio of numerator and denominator
//
- if (gDebug>0) Info("GetRatio","Norm. Factor is %f for %s",normfactor,GetName());
+ if (AliHBTParticle::GetDebug()>0) Info("GetRatio","Norm. Factor is %f for %s",normfactor,GetName());
if (normfactor == 0.0)
{
//Calculates the factor that should be used to scale
//quatience of num and den to 1 at tail
- if (gDebug>0) Info("Scale","Enetered Scale()");
+ if (AliHBTParticle::GetDebug()>0) Info("Scale","Enetered Scale()");
if(!num)
{
Error("Scale","No numerator");
Error("Scale","Number of bins for scaling is bigger thnan number of bins in histograms");
return 0.0;
}
- if (gDebug>0) Info("Scale","No errors detected");
+ if (AliHBTParticle::GetDebug()>0) Info("Scale","No errors detected");
Double_t ratio;
Double_t sum = 0;
}
}
- if(gDebug > 0) Info("Scale","sum=%f fNBinsToScale=%d n=%d",sum,fNBinsToScale,n);
+ if(AliHBTParticle::GetDebug() > 0) Info("Scale","sum=%f fNBinsToScale=%d n=%d",sum,fNBinsToScale,n);
if (n == 0) return 0.0;
Double_t ret = sum/((Double_t)n);
- if(gDebug > 0) Info("Scale","returning %f",ret);
+ if(AliHBTParticle::GetDebug() > 0) Info("Scale","returning %f",ret);
return ret;
}
// Calculates the factor that should be used to scale
// quatience of fNumerator and fDenominator to 1 at
// given region
- if (gDebug>0) Info("Scale","Enetered Scale()");
+ if (AliHBTParticle::GetDebug()>0) Info("Scale","Enetered Scale()");
if(!fNumerator)
{
Error("Scale","No numerator");
return 0.0;
}
- if (gDebug>0) Info("Scale","No errors detected");
+ if (AliHBTParticle::GetDebug()>0) Info("Scale","No errors detected");
Int_t offsetX = nbinsX - fNBinsToScaleX - 1; //bin that we start loop over bins in axis X
Int_t offsetY = nbinsY - fNBinsToScaleY - 1; //bin that we start loop over bins in axis X
}
}
- if(gDebug > 0) Info("Scale","sum=%f fNBinsToScaleX=%d fNBinsToScaleY=%d n=%d",sum,fNBinsToScaleX,fNBinsToScaleY,n);
+ if(AliHBTParticle::GetDebug() > 0) Info("Scale","sum=%f fNBinsToScaleX=%d fNBinsToScaleY=%d n=%d",sum,fNBinsToScaleX,fNBinsToScaleY,n);
if (n == 0) return 0.0;
Double_t ret = sum/((Double_t)n);
- if(gDebug > 0) Info("Scale","returning %f",ret);
+ if(AliHBTParticle::GetDebug() > 0) Info("Scale","returning %f",ret);
return ret;
}
// Calculates the factor that should be used to scale
// quatience of fNumerator and fDenominator to 1 at
// given volume
- if (gDebug>0) Info("Scale","Enetered Scale()");
+ if (AliHBTParticle::GetDebug()>0) Info("Scale","Enetered Scale()");
if(!fNumerator)
{
Error("Scale","No numerator");
return 0.0;
}
- if (gDebug>0) Info("Scale","No errors detected");
+ if (AliHBTParticle::GetDebug()>0) Info("Scale","No errors detected");
Int_t offsetX = nbinsX - fNBinsToScaleX - 1; //bin that we start loop over bins in axis X
Int_t offsetY = nbinsY - fNBinsToScaleY - 1; //bin that we start loop over bins in axis Y
}
}
- if(gDebug > 0)
+ if(AliHBTParticle::GetDebug() > 0)
Info("Scale","sum=%f fNBinsToScaleX=%d fNBinsToScaleY=%d fNBinsToScaleZ=%d n=%d",
sum,fNBinsToScaleX,fNBinsToScaleY,fNBinsToScaleZ,n);
if (n == 0) return 0.0;
Double_t ret = sum/((Double_t)n);
- if(gDebug > 0) Info("Scale","returning %f",ret);
+ if(AliHBTParticle::GetDebug() > 0) Info("Scale","returning %f",ret);
return ret;
}
/******************************************************************/