AliPhysics  5b5fbb3 (5b5fbb3)
AliPWGFunc Class Reference

#include <AliPWGFunc.h>

Inheritance diagram for AliPWGFunc:

Public Types

enum  VarType_t {
  kdNdpt, kOneOverPtdNdpt, kOneOverMtdNdmt, kdNdmt,
  kOneOverMtdNdmtMinusM
}
 

Public Member Functions

 AliPWGFunc ()
 
 ~AliPWGFunc ()
 
TF1 * GetBGBW (Double_t mass, Double_t beta, Double_t T, Double_t n, Double_t norm, const char *name="fBGBW")
 
TF1 * GetBoltzmann (Double_t mass, Double_t T, Double_t norm, const char *name="fBoltzmann")
 
TF1 * GetTsallisBW (Double_t mass, Double_t beta, Double_t T, Double_t q, Double_t norm, Double_t ymax=0.5, const char *name="fTsallisBW")
 
TF1 * GetMTExp (Double_t mass, Double_t T, Double_t norm, const char *name="fMtExp")
 
TF1 * GetPTExp (Double_t T, Double_t norm, const char *name="fPtExp")
 
TF1 * GetTsallis (Double_t mass, Double_t T, Double_t q, Double_t norm, const char *name="fTsallis")
 
TF1 * GetLevi (Double_t mass, Double_t T, Double_t n, Double_t norm, const char *name="fLevi")
 
TF1 * GetUA1 (Double_t mass, Double_t p0star, Double_t pt0, Double_t n, Double_t T, Double_t norm, const char *name="fUA1")
 
TF1 * GetHistoFunc (TH1 *h, const char *name="fHisto")
 
TF1 * GetGraphFunc (TGraph *h, const char *name="fHisto")
 
TF1 * GetPowerLaw (Double_t pt0, Double_t n, Double_t norm, const char *name="fPowerLaw")
 
TF1 * GetBoseEinstein (Double_t mass, Double_t T, Double_t norm, const char *name="fBoseEinstein")
 
TF1 * GetFermiDirac (Double_t mass, Double_t T, Double_t norm, const char *name="fFermiDirac")
 
void SetVarType (VarType_t tp)
 

Protected Member Functions

TF1 * GetBGBWdNdpt (Double_t mass, Double_t beta, Double_t temp, Double_t n, Double_t norm, const char *name="fBGBW")
 
TF1 * GetTsallisBWdNdpt (Double_t mass, Double_t beta, Double_t T, Double_t q, Double_t norm, Double_t ymax=0.5, const char *name="fTsallisBW")
 
TF1 * GetMTExpdNdpt (Double_t mass, Double_t T, Double_t norm, const char *name="fExp")
 
TF1 * GetBoseEinsteindNdpt (Double_t mass, Double_t T, Double_t norm, const char *name="fBoseEinstein")
 
TF1 * GetFermiDiracdNdpt (Double_t mass, Double_t T, Double_t norm, const char *name="fFermiDirac")
 
TF1 * GetTsallisdNdpt (Double_t mass, Double_t T, Double_t q, Double_t norm, const char *name="fTsallis")
 
TF1 * GetLevidNdpt (Double_t mass, Double_t T, Double_t n, Double_t norm, const char *name="fLevi")
 
TF1 * GetPowerLawdNdpt (Double_t pt0, Double_t n, Double_t norm, const char *name="fLevi")
 
TF1 * GetUA1dNdpt (Double_t pt0, Double_t n, Double_t norm, const char *name="fLevi")
 
TF1 * GetBGBWdNdptTimesPt (Double_t mass, Double_t beta, Double_t T, Double_t n, Double_t norm, const char *name="fBGBWTimesPt")
 
TF1 * GetBGBWdNdptTimesMt (Double_t mass, Double_t beta, Double_t T, Double_t n, Double_t norm, const char *name="fBGBWTimesMt")
 
TF1 * GetTsallisBWdNdptTimesPt (Double_t mass, Double_t beta, Double_t T, Double_t q, Double_t norm, Double_t ymax=0.5, const char *name="fTsallisBWTimesPt")
 
TF1 * GetLevidNdptTimesPt (Double_t mass, Double_t T, Double_t n, Double_t norm, const char *name="fLevi")
 
TF1 * GetUA1dNdptTimesPt (Double_t pt0, Double_t n, Double_t norm, const char *name="fLevi")
 
TF1 * GetPowerLawdNdptTimesPt (Double_t pt0, Double_t n, Double_t norm, const char *name="fLevi")
 
TF1 * GetMTExpdNdptTimesPt (Double_t mass, Double_t T, Double_t norm, const char *name="fMtExpTimesPt")
 
TF1 * GetBoseEinsteindNdptTimesPt (Double_t mass, Double_t T, Double_t norm, const char *name="fBoseEinstein")
 
TF1 * GetFermiDiracdNdptTimesPt (Double_t mass, Double_t T, Double_t norm, const char *name="fFermiDirac")
 
TF1 * GetPTExpdNdptTimesPt (Double_t T, Double_t norm, const char *name="fPtExpTimesPt")
 
TF1 * GetBoltzmanndNdptTimesPt (Double_t mass, Double_t T, Double_t norm, const char *name="fBoltzmannTimesPt")
 
TF1 * GetTsallisdNdptTimesPt (Double_t mass, Double_t T, Double_t q, Double_t norm, const char *name="fTsallisTimesPt")
 
TF1 * GetLevidNdmt (Double_t mass, Double_t T, Double_t n, Double_t norm, const char *name="fLeviMt", VarType_t var=kOneOverMtdNdmt)
 
TF1 * GetMTExpdNdmt (Double_t mass, Double_t temp, Double_t norm, const char *name, VarType_t var)
 
void SetLineWidth (Width_t width)
 
TF1 * GetTestFunc (Double_t mass, Double_t T, Double_t norm, Double_t ymax, const char *name="fTest")
 

Static Protected Member Functions

static Double_t StaticBGdNdPt (const double *x, const double *p)
 
static Double_t StaticBGdNdPtTimesPt (const double *x, const double *p)
 
static Double_t StaticBGdNdMtTimesMt (const double *x, const double *p)
 
static Double_t StaticTsallisdNdPt (const double *x, const double *p)
 
static Double_t StaticTsallisdNdPtTimesPt (const double *x, const double *p)
 
static Double_t IntegrandBG (const double *x, const double *p)
 
static Double_t IntegrandTsallis (const double *x, const double *p)
 
static Double_t StaticTest (const double *x, const double *p)
 
static Double_t IntegrandTest (const double *x, const double *p)
 
static Double_t StaticHistoFunc (const double *x, const double *p)
 
static Double_t StaticUA1Func (const double *x, const double *p)
 
static Double_t StaticUA1FuncOneOverPt (const double *x, const double *p)
 

Private Member Functions

 AliPWGFunc (const AliPWGFunc &)
 
AliPWGFuncoperator= (const AliPWGFunc &)
 

Private Attributes

TF1 * fLastFunc
 
Width_t fLineWidth
 
VarType_t fVarType
 

Detailed Description

Definition at line 25 of file AliPWGFunc.h.

Member Enumeration Documentation

Enumerator
kdNdpt 
kOneOverPtdNdpt 
kOneOverMtdNdmt 
kdNdmt 
kOneOverMtdNdmtMinusM 

Definition at line 30 of file AliPWGFunc.h.

Constructor & Destructor Documentation

AliPWGFunc::AliPWGFunc ( )

Definition at line 31 of file AliPWGFunc.cxx.

Referenced by StaticUA1Func(), and StaticUA1FuncOneOverPt().

AliPWGFunc::~AliPWGFunc ( )

Definition at line 36 of file AliPWGFunc.cxx.

AliPWGFunc::AliPWGFunc ( const AliPWGFunc )
private

Member Function Documentation

TF1 * AliPWGFunc::GetBGBW ( Double_t  mass,
Double_t  beta,
Double_t  T,
Double_t  n,
Double_t  norm,
const char *  name = "fBGBW" 
)

Definition at line 77 of file AliPWGFunc.cxx.

TF1 * AliPWGFunc::GetBGBWdNdpt ( Double_t  mass,
Double_t  beta,
Double_t  temp,
Double_t  n,
Double_t  norm,
const char *  name = "fBGBW" 
)
protected

Definition at line 534 of file AliPWGFunc.cxx.

Referenced by GetBGBW(), and SetVarType().

TF1 * AliPWGFunc::GetBGBWdNdptTimesMt ( Double_t  mass,
Double_t  beta,
Double_t  T,
Double_t  n,
Double_t  norm,
const char *  name = "fBGBWTimesMt" 
)
protected

Definition at line 659 of file AliPWGFunc.cxx.

Referenced by SetVarType().

TF1 * AliPWGFunc::GetBGBWdNdptTimesPt ( Double_t  mass,
Double_t  beta,
Double_t  T,
Double_t  n,
Double_t  norm,
const char *  name = "fBGBWTimesPt" 
)
protected

Definition at line 643 of file AliPWGFunc.cxx.

Referenced by GetBGBW(), and SetVarType().

TF1 * AliPWGFunc::GetBoltzmann ( Double_t  mass,
Double_t  T,
Double_t  norm,
const char *  name = "fBoltzmann" 
)

Definition at line 101 of file AliPWGFunc.cxx.

TF1 * AliPWGFunc::GetBoltzmanndNdptTimesPt ( Double_t  mass,
Double_t  T,
Double_t  norm,
const char *  name = "fBoltzmannTimesPt" 
)
protected

Definition at line 753 of file AliPWGFunc.cxx.

Referenced by GetBoltzmann(), and SetVarType().

TF1 * AliPWGFunc::GetBoseEinstein ( Double_t  mass,
Double_t  T,
Double_t  norm,
const char *  name = "fBoseEinstein" 
)

Definition at line 173 of file AliPWGFunc.cxx.

Referenced by GetTsallis().

TF1 * AliPWGFunc::GetBoseEinsteindNdpt ( Double_t  mass,
Double_t  T,
Double_t  norm,
const char *  name = "fBoseEinstein" 
)
protected

Definition at line 979 of file AliPWGFunc.cxx.

Referenced by GetBoseEinstein(), and SetVarType().

TF1 * AliPWGFunc::GetBoseEinsteindNdptTimesPt ( Double_t  mass,
Double_t  T,
Double_t  norm,
const char *  name = "fBoseEinstein" 
)
protected

Definition at line 705 of file AliPWGFunc.cxx.

Referenced by GetBoseEinstein(), and SetVarType().

TF1 * AliPWGFunc::GetFermiDirac ( Double_t  mass,
Double_t  T,
Double_t  norm,
const char *  name = "fFermiDirac" 
)

Definition at line 195 of file AliPWGFunc.cxx.

Referenced by GetTsallis().

TF1 * AliPWGFunc::GetFermiDiracdNdpt ( Double_t  mass,
Double_t  T,
Double_t  norm,
const char *  name = "fFermiDirac" 
)
protected

Definition at line 991 of file AliPWGFunc.cxx.

Referenced by GetFermiDirac(), and SetVarType().

TF1 * AliPWGFunc::GetFermiDiracdNdptTimesPt ( Double_t  mass,
Double_t  T,
Double_t  norm,
const char *  name = "fFermiDirac" 
)
protected

Definition at line 720 of file AliPWGFunc.cxx.

Referenced by GetFermiDirac(), and SetVarType().

TF1 * AliPWGFunc::GetGraphFunc ( TGraph h,
const char *  name = "fHisto" 
)

Definition at line 60 of file AliPWGFunc.cxx.

Referenced by GetTsallis().

TF1 * AliPWGFunc::GetHistoFunc ( TH1 h,
const char *  name = "fHisto" 
)

Definition at line 44 of file AliPWGFunc.cxx.

Referenced by GetTsallis().

TF1 * AliPWGFunc::GetLevi ( Double_t  mass,
Double_t  T,
Double_t  n,
Double_t  norm,
const char *  name = "fLevi" 
)

Definition at line 241 of file AliPWGFunc.cxx.

Referenced by GetTsallis().

TF1 * AliPWGFunc::GetLevidNdmt ( Double_t  mass,
Double_t  T,
Double_t  n,
Double_t  norm,
const char *  name = "fLeviMt",
VarType_t  var = kOneOverMtdNdmt 
)
protected

Definition at line 855 of file AliPWGFunc.cxx.

Referenced by GetLevi(), and SetVarType().

TF1 * AliPWGFunc::GetLevidNdpt ( Double_t  mass,
Double_t  T,
Double_t  n,
Double_t  norm,
const char *  name = "fLevi" 
)
protected

Definition at line 838 of file AliPWGFunc.cxx.

Referenced by GetLevi(), and SetVarType().

TF1 * AliPWGFunc::GetLevidNdptTimesPt ( Double_t  mass,
Double_t  T,
Double_t  n,
Double_t  norm,
const char *  name = "fLevi" 
)
protected

Definition at line 786 of file AliPWGFunc.cxx.

Referenced by GetLevi(), and SetVarType().

TF1 * AliPWGFunc::GetMTExp ( Double_t  mass,
Double_t  T,
Double_t  norm,
const char *  name = "fMtExp" 
)

Definition at line 144 of file AliPWGFunc.cxx.

TF1 * AliPWGFunc::GetMTExpdNdmt ( Double_t  mass,
Double_t  temp,
Double_t  norm,
const char *  name,
VarType_t  var 
)
protected

Definition at line 954 of file AliPWGFunc.cxx.

Referenced by GetMTExp(), and SetVarType().

TF1 * AliPWGFunc::GetMTExpdNdpt ( Double_t  mass,
Double_t  T,
Double_t  norm,
const char *  name = "fExp" 
)
protected

Definition at line 940 of file AliPWGFunc.cxx.

Referenced by GetMTExp(), and SetVarType().

TF1 * AliPWGFunc::GetMTExpdNdptTimesPt ( Double_t  mass,
Double_t  T,
Double_t  norm,
const char *  name = "fMtExpTimesPt" 
)
protected

Definition at line 690 of file AliPWGFunc.cxx.

Referenced by GetMTExp(), and SetVarType().

TF1 * AliPWGFunc::GetPowerLaw ( Double_t  pt0,
Double_t  n,
Double_t  norm,
const char *  name = "fPowerLaw" 
)

Definition at line 268 of file AliPWGFunc.cxx.

Referenced by GetTsallis().

TF1 * AliPWGFunc::GetPowerLawdNdpt ( Double_t  pt0,
Double_t  n,
Double_t  norm,
const char *  name = "fLevi" 
)
protected

Definition at line 821 of file AliPWGFunc.cxx.

Referenced by GetPowerLaw(), and SetVarType().

TF1 * AliPWGFunc::GetPowerLawdNdptTimesPt ( Double_t  pt0,
Double_t  n,
Double_t  norm,
const char *  name = "fLevi" 
)
protected

Definition at line 804 of file AliPWGFunc.cxx.

Referenced by GetPowerLaw(), and SetVarType().

TF1 * AliPWGFunc::GetPTExp ( Double_t  T,
Double_t  norm,
const char *  name = "fPtExp" 
)

Definition at line 218 of file AliPWGFunc.cxx.

TF1 * AliPWGFunc::GetPTExpdNdptTimesPt ( Double_t  T,
Double_t  norm,
const char *  name = "fPtExpTimesPt" 
)
protected

Definition at line 737 of file AliPWGFunc.cxx.

Referenced by GetPTExp(), and SetVarType().

TF1 * AliPWGFunc::GetTestFunc ( Double_t  mass,
Double_t  T,
Double_t  norm,
Double_t  ymax,
const char *  name = "fTest" 
)
protected

Definition at line 924 of file AliPWGFunc.cxx.

Referenced by SetLineWidth().

TF1* AliPWGFunc::GetTsallis ( Double_t  mass,
Double_t  T,
Double_t  q,
Double_t  norm,
const char *  name = "fTsallis" 
)
inline

Definition at line 54 of file AliPWGFunc.h.

TF1 * AliPWGFunc::GetTsallisBW ( Double_t  mass,
Double_t  beta,
Double_t  T,
Double_t  q,
Double_t  norm,
Double_t  ymax = 0.5,
const char *  name = "fTsallisBW" 
)

Definition at line 121 of file AliPWGFunc.cxx.

TF1 * AliPWGFunc::GetTsallisBWdNdpt ( Double_t  mass,
Double_t  beta,
Double_t  T,
Double_t  q,
Double_t  norm,
Double_t  ymax = 0.5,
const char *  name = "fTsallisBW" 
)
protected

Definition at line 624 of file AliPWGFunc.cxx.

Referenced by GetTsallisBW(), and SetVarType().

TF1 * AliPWGFunc::GetTsallisBWdNdptTimesPt ( Double_t  mass,
Double_t  beta,
Double_t  T,
Double_t  q,
Double_t  norm,
Double_t  ymax = 0.5,
const char *  name = "fTsallisBWTimesPt" 
)
protected

Definition at line 674 of file AliPWGFunc.cxx.

Referenced by GetTsallisBW(), and SetVarType().

TF1* AliPWGFunc::GetTsallisdNdpt ( Double_t  mass,
Double_t  T,
Double_t  q,
Double_t  norm,
const char *  name = "fTsallis" 
)
protected

Referenced by SetVarType().

TF1* AliPWGFunc::GetTsallisdNdptTimesPt ( Double_t  mass,
Double_t  T,
Double_t  q,
Double_t  norm,
const char *  name = "fTsallisTimesPt" 
)
protected

Referenced by SetVarType().

TF1 * AliPWGFunc::GetUA1 ( Double_t  mass,
Double_t  p0star,
Double_t  pt0,
Double_t  n,
Double_t  T,
Double_t  norm,
const char *  name = "fUA1" 
)

Definition at line 292 of file AliPWGFunc.cxx.

Referenced by GetTsallis().

TF1* AliPWGFunc::GetUA1dNdpt ( Double_t  pt0,
Double_t  n,
Double_t  norm,
const char *  name = "fLevi" 
)
protected

Referenced by SetVarType().

TF1* AliPWGFunc::GetUA1dNdptTimesPt ( Double_t  pt0,
Double_t  n,
Double_t  norm,
const char *  name = "fLevi" 
)
protected

Referenced by SetVarType().

Double_t AliPWGFunc::IntegrandBG ( const double *  x,
const double *  p 
)
staticprotected

Definition at line 460 of file AliPWGFunc.cxx.

Referenced by SetLineWidth(), and StaticBGdNdPt().

Double_t AliPWGFunc::IntegrandTest ( const double *  x,
const double *  p 
)
staticprotected

Definition at line 883 of file AliPWGFunc.cxx.

Referenced by SetLineWidth(), and StaticTest().

Double_t AliPWGFunc::IntegrandTsallis ( const double *  x,
const double *  p 
)
staticprotected

Definition at line 552 of file AliPWGFunc.cxx.

Referenced by SetLineWidth(), and StaticTsallisdNdPt().

AliPWGFunc& AliPWGFunc::operator= ( const AliPWGFunc )
private
void AliPWGFunc::SetLineWidth ( Width_t  width)
inlineprotected

Definition at line 168 of file AliPWGFunc.h.

void AliPWGFunc::SetVarType ( VarType_t  tp)
inline

Definition at line 80 of file AliPWGFunc.h.

Double_t AliPWGFunc::StaticBGdNdMtTimesMt ( const double *  x,
const double *  p 
)
staticprotected

Definition at line 526 of file AliPWGFunc.cxx.

Referenced by GetBGBWdNdptTimesMt(), and SetLineWidth().

Double_t AliPWGFunc::StaticBGdNdPt ( const double *  x,
const double *  p 
)
staticprotected
Double_t AliPWGFunc::StaticBGdNdPtTimesPt ( const double *  x,
const double *  p 
)
staticprotected

Definition at line 521 of file AliPWGFunc.cxx.

Referenced by GetBGBWdNdptTimesPt(), and SetLineWidth().

Double_t AliPWGFunc::StaticHistoFunc ( const double *  x,
const double *  p 
)
staticprotected

Definition at line 351 of file AliPWGFunc.cxx.

Referenced by GetGraphFunc(), GetHistoFunc(), and SetLineWidth().

Double_t AliPWGFunc::StaticTest ( const double *  x,
const double *  p 
)
staticprotected

Definition at line 899 of file AliPWGFunc.cxx.

Referenced by GetTestFunc(), and SetLineWidth().

Double_t AliPWGFunc::StaticTsallisdNdPt ( const double *  x,
const double *  p 
)
staticprotected

Definition at line 586 of file AliPWGFunc.cxx.

Referenced by GetTsallisBWdNdpt(), SetLineWidth(), and StaticTsallisdNdPtTimesPt().

Double_t AliPWGFunc::StaticTsallisdNdPtTimesPt ( const double *  x,
const double *  p 
)
staticprotected

Definition at line 617 of file AliPWGFunc.cxx.

Referenced by GetTsallisBWdNdptTimesPt(), and SetLineWidth().

Double_t AliPWGFunc::StaticUA1Func ( const double *  x,
const double *  p 
)
staticprotected

Definition at line 386 of file AliPWGFunc.cxx.

Referenced by GetUA1(), and SetLineWidth().

Double_t AliPWGFunc::StaticUA1FuncOneOverPt ( const double *  x,
const double *  p 
)
staticprotected

Definition at line 422 of file AliPWGFunc.cxx.

Referenced by GetUA1(), and SetLineWidth().

Member Data Documentation


The documentation for this class was generated from the following files: