ROOT logo
#if !defined(__CINT__) || defined(__MAKECINT__)
#include <Riostream.h>
#include <TH1D.h>
#include <TFile.h>
#include <TTree.h>
#include <TMath.h>
#include <TParticle.h>
#include <TPDGCode.h>
#include <TDatabasePDG.h>
#include <TRandom3.h>
#include <TChain.h>
#include <TROOT.h>
#include <TH2F.h>
#include <TCanvas.h>
#include <TNtuple.h>
#include <TRandom3.h>
#include <TProfile.h>
#include <TColor.h>
#include <TLegend.h>
#include <TF1.h>
#include <TStyle.h>
#include <TGraphErrors.h>
#include <TTimeStamp.h>
#endif

TObjArray *gList = 0;
TTree     *gGTree = 0;

// from PPR
const Int_t nclasses = 6;
Double_t bmin[nclasses] = {0,3,6,9,12,15};
Double_t bmax[nclasses] = {3,6,9,12,15,18};
Double_t fxs[nclasses];

// analysis cuts
const int nclassesan = 11;
Double_t bminan[nclassesan];
Double_t bmaxan[nclassesan];
Double_t fxsan[nclassesan];
Double_t fxsan1[nclassesan] = {5,5,10,10,10,10,10,10,10,10,10};
Double_t npminan[nclassesan];
Double_t npmaxan[nclassesan];
Double_t npfxsan[nclassesan];
const char *lan[nclassesan] = 
  {"0-5","5-10","10-20","20-30","30-40","40-50","50-60","60-70","70-80","80-90","90-100"};
Int_t colorcl[nclassesan] = 
  {kYellow-9,kYellow,kOrange-4,kOrange+6,kOrange+8,kRed,kRed+1,kRed+2,kMagenta+3,kBlue+3,kBlue+4};
Double_t npmean[nclassesan];
Double_t nprms[nclassesan];

TCanvas *Canvas(const char *name, const char *title=0, Int_t ww=600, Int_t wh=400);
TH1 *Hist(const char *hname, const char *name, const char *title, const char *xtitle, 
          const char *ytitle, Bool_t stats=0, Int_t lc=0, Int_t ls=0);
TH1 *Hist(TH1 *h, const char *name, const char *title, const char *xtitle, 
          const char *ytitle, Bool_t stats=0, Int_t lc=0, Int_t ls=0);
TH1 *Hist(const char *name, const char *title, const char *xtitle, const char *ytitle, 
          Bool_t stats=0, Int_t lc=1, Int_t ls=1);
TObjArray *Draw(const char *expr, const char *sel=0, const char *opt=0, Int_t type=1,
                const char *scl=0, Double_t *smin=0, Double_t *smax=0, TTree *t=0);
void Classes(TH1 *h, Double_t *resmin, Double_t *resmax, Double_t *fxs, Int_t pos=1, Int_t verbose=0);
TCanvas *FitNpartDists(const char *name, TObjArray *arr, Int_t verbose=0);
void Store(TObject *o, const char *name=0, const char *fname="gres");

// macro starts here

void glauber() 
{
  Bool_t pImDist               = 0;
  Bool_t pNpDist               = 0;
  Bool_t pNpDistSelWithImp     = 1;
  Bool_t pNpDistSelWithImpFits = 0;
  Bool_t pMidRecResStudy       = 1;

  Double_t fwdres=0.50;
  Double_t midres=0.25;

  gStyle->SetOptFit(1);
  gROOT->ForceStyle();
  TH1::SetDefaultSumw2(1);

  if (gList) 
    delete gList;
  gList = new TObjArray;
  gList->SetOwner(1);

  TFile *f = TFile::Open("hj-unquenched.root");
  TTree *t = (TTree*)f->Get("glaubertree");
  if (!t) {
    cerr << " not find glaubertree" <<endl;
    return;
  }
  if (gGTree)
    delete gGTree;
  gGTree = t;

  if (1) {
    TNtuple *nt = new TNtuple("nt","nt","g1:g2:g3");
    nt->SetDirectory(0);
    Int_t nents = t->GetEntries();
    for (Int_t i=0;i<nents;++i) {
      nt->Fill(gRandom->Gaus(),gRandom->Gaus(),gRandom->Gaus());
    }
    t->AddFriend(nt,"nt");
  }

  t->SetAlias("Etmidn","response.fEtch0n");
  t->SetAlias("Etmidp","response.fEtch0p");
  t->SetAlias("Etfwdn","response.fEtch3n+response.fEtch4n");
  t->SetAlias("Etfwdp","response.fEtch3p+response.fEtch4p");
  t->SetAlias("Nmidn","response.fNch0n");
  t->SetAlias("Nmidp","response.fNch0p");
  t->SetAlias("Nfwdn","response.fNch3n+response.fNch4n");
  t->SetAlias("Nfwdp","response.fNch3p+response.fNch4p");
  t->SetAlias("Nmid","(Nmidn+Nmidp)/2.");

  t->SetAlias("Etfwdnres",Form("Etfwdn*(1+%f*nt.g1)",fwdres));
  t->SetAlias("Etfwdpres",Form("Etfwdp*(1+%f*nt.g2)",fwdres));
  t->SetAlias("Nmidrec",Form("Nmid*(1+%f*nt.g3)",midres));
  t->SetAlias("npart","header.fNT+header.fNP");
  t->SetAlias("ncoll","header.fN00+header.fN01+header.fN10+header.fN11");
  t->SetAlias("bb","header.fBB");

  t->SetAlias("tresp","1+npart*0.");
  //t->SetAlias("tresp","1-exp(-npart/2.)");
  t->SetAlias("trig","1+Nmid*0.");
  //t->SetAlias("trig","rndm<tresp&&rndm<tresp&&Etfwdnres>2.5&&Etfwdpres>2.5");

  TString name;
  if (1) {
    name="ImpactDistFine";
    t->Draw("bb>>htemp(3000,0,30)","1","goff");
    TH1F *hbb=(TH1F*)Hist(name,"","impact parameter [fm]","counts per bin");

    Double_t totxs = 0;
    for (Int_t i=0;i<nclasses;++i) {
      fxs[i] = 100. * hbb->Integral(hbb->FindBin(bmin[i]), hbb->FindBin(bmax[i])) / hbb->Integral();
      totxs += fxs[i];
      printf("Class PPR %d: %.1f - %.1f -> %.1f\n",i+1,bmin[i],bmax[i],fxs[i]);
    }
    cout << "Total from PPR: " << totxs << endl;

    Classes(hbb, bminan, bmaxan, fxsan, 1, 0);
    totxs = 0;
    for (Int_t i=0;i<nclassesan;++i) {
      printf("Centrality Class %d: %.2ffm - %.2ffm -> %.2f (%s)\n",i+1,bminan[i],bmaxan[i],fxsan[i],lan[i]);
      totxs+=fxsan[i];
    }
    cout << "Total: " << totxs << endl;

    if (pImDist) {
      name="ImpactDist";
      TCanvas *c = Canvas(name);
      t->Draw("bb>>htemp(440,0,22)");
      Hist(name,"","impact parameter [fm]","counts per bin");
      TObjArray *arr=Draw("bb>>htemp(440,0,22)",0,"hist");
      TLegend *l = dynamic_cast<TLegend*>(arr->At(0));
      if (l) {
        l->SetX1(0.15); l->SetX2(0.35); l->Draw();
      }
      Store(c);
    }
  }
  if (1) {
    name="NpartDistFine";
    t->Draw("npart>>htemp(440,0,440)","1","goff");
    TH1F *hnp=(TH1F*)Hist(name,"","number participants","counts per bin");

    Classes(hnp, npminan, npmaxan, npfxsan, -1, 0);
    Double_t totxs = 0;
    for (Int_t i=0;i<nclassesan;++i) {
      printf("Npart Class %d: %.1f - %.1f -> %.1f (%s)\n",i+1,npminan[i],npmaxan[i],npfxsan[i],lan[i]);
      totxs+=npfxsan[i];
    }
    cout << "Total: " << totxs << endl;
    if (pNpDist) {
      name="NpartDist";
      TCanvas *c1=Canvas(name);
      c1->SetLogy(1);
      t->Draw("npart>>htemp(440,0,440)","1","goff");
      TH1 *h=Hist(name,"","number participants","counts per bin");
      h->SetMinimum(1);
      h->Draw();
      /*TObjArray *arr=*/Draw("npart>>htemp(440,0,440)",0,"hist",-2);
      Store(c1);
    }
    if (pNpDistSelWithImp) {
      name="NpartDistsWithImpact";
      TCanvas *c1=Canvas(name);
      c1->SetLogy(1);
      t->Draw("npart>>htemp(440,0,440)","1","goff");
      TH1 *h=Hist(name,"","number participants","counts per bin");
      h->SetMinimum(1);
      h->Draw();
      TObjArray *arr=Draw("npart>>htemp(440,0,440)",0,"hist",-1);
      TGraph *ge1 = new TGraph(nclassesan);
      TGraph *ge2 = new TGraph(nclassesan);
      ge1->SetMarkerSize(1.2);
      ge1->SetMarkerStyle(20);
      ge2->SetMarkerSize(1.2);
      ge2->SetMarkerStyle(20);
      for (Int_t i=1;i<arr->GetEntries();++i) {
        TH1F *h = (TH1F*)arr->At(i);
        Int_t N=nclassesan-i;
        Double_t mean  = h->GetMean();
        Double_t width = h->GetRMS();
        npmean[N] = mean;
        nprms[N]  = width;
        ge1->SetPoint(N,N,mean);
        ge2->SetPoint(N,N,width);
      }
      Store(c1);
      Store(ge1,"gNpartMean");
      Store(ge2,"gNpartRms");
      if (pNpDistSelWithImpFits) {
        TCanvas *c2 = FitNpartDists("NpartDistsWithImpactFits",arr,1);
        Store(c2);
      }
    }
  }
  if (pMidRecResStudy) {
    Int_t resint = 100*midres;
    name=Form("MidRecDistribution_res%d",resint);
    t->Draw("Nmidrec>>htemp(3000,0,3000)","1","goff");
    TH1 *hNm = Hist(name,"","Nch in -0.5<#eta<0.5","counts per bin");
    Double_t resmin[nclassesan];
    Double_t resmax[nclassesan];
    Double_t fxs[nclassesan];
    Classes(hNm,resmin,resmax,fxs,-1,1);
    if (1) {
      TCanvas *c = Canvas(name);
      hNm->SetMinimum(1);
      hNm->Draw();
      Draw("Nmidrec>>htemp(3000,0,3000)",0,"hist",-3,"Nmidrec",resmin,resmax);
      Store(c);
    } else {
      delete hNm;
    }

    name=Form("NpartDistsWithTracks_res%d",resint);
    TCanvas *c1 = Canvas(name);
    t->Draw("npart>>htemp(440,0,440)","1","goff");
    TH1 *hNpart = Hist(name,"","number participants","counts per bin");
    hNpart->SetMinimum(1);
    hNpart->Draw();
    TObjArray *arr=Draw("npart>>htemp(440,0,440)",0,"hist",-3,"Nmidrec",resmin,resmax);
    Store(c1);
    if (1) {
      TCanvas *c2 = FitNpartDists(Form("NpartDistsWithTracksFits_res%d",resint),arr,1);
      Store(c2);
    }
    TGraph *ge1 = new TGraph(nclassesan);
    TGraph *ge2 = new TGraph(nclassesan);
    ge1->SetMarkerSize(1.2);
    ge1->SetMarkerStyle(20);
    ge2->SetMarkerSize(1.2);
    ge2->SetMarkerStyle(20);
    for (Int_t i=1;i<arr->GetEntries();++i) {
      Int_t N=nclassesan-i;
      TH1F *h = (TH1F*)arr->At(i);
      Double_t mean  = h->GetMean();
      Double_t rms = h->GetRMS();
      ge1->SetPoint(N,N,mean/npmean[N]-1);
      ge2->SetPoint(N,N,rms/mean*npmean[N]/nprms[N]-1);
      cout << i << " " << mean << " " << rms << " " << npmean[N] << " " << nprms[N] << endl;
    }
    Store(ge1,Form("gMidrecMean_res%d",resint));
    Store(ge2,Form("gMidrecRms_res%d",resint));
  }
  if (0) {
    name="FwdSumCorr";
    Canvas(name);
    t->Draw("Etfwdn:Etfwdp");
    Hist(name,"","sum p_{t} [GeV] in 3<#eta<5","sum p_{t} [GeV] in -3<#eta<-5");
  }
  if (0) {
    name="FwdNvsNpart";
    Canvas(name);
    t->Draw("Etfwdn:npart","1","prof");
    Hist(name,"","Npart","sum p_{t} [GeV] in -3<#eta<-5");
  }
  if (0) {
    name="FwdPvsNpart";
    Canvas(name);
    t->Draw("Etfwdp:npart","1","prof");
    Hist(name,"","Npart","sum p_{t} [GeV] in 3<#eta<5");
  }
  if (0) {
    name="FwdSumvsNpart";
    Canvas(name);
    t->Draw("Etfwdn+Etfwdp:npart","1","prof");
    Hist(name,"","Npart","sum p_{t} [GeV] in 3<|#eta|<5");
  }
  if (0) {
    name="FwdSumDistribution";
    Canvas(name);
    t->Draw("Etfwdn+Etfwdp","1","");
    TH1 *h1=Hist(name,"","sum p_{t} [GeV] in 3<|#eta|<5","counts per bin");
    name="FwdSumTriggered";
    t->Draw("Etfwdn+Etfwdp","trig>0","same");
    TH1 *h2=Hist(name,"","sum p_{t} [GeV] in 3<|#eta|<5","counts per bin",0,2,1);
    Double_t percent = h2->Integral()/h1->Integral()*100.;
    cout << "Recorded " << percent << "% of tot. cross section" << endl;
  }
  if (0) {
    name="Mid2Distribution";
    Canvas(name);
    t->Draw("Nmidn+Nmidp","1","");
    Hist(name,"","Nch in -1<#eta<1","counts per bin");
    name="Mid2Triggered";
    t->Draw("Nmidn+Nmidp","trig>0","same");
    Hist(name,"","Nch in -1<#eta<1","counts per bin",0,2,1);
  }
  if (0) {
    name="MidDistribution";
    Canvas(name);
    t->Draw("Nmid","1","");
    Hist(name,"","Nch in -0.5<#eta<0.5","counts per bin");
    name="MidTriggered";
    t->Draw("Nmid","trig>0","same");
    Hist(name,"","Nch in -0.5<#eta<0.5","counts per bin",0,2,1);
  }
}

//--------------------------------------------------------------------------------------------------

TCanvas *Canvas(const char *name, const char *title, Int_t ww, Int_t wh)
{
  if (!name)
    return 0;
  TString hname(Form("c%s",name));
  if (!title)
    title = name;
  TCanvas *c = new TCanvas(hname,title,ww,wh);
  return c;
}

//--------------------------------------------------------------------------------------------------

TH1 *Hist(const char *name, const char *title, const char *xtitle, const char *ytitle, 
          Bool_t stats, Int_t lc, Int_t ls)
{
  TH1 *h=dynamic_cast<TH1*>(gROOT->FindObject("htemp"));
  return Hist(h,name,title,xtitle,ytitle,stats,lc,ls);
}

//--------------------------------------------------------------------------------------------------

TH1 *Hist(const char *hname, const char *name, const char *title, const char *xtitle, 
          const char *ytitle, Bool_t stats, Int_t lc, Int_t ls)
{
  TH1 *h=dynamic_cast<TH1*>(gROOT->FindObject(hname));
  return Hist(h,name,title,xtitle,ytitle,stats,lc,ls);
}

//--------------------------------------------------------------------------------------------------

TH1 *Hist(TH1 *h, const char *name, const char *title, const char *xtitle, 
          const char *ytitle, Bool_t stats, Int_t lc, Int_t ls)
{
  if (!h && !name) 
    return 0;
  TString hname(Form("h%s",name));
  h->SetName(hname);
  if (!title)
    title = name;
  h->SetTitle(title);
  if (xtitle)
    h->SetXTitle(xtitle);
  if (ytitle)
    h->SetYTitle(ytitle);
  h->GetXaxis()->SetTitleOffset(1.1);
  h->GetYaxis()->SetTitleOffset(1.2);
  h->SetStats(stats);
  h->SetLineColor(lc);
  h->SetLineStyle(ls);
  gList->Add(h);
  return h;
}

//--------------------------------------------------------------------------------------------------

TObjArray *Draw(const char *expr, const char *sel, const char *opt, Int_t type,
                const char *scl, Double_t *smin, Double_t *smax, TTree *t)
{
  if (!t) 
    t = gGTree;
  
  TObjArray *oarr = new TObjArray;
  oarr->SetOwner();

  TLegend *l = new TLegend(0.2,0.4,0.4,0.9);
  l->SetBorderSize(0);
  l->SetFillStyle(0);
  oarr->Add(l);

  TString tsel("1");
  if (sel)
    tsel=sel;
  TString doopt("same");
  if (opt)
    doopt=Form("%s,same",opt);

  Int_t beg=0;
  Int_t end=nclassesan;
  if (type<0) {
    beg=nclassesan-1;
    end=-1;
  }
  Double_t *cmin = bminan;
  Double_t *cmax = bmaxan;
  const char *varname="bb";
  if (TMath::Abs(type)==2) {
    cmin = npminan;
    cmax = npmaxan;
    varname="npart";
  } else if (TMath::Abs(type)>2) {
    cmin    = smin;
    cmax    = smax;
    varname = scl;
  }

  while(beg!=end) {
    Int_t i=beg;
    TString dosel(Form("(%s>%.2f&&%s<%.2f)&&(%s)",varname,cmin[i],varname,cmax[i],tsel.Data()));
    t->Draw(expr,dosel,doopt);
    TH1 *h=dynamic_cast<TH1*>(gROOT->FindObject("htemp"));
    if (h) {
      h->SetName(Form("cl_%s_%s",expr,dosel.Data()));
      h->SetLineColor(colorcl[i]);
      h->SetMarkerColor(colorcl[i]);
      h->SetFillColor(colorcl[i]);
      h->SetFillStyle(1000);
      l->AddEntry(h,Form("%s%%",lan[i]),"f");
      oarr->Add(h);
    } else {
      cerr << "Could not obtain htemp for: " << expr << " " << dosel << " " << doopt << endl;
    }
    if(type<0)
      --beg;
    else
      ++beg;
  }
  return oarr;
}

//--------------------------------------------------------------------------------------------------

void Classes(TH1 *h, Double_t *resmin, Double_t *resmax, Double_t *fxs, Int_t pos, Int_t verbose)
{
  Int_t bfrom = 0;
  Int_t cbin  = h->GetNbinsX();
  if (pos<0) {
    pos   = -1;
    bfrom = h->GetNbinsX()+1;
    cbin  = 1;
  } else {
    pos = 1;
  }

  Double_t totxs=0;
  for (Int_t i=0,lbin=bfrom,bin=lbin;i<nclassesan;++i) {
    lbin = bin+pos;
    Int_t lxs = 0;
    Double_t norm = h->Integral();
    while (1) {
      bin += pos;
      lxs += h->GetBinContent(bin);
      Double_t pxs = lxs/norm*100;
      Double_t tdiff = (lxs+h->GetBinContent(bin+pos))/norm*100;
      //cout << pos << " " << bin << " " << pxs << " " << tdiff << " " << lbin << endl;
      if ((pxs>1&&TMath::Abs(pxs-fxsan1[i])<=TMath::Abs(tdiff-fxsan1[i]))||(bin==cbin)) {
        if (pos>0) {
          resmin[i] = h->GetBinLowEdge(lbin);
          resmax[i] = h->GetBinLowEdge(bin+1);
        } else {
          resmin[i] = h->GetBinLowEdge(bin);
          resmax[i] = h->GetBinLowEdge(lbin+1);
        }
        fxs[i] = pxs;
        if (verbose)
          printf("Class %d: %.1f - %.1f -> %.1f (%s)\n",i+1,resmin[i],resmax[i],pxs,lan[i]);
        totxs += pxs;
        break;
      }
    }
  }
  if (verbose)
    cout << "Total: " << totxs << endl;
}

//--------------------------------------------------------------------------------------------------

TCanvas *FitNpartDists(const char *name, TObjArray *arr, Int_t verbose)
{
  TCanvas *c = Canvas(name,0,1200,900);
  c->Divide(4,3);
  TGraphErrors *ge = new TGraphErrors(nclassesan);
  for (Int_t i=1;i<arr->GetEntries();++i) {
    c->cd(i);
    Int_t N=nclassesan-i;
    TH1F *h = (TH1F*)arr->At(i);
    Double_t mean  = h->GetMean();
    Double_t width = h->GetRMS();
    TH1 *h1 = h->DrawCopy("hist");
    h1->SetName(lan[N]);
    h1->SetTitle(Form("%s%% most central",lan[N]));
    h1->SetStats(1);
    h1->SetXTitle("Npart");
    h1->SetYTitle("counts per bin");
    TF1 *fit = new TF1(Form("fit%d",i),"gaus(0)",0,440);
    fit->SetParameters(1,mean,width);
    fit->SetLineWidth(3);
    h1->Fit(fit,"QM0");
    fit->Draw("same");
    ge->SetPoint(N,mean,width);
    //ge->SetPointError(N,0,width);
    if (verbose) 
      cout << i << " hist: " << mean << " " << width 
           << " fit:  " << fit->GetParameter(1) << " " << fit->GetParameter(2) << endl;
  }
  c->cd(12);
  TH2F *h2f = new TH2F(Form("%s_summary",name),";#LTNpart#GT;RMS",1,0,440,1,0,49);
  h2f->SetStats(0);
  h2f->Draw();
  ge->SetMarkerSize(1.2);
  ge->SetMarkerStyle(20);
  ge->Draw("P");
  return c;
}

//--------------------------------------------------------------------------------------------------

void Store(TObject *o, const char *name, const char *fname)
{
  if (!o || !fname)
    return;

  TTimeStamp t;
  TString filename(Form("%s_%d.root",fname, t.GetDate()));
  TFile *f = new TFile(filename,"update");
  if (!name)
    name = o->GetName();
  if (o) {
    f->Delete(Form("%s;1",name));
    o->Write(name);
  }

  f->Close();
  delete f;
}

void plotRes(const char *fname)
{
  TFile *f = new TFile(fname);
  
  TGraph *gm0 = (TGraph*)f->Get("gMidrecMean_res0");
  TGraph *gm5 = (TGraph*)f->Get("gMidrecMean_res5");
  TGraph *gm10 = (TGraph*)f->Get("gMidrecMean_res10");
  TGraph *gm15 = (TGraph*)f->Get("gMidrecMean_res14");
  TGraph *gm25 = (TGraph*)f->Get("gMidrecMean_res25");

  gm0->SetMarkerColor(1);
  gm5->SetMarkerColor(2);
  gm10->SetMarkerColor(3);
  gm15->SetMarkerColor(4);
  gm25->SetMarkerColor(5);

  TH2F *h2f = new TH2F("h2f",";classes (0=most central);#LTNpart#GT/#LTNpart^{true}#GT-1",1,-0.5,10.5,1,-0.25,0.25);
  h2f->SetStats(0);
  h2f->GetXaxis()->SetTitleOffset(1.1);
  h2f->GetYaxis()->SetTitleOffset(1.2);
  h2f->Draw();
  gm0->Draw("P");
  gm5->Draw("P");
  gm10->Draw("P");
  gm15->Draw("P");
  gm25->Draw("P");
  TLegend *leg = new TLegend(0.5,0.5,0.9,0.9);
  leg->AddEntry(gm0,"0% smearing","p");
  leg->AddEntry(gm5,"5% smearing","p");
  leg->AddEntry(gm10,"10% smearing","p");
  leg->AddEntry(gm15,"15% smearing","p");
  leg->AddEntry(gm25,"25% smearing","p");
  leg->Draw();
}
 plotres.C:1
 plotres.C:2
 plotres.C:3
 plotres.C:4
 plotres.C:5
 plotres.C:6
 plotres.C:7
 plotres.C:8
 plotres.C:9
 plotres.C:10
 plotres.C:11
 plotres.C:12
 plotres.C:13
 plotres.C:14
 plotres.C:15
 plotres.C:16
 plotres.C:17
 plotres.C:18
 plotres.C:19
 plotres.C:20
 plotres.C:21
 plotres.C:22
 plotres.C:23
 plotres.C:24
 plotres.C:25
 plotres.C:26
 plotres.C:27
 plotres.C:28
 plotres.C:29
 plotres.C:30
 plotres.C:31
 plotres.C:32
 plotres.C:33
 plotres.C:34
 plotres.C:35
 plotres.C:36
 plotres.C:37
 plotres.C:38
 plotres.C:39
 plotres.C:40
 plotres.C:41
 plotres.C:42
 plotres.C:43
 plotres.C:44
 plotres.C:45
 plotres.C:46
 plotres.C:47
 plotres.C:48
 plotres.C:49
 plotres.C:50
 plotres.C:51
 plotres.C:52
 plotres.C:53
 plotres.C:54
 plotres.C:55
 plotres.C:56
 plotres.C:57
 plotres.C:58
 plotres.C:59
 plotres.C:60
 plotres.C:61
 plotres.C:62
 plotres.C:63
 plotres.C:64
 plotres.C:65
 plotres.C:66
 plotres.C:67
 plotres.C:68
 plotres.C:69
 plotres.C:70
 plotres.C:71
 plotres.C:72
 plotres.C:73
 plotres.C:74
 plotres.C:75
 plotres.C:76
 plotres.C:77
 plotres.C:78
 plotres.C:79
 plotres.C:80
 plotres.C:81
 plotres.C:82
 plotres.C:83
 plotres.C:84
 plotres.C:85
 plotres.C:86
 plotres.C:87
 plotres.C:88
 plotres.C:89
 plotres.C:90
 plotres.C:91
 plotres.C:92
 plotres.C:93
 plotres.C:94
 plotres.C:95
 plotres.C:96
 plotres.C:97
 plotres.C:98
 plotres.C:99
 plotres.C:100
 plotres.C:101
 plotres.C:102
 plotres.C:103
 plotres.C:104
 plotres.C:105
 plotres.C:106
 plotres.C:107
 plotres.C:108
 plotres.C:109
 plotres.C:110
 plotres.C:111
 plotres.C:112
 plotres.C:113
 plotres.C:114
 plotres.C:115
 plotres.C:116
 plotres.C:117
 plotres.C:118
 plotres.C:119
 plotres.C:120
 plotres.C:121
 plotres.C:122
 plotres.C:123
 plotres.C:124
 plotres.C:125
 plotres.C:126
 plotres.C:127
 plotres.C:128
 plotres.C:129
 plotres.C:130
 plotres.C:131
 plotres.C:132
 plotres.C:133
 plotres.C:134
 plotres.C:135
 plotres.C:136
 plotres.C:137
 plotres.C:138
 plotres.C:139
 plotres.C:140
 plotres.C:141
 plotres.C:142
 plotres.C:143
 plotres.C:144
 plotres.C:145
 plotres.C:146
 plotres.C:147
 plotres.C:148
 plotres.C:149
 plotres.C:150
 plotres.C:151
 plotres.C:152
 plotres.C:153
 plotres.C:154
 plotres.C:155
 plotres.C:156
 plotres.C:157
 plotres.C:158
 plotres.C:159
 plotres.C:160
 plotres.C:161
 plotres.C:162
 plotres.C:163
 plotres.C:164
 plotres.C:165
 plotres.C:166
 plotres.C:167
 plotres.C:168
 plotres.C:169
 plotres.C:170
 plotres.C:171
 plotres.C:172
 plotres.C:173
 plotres.C:174
 plotres.C:175
 plotres.C:176
 plotres.C:177
 plotres.C:178
 plotres.C:179
 plotres.C:180
 plotres.C:181
 plotres.C:182
 plotres.C:183
 plotres.C:184
 plotres.C:185
 plotres.C:186
 plotres.C:187
 plotres.C:188
 plotres.C:189
 plotres.C:190
 plotres.C:191
 plotres.C:192
 plotres.C:193
 plotres.C:194
 plotres.C:195
 plotres.C:196
 plotres.C:197
 plotres.C:198
 plotres.C:199
 plotres.C:200
 plotres.C:201
 plotres.C:202
 plotres.C:203
 plotres.C:204
 plotres.C:205
 plotres.C:206
 plotres.C:207
 plotres.C:208
 plotres.C:209
 plotres.C:210
 plotres.C:211
 plotres.C:212
 plotres.C:213
 plotres.C:214
 plotres.C:215
 plotres.C:216
 plotres.C:217
 plotres.C:218
 plotres.C:219
 plotres.C:220
 plotres.C:221
 plotres.C:222
 plotres.C:223
 plotres.C:224
 plotres.C:225
 plotres.C:226
 plotres.C:227
 plotres.C:228
 plotres.C:229
 plotres.C:230
 plotres.C:231
 plotres.C:232
 plotres.C:233
 plotres.C:234
 plotres.C:235
 plotres.C:236
 plotres.C:237
 plotres.C:238
 plotres.C:239
 plotres.C:240
 plotres.C:241
 plotres.C:242
 plotres.C:243
 plotres.C:244
 plotres.C:245
 plotres.C:246
 plotres.C:247
 plotres.C:248
 plotres.C:249
 plotres.C:250
 plotres.C:251
 plotres.C:252
 plotres.C:253
 plotres.C:254
 plotres.C:255
 plotres.C:256
 plotres.C:257
 plotres.C:258
 plotres.C:259
 plotres.C:260
 plotres.C:261
 plotres.C:262
 plotres.C:263
 plotres.C:264
 plotres.C:265
 plotres.C:266
 plotres.C:267
 plotres.C:268
 plotres.C:269
 plotres.C:270
 plotres.C:271
 plotres.C:272
 plotres.C:273
 plotres.C:274
 plotres.C:275
 plotres.C:276
 plotres.C:277
 plotres.C:278
 plotres.C:279
 plotres.C:280
 plotres.C:281
 plotres.C:282
 plotres.C:283
 plotres.C:284
 plotres.C:285
 plotres.C:286
 plotres.C:287
 plotres.C:288
 plotres.C:289
 plotres.C:290
 plotres.C:291
 plotres.C:292
 plotres.C:293
 plotres.C:294
 plotres.C:295
 plotres.C:296
 plotres.C:297
 plotres.C:298
 plotres.C:299
 plotres.C:300
 plotres.C:301
 plotres.C:302
 plotres.C:303
 plotres.C:304
 plotres.C:305
 plotres.C:306
 plotres.C:307
 plotres.C:308
 plotres.C:309
 plotres.C:310
 plotres.C:311
 plotres.C:312
 plotres.C:313
 plotres.C:314
 plotres.C:315
 plotres.C:316
 plotres.C:317
 plotres.C:318
 plotres.C:319
 plotres.C:320
 plotres.C:321
 plotres.C:322
 plotres.C:323
 plotres.C:324
 plotres.C:325
 plotres.C:326
 plotres.C:327
 plotres.C:328
 plotres.C:329
 plotres.C:330
 plotres.C:331
 plotres.C:332
 plotres.C:333
 plotres.C:334
 plotres.C:335
 plotres.C:336
 plotres.C:337
 plotres.C:338
 plotres.C:339
 plotres.C:340
 plotres.C:341
 plotres.C:342
 plotres.C:343
 plotres.C:344
 plotres.C:345
 plotres.C:346
 plotres.C:347
 plotres.C:348
 plotres.C:349
 plotres.C:350
 plotres.C:351
 plotres.C:352
 plotres.C:353
 plotres.C:354
 plotres.C:355
 plotres.C:356
 plotres.C:357
 plotres.C:358
 plotres.C:359
 plotres.C:360
 plotres.C:361
 plotres.C:362
 plotres.C:363
 plotres.C:364
 plotres.C:365
 plotres.C:366
 plotres.C:367
 plotres.C:368
 plotres.C:369
 plotres.C:370
 plotres.C:371
 plotres.C:372
 plotres.C:373
 plotres.C:374
 plotres.C:375
 plotres.C:376
 plotres.C:377
 plotres.C:378
 plotres.C:379
 plotres.C:380
 plotres.C:381
 plotres.C:382
 plotres.C:383
 plotres.C:384
 plotres.C:385
 plotres.C:386
 plotres.C:387
 plotres.C:388
 plotres.C:389
 plotres.C:390
 plotres.C:391
 plotres.C:392
 plotres.C:393
 plotres.C:394
 plotres.C:395
 plotres.C:396
 plotres.C:397
 plotres.C:398
 plotres.C:399
 plotres.C:400
 plotres.C:401
 plotres.C:402
 plotres.C:403
 plotres.C:404
 plotres.C:405
 plotres.C:406
 plotres.C:407
 plotres.C:408
 plotres.C:409
 plotres.C:410
 plotres.C:411
 plotres.C:412
 plotres.C:413
 plotres.C:414
 plotres.C:415
 plotres.C:416
 plotres.C:417
 plotres.C:418
 plotres.C:419
 plotres.C:420
 plotres.C:421
 plotres.C:422
 plotres.C:423
 plotres.C:424
 plotres.C:425
 plotres.C:426
 plotres.C:427
 plotres.C:428
 plotres.C:429
 plotres.C:430
 plotres.C:431
 plotres.C:432
 plotres.C:433
 plotres.C:434
 plotres.C:435
 plotres.C:436
 plotres.C:437
 plotres.C:438
 plotres.C:439
 plotres.C:440
 plotres.C:441
 plotres.C:442
 plotres.C:443
 plotres.C:444
 plotres.C:445
 plotres.C:446
 plotres.C:447
 plotres.C:448
 plotres.C:449
 plotres.C:450
 plotres.C:451
 plotres.C:452
 plotres.C:453
 plotres.C:454
 plotres.C:455
 plotres.C:456
 plotres.C:457
 plotres.C:458
 plotres.C:459
 plotres.C:460
 plotres.C:461
 plotres.C:462
 plotres.C:463
 plotres.C:464
 plotres.C:465
 plotres.C:466
 plotres.C:467
 plotres.C:468
 plotres.C:469
 plotres.C:470
 plotres.C:471
 plotres.C:472
 plotres.C:473
 plotres.C:474
 plotres.C:475
 plotres.C:476
 plotres.C:477
 plotres.C:478
 plotres.C:479
 plotres.C:480
 plotres.C:481
 plotres.C:482
 plotres.C:483
 plotres.C:484
 plotres.C:485
 plotres.C:486
 plotres.C:487
 plotres.C:488
 plotres.C:489
 plotres.C:490
 plotres.C:491
 plotres.C:492
 plotres.C:493
 plotres.C:494
 plotres.C:495
 plotres.C:496
 plotres.C:497
 plotres.C:498
 plotres.C:499
 plotres.C:500
 plotres.C:501
 plotres.C:502
 plotres.C:503
 plotres.C:504
 plotres.C:505
 plotres.C:506
 plotres.C:507
 plotres.C:508
 plotres.C:509
 plotres.C:510
 plotres.C:511
 plotres.C:512
 plotres.C:513
 plotres.C:514
 plotres.C:515
 plotres.C:516
 plotres.C:517
 plotres.C:518
 plotres.C:519
 plotres.C:520
 plotres.C:521
 plotres.C:522
 plotres.C:523
 plotres.C:524
 plotres.C:525
 plotres.C:526
 plotres.C:527
 plotres.C:528
 plotres.C:529
 plotres.C:530
 plotres.C:531
 plotres.C:532
 plotres.C:533
 plotres.C:534
 plotres.C:535
 plotres.C:536
 plotres.C:537
 plotres.C:538
 plotres.C:539
 plotres.C:540
 plotres.C:541
 plotres.C:542
 plotres.C:543
 plotres.C:544
 plotres.C:545
 plotres.C:546
 plotres.C:547
 plotres.C:548
 plotres.C:549
 plotres.C:550
 plotres.C:551
 plotres.C:552
 plotres.C:553
 plotres.C:554
 plotres.C:555
 plotres.C:556
 plotres.C:557
 plotres.C:558
 plotres.C:559
 plotres.C:560
 plotres.C:561
 plotres.C:562
 plotres.C:563
 plotres.C:564
 plotres.C:565
 plotres.C:566
 plotres.C:567
 plotres.C:568
 plotres.C:569
 plotres.C:570
 plotres.C:571
 plotres.C:572
 plotres.C:573
 plotres.C:574
 plotres.C:575
 plotres.C:576
 plotres.C:577
 plotres.C:578
 plotres.C:579
 plotres.C:580
 plotres.C:581
 plotres.C:582
 plotres.C:583
 plotres.C:584
 plotres.C:585
 plotres.C:586