AliRoot Core  3dc7879 (3dc7879)
AliNDLocalRegressionTest.C File Reference
#include "THn.h"
#include "TCanvas.h"
#include "AliNDLocalRegression.h"
#include "TStyle.h"
#include "TPaveText.h"
Include dependency graph for AliNDLocalRegressionTest.C:

Go to the source code of this file.

Functions

void UnitTestGaussNoise ()
 
void UnitTestStreamer ()
 
Bool_t UnitTestContrain ()
 
void PlotData (TH1F *hData, TString xTitle="xTitle", TString yTitle="yTitle", Color_t color=kBlack, TString zTitle="zTitle", Double_t rms=999999., Double_t eRms=0., Double_t mean=999999., Double_t eMean=0.)
 
void UnitTestGaussNoisePlusOutliers ()
 
void UnitTestBreitWignerNoise ()
 
void AliNDLocalRegressionTest (Int_t npoints=10000, Int_t ndim=2, const char *sfromula="cos(7*x[0]/pi)*sin(11*x[1]/pi)", Double_t err=0.1)
 

Variables

TTree * treeIn =0
 
AliNDLocalRegressionpfitNDIdeal =0
 
AliNDLocalRegressionpfitNDGaus0 =0
 
AliNDLocalRegressionpfitNDGaus1 =0
 
AliNDLocalRegressionpfitNDGaus2 =0
 
AliNDLocalRegressionpfitNDGaus3 =0
 
AliNDLocalRegressionpfitNDBreit0 =0
 
AliNDLocalRegressionpfitNDBreit1 =0
 
AliNDLocalRegressionpfitNDBreit2 =0
 
THn * hN =0
 
TFormula * pformula = 0
 

Function Documentation

void AliNDLocalRegressionTest ( Int_t  npoints = 10000,
Int_t  ndim = 2,
const char *  sfromula = "cos(7*x[0]/pi)*sin(11*x[1]/pi)",
Double_t  err = 0.1 
)

Definition at line 216 of file AliNDLocalRegressionTest.C.

void PlotData ( TH1F *  hData,
TString  xTitle = "xTitle",
TString  yTitle = "yTitle",
Color_t  color = kBlack,
TString  zTitle = "zTitle",
Double_t  rms = 999999.,
Double_t  eRms = 0.,
Double_t  mean = 999999.,
Double_t  eMean = 0. 
)
void UnitTestBreitWignerNoise ( )

Definition at line 158 of file AliNDLocalRegressionTest.C.

Referenced by AliNDLocalRegressionTest().

Bool_t UnitTestContrain ( )

Definition at line 367 of file AliNDLocalRegressionTest.C.

Referenced by AliNDLocalRegressionTest().

void UnitTestGaussNoise ( )

Definition at line 90 of file AliNDLocalRegressionTest.C.

Referenced by AliNDLocalRegressionTest().

void UnitTestGaussNoisePlusOutliers ( )

Definition at line 123 of file AliNDLocalRegressionTest.C.

Referenced by AliNDLocalRegressionTest().

void UnitTestStreamer ( )

Definition at line 191 of file AliNDLocalRegressionTest.C.

Referenced by AliNDLocalRegressionTest().

Variable Documentation

THn* hN =0

Definition at line 41 of file AliNDLocalRegressionTest.C.

Referenced by AliNDLocalRegressionTest().

AliNDLocalRegression* pfitNDBreit0 =0

Definition at line 37 of file AliNDLocalRegressionTest.C.

AliNDLocalRegression* pfitNDBreit1 =0

Definition at line 38 of file AliNDLocalRegressionTest.C.

AliNDLocalRegression* pfitNDBreit2 =0

Definition at line 39 of file AliNDLocalRegressionTest.C.

AliNDLocalRegression* pfitNDGaus0 =0

Definition at line 32 of file AliNDLocalRegressionTest.C.

AliNDLocalRegression* pfitNDGaus1 =0

Definition at line 33 of file AliNDLocalRegressionTest.C.

AliNDLocalRegression* pfitNDGaus2 =0

Definition at line 34 of file AliNDLocalRegressionTest.C.

AliNDLocalRegression* pfitNDGaus3 =0

Definition at line 35 of file AliNDLocalRegressionTest.C.

AliNDLocalRegression* pfitNDIdeal =0

Definition at line 31 of file AliNDLocalRegressionTest.C.

TFormula* pformula = 0

Definition at line 42 of file AliNDLocalRegressionTest.C.

Referenced by AliNDLocalRegressionTest().