AliPhysics  5403132 (5403132)
Collaboration diagram for Test scripts:

Classes

struct  Function
 
struct  Fitter
 
struct  Generator
 
class  MakeELossFit
 

Functions

void AcceptanceCorrection (Char_t r, UShort_t t, Float_t &oldm, Float_t &newm)
 
void DrawSolution (Char_t r, UShort_t dt=16, UShort_t offT=128)
 
void TestAcc ()
 
static Double_t landauGaus1 (Double_t *xp, Double_t *pp)
 
static Double_t landauGausN (Double_t *xp, Double_t *pp)
 
static Double_t landauGausI (Double_t *xp, Double_t *pp)
 
void TestELossDist (const char *type="png")
 
TH1GetEDist (TList *ef, UShort_t d, Char_t r, UShort_t etabin)
 
TH1GetEDist (TList *ef, UShort_t d, Char_t r, Float_t eta)
 
TListGetEF (TFile *file)
 
TListCheckEF ()
 
TCanvas * CheckC ()
 
void PrintFit (TF1 *f)
 
void TestFitELoss (Int_t n, UShort_t d, Char_t r, Float_t eta)
 
void DrawOne (const char *what, UShort_t base, Double_t y)
 
void MakeIntegerAxis (Int_t &nBins, Double_t &min, Double_t &max)
 
void TestPoisson (Double_t o=.3, bool useWeights=false, bool correct=true)
 
void TestRunMakeELossFit (UShort_t sys, UShort_t cms, Short_t field, Bool_t mc=false, const char *filename="forward_eloss.root")
 

Detailed Description

Function Documentation

void AcceptanceCorrection ( Char_t  r,
UShort_t  t,
Float_t oldm,
Float_t newm 
)
Parameters
r
t
oldm
newm

Definition at line 28 of file TestAcc.C.

Referenced by TestAcc().

TCanvas* CheckC ( )
Returns
Deprecated:
This is a simple test script

Definition at line 186 of file TestFitELoss.C.

Referenced by TestFitELoss().

TList* CheckEF ( )
Returns
Deprecated:
This is a simple test script

Definition at line 159 of file TestFitELoss.C.

Referenced by TestFitELoss().

void DrawOne ( const char *  what,
UShort_t  base,
Double_t  y 
)
Parameters
what
base
y

Definition at line 93 of file TestMarkers.C.

void DrawSolution ( Char_t  r,
UShort_t  dt = 16,
UShort_t  offT = 128 
)
Parameters
r
dt
offT

Definition at line 125 of file TestAcc.C.

Referenced by TestAcc().

TH1* GetEDist ( TList ef,
UShort_t  d,
Char_t  r,
UShort_t  etabin 
)

Test script to fit the energy loss spectra

Deprecated:
This is a simple test script
Parameters
ef
d
r
etabin
Returns
Deprecated:
This is a simple test script

Definition at line 44 of file TestFitELoss.C.

Referenced by GetEDist(), and TestFitELoss().

TH1* GetEDist ( TList ef,
UShort_t  d,
Char_t  r,
Float_t  eta 
)
Parameters
ef
d
r
eta
Returns
Deprecated:
This is a simple test script

Definition at line 93 of file TestFitELoss.C.

TList* GetEF ( TFile *  file)
Parameters
file
Returns
Deprecated:
This is a simple test script

Definition at line 128 of file TestFitELoss.C.

Referenced by CheckEF().

static Double_t landauGaus1 ( Double_t xp,
Double_t pp 
)
static

Utility function

Parameters
xpPointer to independent variables
ppPointer to parameters
Returns
Function evaluated at xp[0]

Definition at line 823 of file TestELossDist.C.

static Double_t landauGausI ( Double_t xp,
Double_t pp 
)
static

Utility function

Parameters
xpPointer to independent variables
ppPointer to parameters
Returns
Function evaluated at xp[0]

Definition at line 865 of file TestELossDist.C.

Referenced by Function::NEstimate().

static Double_t landauGausN ( Double_t xp,
Double_t pp 
)
static

Utility function

Parameters
xpPointer to independent variables
ppPointer to parameters
Returns
Function evaluated at xp[0]

Definition at line 843 of file TestELossDist.C.

Referenced by Function::NEstimate().

void MakeIntegerAxis ( Int_t nBins,
Double_t min,
Double_t max 
)
Parameters
nBins
min
max

Definition at line 11 of file TestPoisson.C.

Referenced by TestPoisson().

void PrintFit ( TF1 *  f)
Parameters
f
Deprecated:
This is a simple test script

Definition at line 226 of file TestFitELoss.C.

Referenced by TestFitELoss().

void TestAcc ( )

Definition at line 200 of file TestAcc.C.

void TestELossDist ( const char *  type = "png")

Test the energy loss fits

Parameters
typeOutput graphics type

Definition at line 1426 of file TestELossDist.C.

void TestFitELoss ( Int_t  n,
UShort_t  d,
Char_t  r,
Float_t  eta 
)
Parameters
n
d
r
eta
Deprecated:
This is a simple test script

Definition at line 256 of file TestFitELoss.C.

void TestPoisson ( Double_t  o = .3,
bool  useWeights = false,
bool  correct = true 
)
Parameters
o
useWeights
correct

Definition at line 32 of file TestPoisson.C.

void TestRunMakeELossFit ( UShort_t  sys,
UShort_t  cms,
Short_t  field,
Bool_t  mc = false,
const char *  filename = "forward_eloss.root" 
)

Run the energy loss fit finder and generate corrections output file

Parameters
sysCollision system
cmsCenter of mass energy per nucleon in GeV
fieldMagnetic field
mcWhether this is for Monte-Carlo data
filenameInput file name
Deprecated:
The class AliFMDELossFitter automatically generates the AliFMDCorrELossFit object.

Definition at line 18 of file TestRunMakeELossFit.C.