Coverity fixes
[u/mrichter/AliRoot.git] / PWG2 / EVCHAR / runAliCentralityByFunction.C
CommitLineData
e6f3f2fe 1{
2 //load libraries
3 //gSystem->SetBuildDir("/tmp");
4 gROOT->LoadMacro("AliCentralityByFunction.cxx+");
5
6 const char *finname ="/home/alberica/analysis/zdc/out5/output_f8TOT_correlations.root"; // name input file
7 const char *foutname="test_AliCentralityByFunction.root"; // name output file
8
9 float percentXsec=100.0;
10
11 AliCentralityByFunction *mPM = new AliCentralityByFunction();
12
13 mPM.AddHisto("hmultV0vsmultFMD_all");
14 mPM.SetFitFunction("hmultV0vsmultFMD_all","fitf_pol3", 0,30000);
15
16 mPM.AddHisto("hNtrackletsvsmultV0_all");
17 mPM.SetFitFunction("hNtrackletsvsmultV0_all","fitf_pol2",0,10000);
18
19 mPM.AddHisto("hEzemvsEzdc_all");
20 mPM.SetFitFunction("hEzemvsEzdc_all","fitf_pol6",0,3.1);
21
22 // mPM.AddHisto("hNtracksvsEzdc_all");
23 // mPM.AddHisto("hNtrackletsvsEzdc_all");
24 // mPM.AddHisto("hNclusters0vsEzdc_all");
25 // mPM.AddHisto("hmultV0vsEzdc_all");
26 // mPM.AddHisto("hmultFMDvsEzdc_all");
27 // mPM.AddHisto("hNtracksvsEzem_all");
28 // mPM.AddHisto("hNtrackletsvsEzem_all");
29 // mPM.AddHisto("hNclusters0vsEzem_all");
30 // mPM.AddHisto("hmultV0vsEzem_all");
31 // mPM.AddHisto("hmultFMDvsEzem_all");
32 // mPM.AddHisto("hNtracksvsmultV0_all");
33 // mPM.AddHisto("hNclusters0vsmultV0_all");
34 // mPM.AddHisto("hNtracksvsmultFMD_all");
35 // mPM.AddHisto("hNtrackletsvsmultFMD_all");
36 // mPM.AddHisto("hNclusters0vsmultFMD_all");
37
38 mPM.SetPercentileCrossSection(percentXsec);
39 mPM.SetPercentileFile(foutname);
40
41 mPM.MakePercentiles(finname);
42
43
44}