void SCdistortionsForPerformanceNoteAll(){ SCdistortionsForPerformanceNote(1,1); SCdistortionsForPerformanceNote(2,1); SCdistortionsForPerformanceNote(1.5,1); } void SCdistortionsForPerformanceNote(Double_t radiusScale=1.5, Int_t epsScale=1,Int_t iOmegaTau = 0){ // // do for one file (given by directory) the correction (specify the gas = iOmegaTau) // use the integrate along drift line option // // 1. Initialzation form space charge maps // AliTPCSpaceCharge3D *spaceCharge = new AliTPCSpaceCharge3D; const Double_t fgke0 = 8.854187817e-12; // vacuum permittivity [A·s/(V·m)] // omega tau parameters and TF1 const Int_t nEps = 2; Int_t eps[nEps] = {20,10}; Int_t col[nEps] = {kBlack,kRed}; const Int_t nOmegaTau = 1; Double_t omegaTau[nOmegaTau] = {0.32}; TString tGas[nOmegaTau] = {"NeCO2_2"}; TString sGas[nOmegaTau] = {"Ne/CO_{2}/N_{2} (90-10-5)"}; TF1 * fdiffR[nEps]; TF1 * fdiffPhiR[nEps]; TH1F * hdiffR[nEps]; TH1F * hdiffPhiR[nEps]; TH2F * hMap[nEps]; //use always the integrate option here Double_t integrateStep = 1.; TCanvas *cMap = new TCanvas("cMap","cMap",1200,500); cMap->Divide(2,1); TCanvas *cOmegaTau = new TCanvas("cOmegaTau","cOmegaTau",1200,500); cOmegaTau->Divide(2,1); TString outfilename = Form("SCdistortions_SC_NeCO2_50kHz_radiusScaling%.0f_epsScaling%d",radiusScale,epsScale); if(radiusScale>1.1 && radiusScale < 1.9) outfilename = Form("SCdistortions_SC_NeCO2_50kHz_radiusScaling%.1f_epsScaling%d",radiusScale,epsScale); TLegend *legend = new TLegend(0.35,0.6,0.8,0.85,Form("%s: 50 kHz",sGas[iOmegaTau].Data(),"brNDC")); setupLegend(legend,0.05); //loop over epsilons for(Int_t iEps = 0; iEps < nEps; ++iEps){ cMap->cd(iEps+1)->SetPhi(150); // select gas // 0 = NeCO2N2 if(radiusScale>1.1 && radiusScale < 1.9){ cout<<"Open file = "<