AliPhysics  6f1d526 (6f1d526)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Generator Struct Reference

Public Member Functions

 Generator (Double_t delta=.55, Double_t xi=0.06, Double_t sigma=0.02, Int_t maxN=5, const Double_t *a=0)
 
void Clear ()
 
Int_t GenerateN ()
 
Double_t Generate1Signal ()
 
Double_t GenerateNSignal (Int_t n)
 
void Generate (Int_t nObs=1000, Bool_t reset=true)
 
void PrintParameter (Double_t input, TF1 *f, Int_t i)
 
void PrintResult (TF1 *f)
 
void DrawParameter (Double_t x, Double_t y, Double_t input, TF1 *f, Int_t i)
 
void DrawResult (Double_t x, Double_t y, TF1 *f)
 
void Draw (const char *type="png")
 

Public Attributes

Double_t fDelta
 
Double_t fXi
 
Double_t fSigma
 
Int_t fMaxN
 
TH1fSingle
 
TH1fSummed
 
TH1fSimple
 
TH2fNSum
 
TH1fN
 
TArrayD fRP
 
TArrayD fP
 
TF1 * fF
 
Int_t fNObs
 

Detailed Description

Definition at line 884 of file TestELossDist.C.

Constructor & Destructor Documentation

Generator::Generator ( Double_t  delta = .55,
Double_t  xi = 0.06,
Double_t  sigma = 0.02,
Int_t  maxN = 5,
const Double_t a = 0 
)
inline
Returns

Definition at line 906 of file TestELossDist.C.

Member Function Documentation

void Generator::Clear ( )
inline

Definition at line 988 of file TestELossDist.C.

Referenced by Generate().

void Generator::Draw ( const char *  type = "png")
inline

Definition at line 1179 of file TestELossDist.C.

Referenced by TestELossDist().

void Generator::DrawParameter ( Double_t  x,
Double_t  y,
Double_t  input,
TF1 *  f,
Int_t  i 
)
inline
Parameters
x
y
input
f
i

Definition at line 1123 of file TestELossDist.C.

Referenced by DrawResult().

void Generator::DrawResult ( Double_t  x,
Double_t  y,
TF1 *  f 
)
inline
Parameters
x
y
f

Definition at line 1154 of file TestELossDist.C.

Referenced by Draw().

void Generator::Generate ( Int_t  nObs = 1000,
Bool_t  reset = true 
)
inline
Parameters
nObs
reset

Definition at line 1048 of file TestELossDist.C.

Referenced by TestELossDist().

Double_t Generator::Generate1Signal ( )
inline
Returns

Definition at line 1017 of file TestELossDist.C.

Referenced by GenerateNSignal().

Int_t Generator::GenerateN ( )
inline
Returns

Definition at line 1001 of file TestELossDist.C.

Referenced by Generate().

Double_t Generator::GenerateNSignal ( Int_t  n)
inline
Parameters
n
Returns

Definition at line 1034 of file TestELossDist.C.

Referenced by Generate().

void Generator::PrintParameter ( Double_t  input,
TF1 *  f,
Int_t  i 
)
inline

Pretty print of parameters.

Parameters
input
f
i

Definition at line 1079 of file TestELossDist.C.

Referenced by PrintResult().

void Generator::PrintResult ( TF1 *  f)
inline

Print the result

Parameters
f

Definition at line 1100 of file TestELossDist.C.

Referenced by Draw().

Member Data Documentation

Double_t Generator::fDelta

Definition at line 886 of file TestELossDist.C.

Referenced by Draw(), DrawResult(), Generate1Signal(), Generator(), and PrintResult().

TF1* Generator::fF

Definition at line 897 of file TestELossDist.C.

Referenced by Draw(), Generate1Signal(), and Generator().

Int_t Generator::fMaxN

Definition at line 889 of file TestELossDist.C.

Referenced by DrawResult(), Generator(), and PrintResult().

TH1* Generator::fN

Definition at line 894 of file TestELossDist.C.

Referenced by Clear(), Draw(), Generate(), GenerateN(), and Generator().

Int_t Generator::fNObs

Definition at line 898 of file TestELossDist.C.

Referenced by Draw(), and Generate().

TH2* Generator::fNSum

Definition at line 893 of file TestELossDist.C.

Referenced by Clear(), Draw(), GenerateNSignal(), and Generator().

TArrayD Generator::fP

Definition at line 896 of file TestELossDist.C.

Referenced by GenerateN(), and Generator().

TArrayD Generator::fRP

Definition at line 895 of file TestELossDist.C.

Referenced by Draw(), DrawResult(), Generator(), and PrintResult().

Double_t Generator::fSigma

Definition at line 888 of file TestELossDist.C.

Referenced by Draw(), DrawResult(), Generate1Signal(), Generator(), and PrintResult().

TH1* Generator::fSimple

Definition at line 892 of file TestELossDist.C.

Referenced by Draw(), Generate(), Generate1Signal(), and Generator().

TH1* Generator::fSingle

Definition at line 890 of file TestELossDist.C.

Referenced by Clear(), Draw(), Generate(), Generate1Signal(), and Generator().

TH1* Generator::fSummed

Definition at line 891 of file TestELossDist.C.

Referenced by Clear(), Draw(), Generate(), GenerateNSignal(), and Generator().

Double_t Generator::fXi

Definition at line 887 of file TestELossDist.C.

Referenced by Draw(), DrawResult(), Generate1Signal(), Generator(), and PrintResult().


The documentation for this struct was generated from the following file: