File indexing completed on 2024-04-06 11:58:57
0001 {
0002 gROOT->Reset();
0003 gStyle->SetPalette(1);
0004 gStyle -> SetOptStat(1111);
0005
0006 TCanvas c2h("c2h","2-d options",10,10,800,600);
0007 c2h.SetFillColor(10);
0008 gPad->SetDrawOption("e1p");
0009 TFile f0("coefficients_219_val_barrel_minus_8.9mln.root");
0010
0011 float x[40]={1.,2.,3.,4.,5.,6.,7.,8.,9.,10.,11.,12.,13.,14.,16.,17.,18.,19.,20.,21.,22.,23.,24.,25.,26.,27.,28.,29.,30.,31.,32.,33.,34.,35.,36.,37.,38.,39.,40.,41.};
0012 float y[40]={0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.};
0013 y[0] = h1etacoefmin1l->GetRMS();
0014 y[1] = h1etacoefmin2l->GetRMS();
0015 y[2] = h1etacoefmin3l->GetRMS();
0016 y[3] = h1etacoefmin4l->GetRMS();
0017 y[4] = h1etacoefmin5l->GetRMS();
0018 y[5] = h1etacoefmin6l->GetRMS();
0019 y[6] = h1etacoefmin7l->GetRMS();
0020 y[7] = h1etacoefmin8l->GetRMS();
0021 y[8] = h1etacoefmin9l->GetRMS();
0022 y[9] = h1etacoefmin10l->GetRMS();
0023 y[10] = h1etacoefmin11l->GetRMS();
0024 y[11] = h1etacoefmin12l->GetRMS();
0025 y[12] = h1etacoefmin13l->GetRMS();
0026 y[13] = h1etacoefmin14l->GetRMS();
0027 y[14] = h1etacoefmin16_1l->GetRMS();
0028
0029 h1etacoefmin1l->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin1l.gif");
0030 h1etacoefmin2l->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin2l.gif");
0031 h1etacoefmin3l->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin3l.gif");
0032 h1etacoefmin4l->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin4l.gif");
0033 h1etacoefmin5l->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin5l.gif");
0034 h1etacoefmin6l->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin6l.gif");
0035 h1etacoefmin7l->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin7l.gif");
0036 h1etacoefmin8l->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin8l.gif");
0037 h1etacoefmin9l->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin9l.gif");
0038 h1etacoefmin10l->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin10l.gif");
0039 h1etacoefmin11l->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin11l.gif");
0040 h1etacoefmin12l->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin12l.gif");
0041 h1etacoefmin13l->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin13l.gif");
0042 h1etacoefmin14l->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin14l.gif");
0043 h1etacoefmin15l->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin15l.gif");
0044 h1etacoefmin16_1l->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin16_1l.gif");
0045
0046 TFile f1("coefficients_219_val_endcap_minus_8.9mln.root");
0047 h1etacoefmin17a->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin17a.gif");
0048 h1etacoefmin18a->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin18a.gif");
0049 h1etacoefmin19a->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin19a.gif");
0050 h1etacoefmin20a->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin20a.gif");
0051 h1etacoefmin21a->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin21a.gif");
0052 h1etacoefmin22a->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin22a.gif");
0053 h1etacoefmin23a->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin23a.gif");
0054 h1etacoefmin24a->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin24a.gif");
0055 h1etacoefmin25a->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin25a.gif");
0056 h1etacoefmin26a->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin26a.gif");
0057 h1etacoefmin27a->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin27a.gif");
0058 h1etacoefmin28a->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin28a.gif");
0059 h1etacoefmin29a->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin29a.gif");
0060
0061 h1etacoefmin17b->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin17b.gif");
0062 h1etacoefmin18b->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin18b.gif");
0063 h1etacoefmin19b->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin19b.gif");
0064 h1etacoefmin20b->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin20b.gif");
0065 h1etacoefmin21b->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin21b.gif");
0066 h1etacoefmin22b->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin22b.gif");
0067 h1etacoefmin23b->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin23b.gif");
0068 h1etacoefmin24b->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin24b.gif");
0069 h1etacoefmin25b->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin25b.gif");
0070 h1etacoefmin26b->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin26b.gif");
0071 h1etacoefmin27b->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin27b.gif");
0072 h1etacoefmin28b->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin28b.gif");
0073 h1etacoefmin29b->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin29b.gif");
0074
0075
0076 TFile f2("coefficients_219_val_hf_minus_8.9mln.root");
0077
0078 y[28] = h1etacoefmin30a->GetRMS();
0079 y[29] = h1etacoefmin31a->GetRMS();
0080 y[30] = h1etacoefmin32a->GetRMS();
0081 h1etacoefmin30a->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin30a.gif");
0082 h1etacoefmin31a->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin31a.gif");
0083 h1etacoefmin32a->Draw();c2h->Print("GIF/ALL/8.9mln/h1etacoefmin32a.gif");
0084
0085
0086
0087
0088
0089
0090
0091
0092
0093
0094
0095
0096
0097
0098
0099
0100
0101
0102
0103
0104
0105
0106
0107
0108
0109
0110
0111
0112
0113
0114 TH2F* h3= new TH2F(" "," ",2,0.,42.,100,0.,0.15);
0115 h3->GetXaxis()->SetTitle("ieta");
0116 h3->GetYaxis()->SetTitle("RMS");
0117 h3->Draw();
0118 Int_t np=40;
0119
0120 TGraph* gr1 = new TGraph(np,x,y);
0121 gr1->Draw("P");
0122 c2h->Print("GIF/accuracy_minus_8.9mlnl.gif");
0123 c2h->Print("GIF/accuracy_minus_8.9mlnl.C");
0124
0125
0126
0127
0128
0129
0130
0131
0132
0133
0134
0135
0136 }