ROOT logo
void SCdistortionsForTDRfinalAll(){

  SCdistortionsForTDRfinalsingle(1,1,0);
  SCdistortionsForTDRfinalsingle(1,1,1);
  SCdistortionsForTDRfinalsingle(1,1,2);
  SCdistortionsForTDRfinalsingle(1,1,3);
  SCdistortionsForTDRfinalsingle(1,1,4);

}

void SCdistortionsForTDRfinal(Double_t radiusScale=1.5, Int_t epsScale=1,Int_t iOmegaTau = 1){
  //
  // 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,kBlack};

  const Int_t nOmegaTau = 5;
  Double_t omegaTau[nOmegaTau] = {0.34,0.32,0.43,1.77,1.84};
  TString tGas[nOmegaTau] = {"NeCO2","NeCO2_2","ArCO2","NeCF4","NeCF4_2"}; // CF4 is the same as CO2 here, but different omegaTau
  TString sGas[nOmegaTau] = {"Ne-CO_{2} (90-10)","Ne-CO_{2}-N_{2} (90-10-5)","Ar-CO_{2} (90-10)","Ne-CF_{4} (90-10)","Ne-CF_{4} (80-20)"};
  TF2 * fdiffR[nEps];
  TF2 * fdiffPhiR[nEps];
  TH2F * hdiffR[nEps];
  TH2F * hdiffPhiR[nEps];
  TF2 * fdiffIntR[nEps];
  TF2 * fdiffIntPhiR[nEps];
  TF2 * fdiffIntZ[nEps];
  TH2F * hdiffIntR[nEps];
  TH2F * hdiffIntPhiR[nEps];
  TH2F * hdiffIntZ[nEps];
  TH2F * hMap[nEps];
  TH2F * hDistRMap[nEps];
  TH2F * hDistRPMap[nEps];

  //use always the integrate option here
  Double_t integrateStep = 1.;

  TCanvas *cMap = new TCanvas("cMap","cMap",1200,500);
  cMap->Divide(2,1);

  TCanvas *cDistRMap = new TCanvas("cDistRMap","cDistRMap",1200,500);
  cDistRMap->Divide(2,1);

  TCanvas *cDistRPMap = new TCanvas("cDistRPMap","cDistRPMap",1200,500);
  cDistRPMap->Divide(2,1);

  TCanvas *cDistRNonIntMap = new TCanvas("cDistRNonIntMap","cDistRNonIntMap",1200,500);
  cDistRNonIntMap->Divide(2,1);

  TCanvas *cDistRPNonIntMap = new TCanvas("cDistRPNonIntMap","cDistRPNonIntMap",1200,500);
  cDistRPNonIntMap->Divide(2,1);

  TCanvas *cDistRIntMap = new TCanvas("cDistRIntMap","cDistRIntMap",1200,500);
  cDistRIntMap->Divide(2,1);

  TCanvas *cDistRPIntMap = new TCanvas("cDistRPIntMap","cDistRPIntMap",1200,500);
  cDistRPIntMap->Divide(2,1);

  TCanvas *cDistZIntMap = new TCanvas("cDistZIntMap","cDistZIntMap",1200,500);
  cDistZIntMap->Divide(2,1);



  TString outfilename = Form("SCdistortions_%s_50kHz_radiusScaling%.0f_epsScaling%d",tGas[iOmegaTau].Data(),radiusScale,epsScale);
  if(radiusScale>1.1 && radiusScale < 1.9) outfilename = Form("SCdistortions_%s_50kHz_radiusScaling%.1f_epsScaling%d",tGas[iOmegaTau].Data(),radiusScale,epsScale);

  //loop over epsilons
  for(Int_t iEps = 0; iEps < nEps; ++iEps){

    cMap->cd(iEps+1);

  // select gas 
  // 0 = NeCO2 
  // 1 = NeCO2N2 
  // 2 = ArCO2 
  // 3 = NeCF4 
  // 4 = ArCF4 
     if(radiusScale>1.1 && radiusScale < 1.9){
      cout<<"Open file = "<<Form("/Users/physics/ALICE/TPCupgrade/SpaceCharge/Maps/SC_%s_eps%d_50kHz_radiusScaling%.1f_epsScaling%d/SpaceChargeMap.root",tGas[iOmegaTau].Data(),eps[iEps],radiusScale,epsScale)<<endl;
      spaceCharge->SetSCDataFileName(Form("/Users/physics/ALICE/TPCupgrade/SpaceCharge/Maps/SC_%s_eps%d_50kHz_radiusScaling%.1f_epsScaling%d/SpaceChargeMap.root",tGas[iOmegaTau].Data(),eps[iEps],radiusScale,epsScale));
    }
    else{
      cout<<"Open file = "<<Form("/Users/physics/ALICE/TPCupgrade/SpaceCharge/Maps/SC_%s_eps%d_50kHz_radiusScaling%.0f_epsScaling%d/SpaceChargeMap.root",tGas[iOmegaTau].Data(),eps[iEps],radiusScale,epsScale)<<endl;
      spaceCharge->SetSCDataFileName(Form("/Users/physics/ALICE/TPCupgrade/SpaceCharge/Maps/SC_%s_eps%d_50kHz_radiusScaling%.0f_epsScaling%d/SpaceChargeMap.root",tGas[iOmegaTau].Data(),eps[iEps],radiusScale,epsScale));
    }

  // select omegaTau value
  if(iOmegaTau ==  1){
    spaceCharge->SetOmegaTauT1T2(omegaTau[iOmegaTau],1.00,0.99); // Ne CO2 N2 (90-10-5)
  }
  if(iOmegaTau ==  2){
    spaceCharge->SetOmegaTauT1T2(omegaTau[iOmegaTau],0.99,1.03); // Ar CO2 (90-10)
  }
  else if(iOmegaTau == 3){
    spaceCharge->SetOmegaTauT1T2(omegaTau[iOmegaTau],0.41,0.70); // Ne CF4 (90-10)
  }
  else if(iOmegaTau == 4){
    spaceCharge->SetOmegaTauT1T2(omegaTau[iOmegaTau],0.41,0.70); // Ne CF4 (80-20) (not in table use same as for other)
  }
  else{
    spaceCharge->SetOmegaTauT1T2(omegaTau[iOmegaTau],1,1.01); // Ne CO2 (90-10)
  }
  //
  //
  // init and add to corrections
  spaceCharge->InitSpaceCharge3DDistortion();
  spaceCharge->AddVisualCorrection(spaceCharge,1);

  // draw the map
  hMap[iEps] = (TH2F*)spaceCharge->CreateHistoSCinZR(0.);
  hMap[iEps]->Scale(fgke0/1e6*1e15); // C/m^3/e0 --> fC/cm^3
  hMap[iEps]->GetXaxis()->SetTitle("z (cm)");
  hMap[iEps]->GetYaxis()->SetTitle("r (cm)");
  hMap[iEps]->GetZaxis()->SetTitle("");
  //hMap[iEps]->GetZaxis()->SetTitle("#rho_{SC} (fC/cm^{3})");
  hMap[iEps]->SetTitleSize(0.05,"XYZ");
  //hMap[iEps]->SetTitleOffset(1.5,"XY");
  //hMap[iEps]->SetTitleOffset(0.9,"Z");
  hMap[iEps]->SetTitle(Form("#rho_{SC} (fC/cm^{3}) for %s, 50 kHz, #varepsilon = %d",sGas[iOmegaTau].Data(),eps[iEps]));
  hMap[iEps]->DrawCopy("colz");

  // draw the distortion maps
  cDistRMap->cd(iEps+1);
  hDistRMap[iEps] = (TH2F*)spaceCharge->CreateHistoDRinZR(0.);
  hDistRMap[iEps]->SetMaximum(25);
  hDistRMap[iEps]->SetMinimum(-12);
  hDistRMap[iEps]->GetXaxis()->SetTitle("z (cm)");
  hDistRMap[iEps]->GetYaxis()->SetTitle("r (cm)");
  hDistRMap[iEps]->GetZaxis()->SetTitle("");
  hDistRMap[iEps]->SetTitleSize(0.05,"XYZ");
  //hDistRMap[iEps]->SetTitleOffset(1.5,"XY");
  //hDistRMap[iEps]->SetTitleOffset(0.9,"Z");
  hDistRMap[iEps]->SetTitle(Form("dr (cm) for %s, 50 kHz, #varepsilon = %d",sGas[iOmegaTau].Data(),eps[iEps]));
  hDistRMap[iEps]->DrawCopy("colz");

  cDistRPMap->cd(iEps+1);
  hDistRPMap[iEps] = (TH2F*)spaceCharge->CreateHistoDRinZR(0.);
  hDistRPMap[iEps]->SetMaximum(25);
  hDistRPMap[iEps]->SetMinimum(-12);
  hDistRPMap[iEps]->GetXaxis()->SetTitle("z (cm)");
  hDistRPMap[iEps]->GetYaxis()->SetTitle("r (cm)");
  hDistRPMap[iEps]->GetZaxis()->SetTitle("");
  hDistRPMap[iEps]->SetTitleSize(0.05,"XYZ");
  //hDistRPMap[iEps]->SetTitleOffset(1.5,"XY");
  //hDistRPMap[iEps]->SetTitleOffset(0.9,"Z");
  hDistRPMap[iEps]->SetTitle(Form("d(r#varphi) (cm) for %s, 50 kHz, #varepsilon = %d",sGas[iOmegaTau].Data(),eps[iEps]));
  hDistRPMap[iEps]->DrawCopy("colz");

  
  //
  // 2. get TF2 with differences 
  //
  // get corrections (at y = 0) for visual correction 1 (last argument)
  // 0 = dR
  // 1 = dPhiR
  // 2 = dZ?    
  fdiffR[iEps]       = new TF2(Form("fdiffR%d",iEps), Form("AliTPCCorrection::GetDistXYZ(y,0,x,0,1)"),-250,250,85,250);
  fdiffPhiR[iEps]    = new TF2(Form("fdiffPhiR%d",iEps), Form("AliTPCCorrection::GetDistXYZ(y,0,x,1,1)"),-250,250,85,250);
  hdiffR[iEps] = (TH2F*)fdiffR[iEps]->GetHistogram();
  hdiffPhiR[iEps] = (TH2F*)fdiffPhiR[iEps]->GetHistogram();

  hdiffR[iEps]->SetName(fdiffR[iEps]->GetName());
  hdiffPhiR[iEps]->SetName(fdiffPhiR[iEps]->GetName());

  fdiffIntR[iEps]       = new TF2(Form("fdiffIntR%d",iEps), Form("AliTPCCorrection::GetDistXYZIntegrateZ(y,0,x,0,1,%f)",integrateStep),-250,250,85,250);
  fdiffIntPhiR[iEps]    = new TF2(Form("fdiffIntPhiR%d",iEps), Form("AliTPCCorrection::GetDistXYZIntegrateZ(y,0,x,1,1,%f)",integrateStep),-250,250,85,250);
  fdiffIntZ[iEps]    = new TF2(Form("fdiffIntZ%d",iEps), Form("AliTPCCorrection::GetDistXYZIntegrateZ(y,0,x,2,1,%f)",integrateStep),-250,250,85,250);
  hdiffIntR[iEps] = (TH2F*)fdiffIntR[iEps]->GetHistogram();
  hdiffIntPhiR[iEps] = (TH2F*)fdiffIntPhiR[iEps]->GetHistogram();
  hdiffIntZ[iEps] = (TH2F*)fdiffIntZ[iEps]->GetHistogram();

  hdiffIntR[iEps]->SetName(fdiffIntR[iEps]->GetName());
  hdiffIntPhiR[iEps]->SetName(fdiffIntPhiR[iEps]->GetName());
  hdiffIntZ[iEps]->SetName(fdiffIntZ[iEps]->GetName());

  

  //
  // 3. Plot and store TH1Fs
  //
  
  // draw the distortion maps
  cDistRNonIntMap->cd(iEps+1);
  hdiffR[iEps]->SetMaximum(25);
  hdiffR[iEps]->SetMinimum(-12);
  hdiffR[iEps]->GetXaxis()->SetTitle("z (cm)");
  hdiffR[iEps]->GetYaxis()->SetTitle("r (cm)");
  //hdiffR[iEps]->GetZaxis()->SetTitle("dr (cm)");
  hdiffR[iEps]->SetTitleSize(0.05,"XYZ");
  //hdiffR[iEps]->SetTitleOffset(1.5,"XY");
  //hdiffR[iEps]->SetTitleOffset(0.9,"Z");
  hdiffR[iEps]->SetTitle(Form("dr (cm) for %s, 50 kHz, #varepsilon = %d",sGas[iOmegaTau].Data(),eps[iEps]));
  hdiffR[iEps]->DrawCopy("colz");


  cDistRPNonIntMap->cd(iEps+1);
  hdiffPhiR[iEps]->SetMaximum(25);
  hdiffPhiR[iEps]->SetMinimum(-12);
  hdiffPhiR[iEps]->GetXaxis()->SetTitle("z (cm)");
  hdiffPhiR[iEps]->GetYaxis()->SetTitle("r (cm)");
  hdiffPhiR[iEps]->SetTitleSize(0.05,"XYZ");
  //hdiffPhiR[iEps]->SetTitleOffset(1.5,"XY");
  //hdiffPhiR[iEps]->SetTitleOffset(0.9,"Z");
  hdiffPhiR[iEps]->SetTitle(Form("d(r#varphi) (cm) for %s, 50 kHz, #varepsilon = %d",sGas[iOmegaTau].Data(),eps[iEps]));
  hdiffPhiR[iEps]->DrawCopy("colz");

  cDistRIntMap->cd(iEps+1);
  hdiffIntR[iEps]->SetMaximum(25);
  hdiffIntR[iEps]->SetMinimum(-12);
  hdiffIntR[iEps]->GetXaxis()->SetTitle("z (cm)");
  hdiffIntR[iEps]->GetYaxis()->SetTitle("r (cm)");
  //hdiffIntR[iEps]->GetZaxis()->SetTitle("dr (cm)");
  hdiffIntR[iEps]->SetTitleSize(0.05,"XYZ");
  //hdiffIntR[iEps]->SetTitleOffset(1.5,"XY");
  //hdiffIntR[iEps]->SetTitleOffset(0.9,"Z");
  hdiffIntR[iEps]->SetTitle(Form("dr (cm) for %s, 50 kHz, #varepsilon = %d",sGas[iOmegaTau].Data(),eps[iEps]));
  hdiffIntR[iEps]->DrawCopy("colz");


  cDistRPIntMap->cd(iEps+1);
  hdiffIntPhiR[iEps]->SetMaximum(5);
  hdiffIntPhiR[iEps]->SetMinimum(-9);
  hdiffIntPhiR[iEps]->GetXaxis()->SetTitle("z (cm)");
  hdiffIntPhiR[iEps]->GetYaxis()->SetTitle("r (cm)");
  hdiffIntPhiR[iEps]->SetTitleSize(0.05,"XYZ");
  //hdiffIntPhiR[iEps]->SetTitleOffset(1.5,"XY");
  //hdiffIntPhiR[iEps]->SetTitleOffset(0.9,"Z");
  hdiffIntPhiR[iEps]->SetTitle(Form("d(r#varphi) (cm) for %s, 50 kHz, #varepsilon = %d",sGas[iOmegaTau].Data(),eps[iEps]));
  hdiffIntPhiR[iEps]->DrawCopy("colz");

  cDistZIntMap->cd(iEps+1);
  hdiffIntZ[iEps]->SetMaximum(5);
  hdiffIntZ[iEps]->SetMinimum(-5);
  hdiffIntZ[iEps]->GetXaxis()->SetTitle("z (cm)");
  hdiffIntZ[iEps]->GetYaxis()->SetTitle("r (cm)");
  hdiffIntZ[iEps]->SetTitleSize(0.05,"XYZ");
  //hdiffIntZ[iEps]->SetTitleOffset(1.5,"XY");
  //hdiffIntZ[iEps]->SetTitleOffset(0.9,"Z");
  hdiffIntZ[iEps]->SetTitle(Form("dz (cm) for %s, 50 kHz, #varepsilon = %d",sGas[iOmegaTau].Data(),eps[iEps]));
  hdiffIntZ[iEps]->DrawCopy("colz");
  }
  
  // just control histograms (not saved)
  // cDistRNonIntMap->SaveAs(Form("%s_TDR_DistortR.eps",outfilename.Data()));
  // cDistRNonIntMap->SaveAs(Form("%s_TDR_DistortR.png",outfilename.Data()));
  // cDistRNonIntMap->SaveAs(Form("%s_TDR_DistortR.pdf",outfilename.Data()));
  // cDistRPNonIntMap->SaveAs(Form("%s_TDR_DistortRPhi.eps",outfilename.Data()));
  // cDistRPNonIntMap->SaveAs(Form("%s_TDR_DistortRPhi.png",outfilename.Data()));
  // cDistRPNonIntMap->SaveAs(Form("%s_TDR_DistortRPhi.pdf",outfilename.Data()));

  // histograms for TDR (saved)
  cMap->SaveAs(Form("%s_TDR_SpaceCharge.eps",outfilename.Data()));
  cMap->SaveAs(Form("%s_TDR_SpaceCharge.png",outfilename.Data()));
  cMap->SaveAs(Form("%s_TDR_SpaceCharge.pdf",outfilename.Data()));
  cDistRIntMap->SaveAs(Form("%s_TDR_DistortIntR.eps",outfilename.Data()));
  cDistRIntMap->SaveAs(Form("%s_TDR_DistortIntR.png",outfilename.Data()));
  cDistRIntMap->SaveAs(Form("%s_TDR_DistortIntR.pdf",outfilename.Data()));
  cDistRPIntMap->SaveAs(Form("%s_TDR_DistortIntRPhi.eps",outfilename.Data()));
  cDistRPIntMap->SaveAs(Form("%s_TDR_DistortIntRPhi.png",outfilename.Data()));
  cDistRPIntMap->SaveAs(Form("%s_TDR_DistortIntRPhi.pdf",outfilename.Data()));
  cDistZIntMap->SaveAs(Form("%s_TDR_DistortIntZ.eps",outfilename.Data()));
  cDistZIntMap->SaveAs(Form("%s_TDR_DistortIntZ.png",outfilename.Data()));
  cDistZIntMap->SaveAs(Form("%s_TDR_DistortIntZ.pdf",outfilename.Data()));
}

  
//____________________________________________________________//
void setupLegend(TLegend *currentLegend=0,float currentTextSize=0.07){
  currentLegend->SetTextFont(42);
  currentLegend->SetBorderSize(0);
  currentLegend->SetFillStyle(0);
  currentLegend->SetFillColor(0);
  currentLegend->SetMargin(0.25);
  currentLegend->SetTextSize(currentTextSize);
  currentLegend->SetEntrySeparation(0.5);
  return;
}
 SCdistortionsForTDRfinal.C:1
 SCdistortionsForTDRfinal.C:2
 SCdistortionsForTDRfinal.C:3
 SCdistortionsForTDRfinal.C:4
 SCdistortionsForTDRfinal.C:5
 SCdistortionsForTDRfinal.C:6
 SCdistortionsForTDRfinal.C:7
 SCdistortionsForTDRfinal.C:8
 SCdistortionsForTDRfinal.C:9
 SCdistortionsForTDRfinal.C:10
 SCdistortionsForTDRfinal.C:11
 SCdistortionsForTDRfinal.C:12
 SCdistortionsForTDRfinal.C:13
 SCdistortionsForTDRfinal.C:14
 SCdistortionsForTDRfinal.C:15
 SCdistortionsForTDRfinal.C:16
 SCdistortionsForTDRfinal.C:17
 SCdistortionsForTDRfinal.C:18
 SCdistortionsForTDRfinal.C:19
 SCdistortionsForTDRfinal.C:20
 SCdistortionsForTDRfinal.C:21
 SCdistortionsForTDRfinal.C:22
 SCdistortionsForTDRfinal.C:23
 SCdistortionsForTDRfinal.C:24
 SCdistortionsForTDRfinal.C:25
 SCdistortionsForTDRfinal.C:26
 SCdistortionsForTDRfinal.C:27
 SCdistortionsForTDRfinal.C:28
 SCdistortionsForTDRfinal.C:29
 SCdistortionsForTDRfinal.C:30
 SCdistortionsForTDRfinal.C:31
 SCdistortionsForTDRfinal.C:32
 SCdistortionsForTDRfinal.C:33
 SCdistortionsForTDRfinal.C:34
 SCdistortionsForTDRfinal.C:35
 SCdistortionsForTDRfinal.C:36
 SCdistortionsForTDRfinal.C:37
 SCdistortionsForTDRfinal.C:38
 SCdistortionsForTDRfinal.C:39
 SCdistortionsForTDRfinal.C:40
 SCdistortionsForTDRfinal.C:41
 SCdistortionsForTDRfinal.C:42
 SCdistortionsForTDRfinal.C:43
 SCdistortionsForTDRfinal.C:44
 SCdistortionsForTDRfinal.C:45
 SCdistortionsForTDRfinal.C:46
 SCdistortionsForTDRfinal.C:47
 SCdistortionsForTDRfinal.C:48
 SCdistortionsForTDRfinal.C:49
 SCdistortionsForTDRfinal.C:50
 SCdistortionsForTDRfinal.C:51
 SCdistortionsForTDRfinal.C:52
 SCdistortionsForTDRfinal.C:53
 SCdistortionsForTDRfinal.C:54
 SCdistortionsForTDRfinal.C:55
 SCdistortionsForTDRfinal.C:56
 SCdistortionsForTDRfinal.C:57
 SCdistortionsForTDRfinal.C:58
 SCdistortionsForTDRfinal.C:59
 SCdistortionsForTDRfinal.C:60
 SCdistortionsForTDRfinal.C:61
 SCdistortionsForTDRfinal.C:62
 SCdistortionsForTDRfinal.C:63
 SCdistortionsForTDRfinal.C:64
 SCdistortionsForTDRfinal.C:65
 SCdistortionsForTDRfinal.C:66
 SCdistortionsForTDRfinal.C:67
 SCdistortionsForTDRfinal.C:68
 SCdistortionsForTDRfinal.C:69
 SCdistortionsForTDRfinal.C:70
 SCdistortionsForTDRfinal.C:71
 SCdistortionsForTDRfinal.C:72
 SCdistortionsForTDRfinal.C:73
 SCdistortionsForTDRfinal.C:74
 SCdistortionsForTDRfinal.C:75
 SCdistortionsForTDRfinal.C:76
 SCdistortionsForTDRfinal.C:77
 SCdistortionsForTDRfinal.C:78
 SCdistortionsForTDRfinal.C:79
 SCdistortionsForTDRfinal.C:80
 SCdistortionsForTDRfinal.C:81
 SCdistortionsForTDRfinal.C:82
 SCdistortionsForTDRfinal.C:83
 SCdistortionsForTDRfinal.C:84
 SCdistortionsForTDRfinal.C:85
 SCdistortionsForTDRfinal.C:86
 SCdistortionsForTDRfinal.C:87
 SCdistortionsForTDRfinal.C:88
 SCdistortionsForTDRfinal.C:89
 SCdistortionsForTDRfinal.C:90
 SCdistortionsForTDRfinal.C:91
 SCdistortionsForTDRfinal.C:92
 SCdistortionsForTDRfinal.C:93
 SCdistortionsForTDRfinal.C:94
 SCdistortionsForTDRfinal.C:95
 SCdistortionsForTDRfinal.C:96
 SCdistortionsForTDRfinal.C:97
 SCdistortionsForTDRfinal.C:98
 SCdistortionsForTDRfinal.C:99
 SCdistortionsForTDRfinal.C:100
 SCdistortionsForTDRfinal.C:101
 SCdistortionsForTDRfinal.C:102
 SCdistortionsForTDRfinal.C:103
 SCdistortionsForTDRfinal.C:104
 SCdistortionsForTDRfinal.C:105
 SCdistortionsForTDRfinal.C:106
 SCdistortionsForTDRfinal.C:107
 SCdistortionsForTDRfinal.C:108
 SCdistortionsForTDRfinal.C:109
 SCdistortionsForTDRfinal.C:110
 SCdistortionsForTDRfinal.C:111
 SCdistortionsForTDRfinal.C:112
 SCdistortionsForTDRfinal.C:113
 SCdistortionsForTDRfinal.C:114
 SCdistortionsForTDRfinal.C:115
 SCdistortionsForTDRfinal.C:116
 SCdistortionsForTDRfinal.C:117
 SCdistortionsForTDRfinal.C:118
 SCdistortionsForTDRfinal.C:119
 SCdistortionsForTDRfinal.C:120
 SCdistortionsForTDRfinal.C:121
 SCdistortionsForTDRfinal.C:122
 SCdistortionsForTDRfinal.C:123
 SCdistortionsForTDRfinal.C:124
 SCdistortionsForTDRfinal.C:125
 SCdistortionsForTDRfinal.C:126
 SCdistortionsForTDRfinal.C:127
 SCdistortionsForTDRfinal.C:128
 SCdistortionsForTDRfinal.C:129
 SCdistortionsForTDRfinal.C:130
 SCdistortionsForTDRfinal.C:131
 SCdistortionsForTDRfinal.C:132
 SCdistortionsForTDRfinal.C:133
 SCdistortionsForTDRfinal.C:134
 SCdistortionsForTDRfinal.C:135
 SCdistortionsForTDRfinal.C:136
 SCdistortionsForTDRfinal.C:137
 SCdistortionsForTDRfinal.C:138
 SCdistortionsForTDRfinal.C:139
 SCdistortionsForTDRfinal.C:140
 SCdistortionsForTDRfinal.C:141
 SCdistortionsForTDRfinal.C:142
 SCdistortionsForTDRfinal.C:143
 SCdistortionsForTDRfinal.C:144
 SCdistortionsForTDRfinal.C:145
 SCdistortionsForTDRfinal.C:146
 SCdistortionsForTDRfinal.C:147
 SCdistortionsForTDRfinal.C:148
 SCdistortionsForTDRfinal.C:149
 SCdistortionsForTDRfinal.C:150
 SCdistortionsForTDRfinal.C:151
 SCdistortionsForTDRfinal.C:152
 SCdistortionsForTDRfinal.C:153
 SCdistortionsForTDRfinal.C:154
 SCdistortionsForTDRfinal.C:155
 SCdistortionsForTDRfinal.C:156
 SCdistortionsForTDRfinal.C:157
 SCdistortionsForTDRfinal.C:158
 SCdistortionsForTDRfinal.C:159
 SCdistortionsForTDRfinal.C:160
 SCdistortionsForTDRfinal.C:161
 SCdistortionsForTDRfinal.C:162
 SCdistortionsForTDRfinal.C:163
 SCdistortionsForTDRfinal.C:164
 SCdistortionsForTDRfinal.C:165
 SCdistortionsForTDRfinal.C:166
 SCdistortionsForTDRfinal.C:167
 SCdistortionsForTDRfinal.C:168
 SCdistortionsForTDRfinal.C:169
 SCdistortionsForTDRfinal.C:170
 SCdistortionsForTDRfinal.C:171
 SCdistortionsForTDRfinal.C:172
 SCdistortionsForTDRfinal.C:173
 SCdistortionsForTDRfinal.C:174
 SCdistortionsForTDRfinal.C:175
 SCdistortionsForTDRfinal.C:176
 SCdistortionsForTDRfinal.C:177
 SCdistortionsForTDRfinal.C:178
 SCdistortionsForTDRfinal.C:179
 SCdistortionsForTDRfinal.C:180
 SCdistortionsForTDRfinal.C:181
 SCdistortionsForTDRfinal.C:182
 SCdistortionsForTDRfinal.C:183
 SCdistortionsForTDRfinal.C:184
 SCdistortionsForTDRfinal.C:185
 SCdistortionsForTDRfinal.C:186
 SCdistortionsForTDRfinal.C:187
 SCdistortionsForTDRfinal.C:188
 SCdistortionsForTDRfinal.C:189
 SCdistortionsForTDRfinal.C:190
 SCdistortionsForTDRfinal.C:191
 SCdistortionsForTDRfinal.C:192
 SCdistortionsForTDRfinal.C:193
 SCdistortionsForTDRfinal.C:194
 SCdistortionsForTDRfinal.C:195
 SCdistortionsForTDRfinal.C:196
 SCdistortionsForTDRfinal.C:197
 SCdistortionsForTDRfinal.C:198
 SCdistortionsForTDRfinal.C:199
 SCdistortionsForTDRfinal.C:200
 SCdistortionsForTDRfinal.C:201
 SCdistortionsForTDRfinal.C:202
 SCdistortionsForTDRfinal.C:203
 SCdistortionsForTDRfinal.C:204
 SCdistortionsForTDRfinal.C:205
 SCdistortionsForTDRfinal.C:206
 SCdistortionsForTDRfinal.C:207
 SCdistortionsForTDRfinal.C:208
 SCdistortionsForTDRfinal.C:209
 SCdistortionsForTDRfinal.C:210
 SCdistortionsForTDRfinal.C:211
 SCdistortionsForTDRfinal.C:212
 SCdistortionsForTDRfinal.C:213
 SCdistortionsForTDRfinal.C:214
 SCdistortionsForTDRfinal.C:215
 SCdistortionsForTDRfinal.C:216
 SCdistortionsForTDRfinal.C:217
 SCdistortionsForTDRfinal.C:218
 SCdistortionsForTDRfinal.C:219
 SCdistortionsForTDRfinal.C:220
 SCdistortionsForTDRfinal.C:221
 SCdistortionsForTDRfinal.C:222
 SCdistortionsForTDRfinal.C:223
 SCdistortionsForTDRfinal.C:224
 SCdistortionsForTDRfinal.C:225
 SCdistortionsForTDRfinal.C:226
 SCdistortionsForTDRfinal.C:227
 SCdistortionsForTDRfinal.C:228
 SCdistortionsForTDRfinal.C:229
 SCdistortionsForTDRfinal.C:230
 SCdistortionsForTDRfinal.C:231
 SCdistortionsForTDRfinal.C:232
 SCdistortionsForTDRfinal.C:233
 SCdistortionsForTDRfinal.C:234
 SCdistortionsForTDRfinal.C:235
 SCdistortionsForTDRfinal.C:236
 SCdistortionsForTDRfinal.C:237
 SCdistortionsForTDRfinal.C:238
 SCdistortionsForTDRfinal.C:239
 SCdistortionsForTDRfinal.C:240
 SCdistortionsForTDRfinal.C:241
 SCdistortionsForTDRfinal.C:242
 SCdistortionsForTDRfinal.C:243
 SCdistortionsForTDRfinal.C:244
 SCdistortionsForTDRfinal.C:245
 SCdistortionsForTDRfinal.C:246
 SCdistortionsForTDRfinal.C:247
 SCdistortionsForTDRfinal.C:248
 SCdistortionsForTDRfinal.C:249
 SCdistortionsForTDRfinal.C:250
 SCdistortionsForTDRfinal.C:251
 SCdistortionsForTDRfinal.C:252
 SCdistortionsForTDRfinal.C:253
 SCdistortionsForTDRfinal.C:254
 SCdistortionsForTDRfinal.C:255
 SCdistortionsForTDRfinal.C:256
 SCdistortionsForTDRfinal.C:257
 SCdistortionsForTDRfinal.C:258
 SCdistortionsForTDRfinal.C:259
 SCdistortionsForTDRfinal.C:260
 SCdistortionsForTDRfinal.C:261
 SCdistortionsForTDRfinal.C:262
 SCdistortionsForTDRfinal.C:263
 SCdistortionsForTDRfinal.C:264
 SCdistortionsForTDRfinal.C:265
 SCdistortionsForTDRfinal.C:266
 SCdistortionsForTDRfinal.C:267
 SCdistortionsForTDRfinal.C:268
 SCdistortionsForTDRfinal.C:269
 SCdistortionsForTDRfinal.C:270
 SCdistortionsForTDRfinal.C:271
 SCdistortionsForTDRfinal.C:272
 SCdistortionsForTDRfinal.C:273
 SCdistortionsForTDRfinal.C:274
 SCdistortionsForTDRfinal.C:275
 SCdistortionsForTDRfinal.C:276
 SCdistortionsForTDRfinal.C:277
 SCdistortionsForTDRfinal.C:278
 SCdistortionsForTDRfinal.C:279
 SCdistortionsForTDRfinal.C:280
 SCdistortionsForTDRfinal.C:281
 SCdistortionsForTDRfinal.C:282
 SCdistortionsForTDRfinal.C:283
 SCdistortionsForTDRfinal.C:284
 SCdistortionsForTDRfinal.C:285
 SCdistortionsForTDRfinal.C:286
 SCdistortionsForTDRfinal.C:287