AliPhysics  51e3ab4 (51e3ab4)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RunTestF.C
Go to the documentation of this file.
1 void
2 RunTestF(UShort_t single=0, Bool_t old=false)
3 {
4  gSystem->AddIncludePath(Form("%s-DTEST_SHIFT -DTEST_FITTER -I$ANA_SRC -I.",
5  (old ? "-DNO_SIGMA_SHIFT " : "")));
6  gROOT->SetMacroPath(Form("%s:%s",gROOT->GetMacroPath(),"$ANA_SRC"));
7  gROOT->LoadMacro("AliLandauGaus.h++g");
8  gROOT->LoadMacro("AliLandauGausFitter.h+g");
9  gROOT->LoadMacro("TestF.C++g");
10 
11  Double_t vv[] = { 0.6, 0.7, 0.8, 0.9, 1.0, 1.1, 1.2, 1.3, 1.4 };
12  TArrayD v(9, vv);
13 
14  // TestShift ts;
15  // ts.ScanOne(true, v, 8);
16  // ts.ScanTwo(v, 8);
17 
18  TestFit tf;
19  tf.ScanOne(true, 0, v.GetArray(), 5);
20 
21  if (gROOT->IsBatch()) return;
22  TFile::Open("shiftSigmaXi.root");
23  TFile::Open("fitSigma.root");
24  new TBrowser();
25 }
26 
27 
double Double_t
Definition: External.C:58
TSystem * gSystem
unsigned short UShort_t
Definition: External.C:28
bool Bool_t
Definition: External.C:53
void RunTestF(UShort_t single=0, Bool_t old=false)
Definition: RunTestF.C:2