{
//=========Macro generated from canvas: c2/
//=========  (Tue Jun  8 17:35:36 2010) by ROOT version5.25/04
   TCanvas *c2 = new TCanvas("c2", "",1,1,900,576);
   gStyle->SetOptFit(1);
   c2->Range(0,0,1,1);
   c2->SetFillColor(0);
   c2->SetBorderSize(2);
  
// ------------>Primitives in pad: c2_1
   TPad *c2_1 = new TPad("c2_1", "c2_1",0.01,0.51,0.3233333,0.99);
   c2_1->Draw();
   c2_1->cd();
   c2_1->Range(-1.25,-12.99375,1.25,116.9438);
   c2_1->SetFillColor(0);
   c2_1->SetBorderSize(2);
   
   TH1F *ResoRow18 = new TH1F("ResoRow18","",100,-1,1);
   ResoRow18->SetBinContent(0,5);
   ResoRow18->SetBinContent(19,2);
   ResoRow18->SetBinContent(20,1);
   ResoRow18->SetBinContent(22,1);
   ResoRow18->SetBinContent(32,1);
   ResoRow18->SetBinContent(33,1);
   ResoRow18->SetBinContent(36,3);
   ResoRow18->SetBinContent(37,2);
   ResoRow18->SetBinContent(38,7);
   ResoRow18->SetBinContent(39,9);
   ResoRow18->SetBinContent(40,15);
   ResoRow18->SetBinContent(41,14);
   ResoRow18->SetBinContent(42,16);
   ResoRow18->SetBinContent(43,21);
   ResoRow18->SetBinContent(44,35);
   ResoRow18->SetBinContent(45,47);
   ResoRow18->SetBinContent(46,67);
   ResoRow18->SetBinContent(47,79);
   ResoRow18->SetBinContent(48,86);
   ResoRow18->SetBinContent(49,99);
   ResoRow18->SetBinContent(50,99);
   ResoRow18->SetBinContent(51,84);
   ResoRow18->SetBinContent(52,86);
   ResoRow18->SetBinContent(53,85);
   ResoRow18->SetBinContent(54,72);
   ResoRow18->SetBinContent(55,47);
   ResoRow18->SetBinContent(56,56);
   ResoRow18->SetBinContent(57,33);
   ResoRow18->SetBinContent(58,20);
   ResoRow18->SetBinContent(59,13);
   ResoRow18->SetBinContent(60,10);
   ResoRow18->SetBinContent(61,7);
   ResoRow18->SetBinContent(62,10);
   ResoRow18->SetBinContent(63,3);
   ResoRow18->SetBinContent(64,3);
   ResoRow18->SetBinContent(65,3);
   ResoRow18->SetBinContent(68,1);
   ResoRow18->SetBinContent(69,2);
   ResoRow18->SetBinContent(73,1);
   ResoRow18->SetBinContent(76,2);
   ResoRow18->SetBinContent(79,1);
   ResoRow18->SetBinContent(84,1);
   ResoRow18->SetBinContent(101,2);
   ResoRow18->SetEntries(1152);
   
   TF1 *ResoRowFit18 = new TF1("ResoRowFit18","gaus",-1,1);
   ResoRowFit18->SetFillColor(19);
   ResoRowFit18->SetFillStyle(0);
   ResoRowFit18->SetLineWidth(3);
   ResoRowFit18->SetChisquare(41.22692);
   ResoRowFit18->SetNDF(38);
   ResoRowFit18->SetParameter(0,92.97912);
   ResoRowFit18->SetParError(0,3.711278);
   ResoRowFit18->SetParLimits(0,0,0);
   ResoRowFit18->SetParameter(1,-0.005162267);
   ResoRowFit18->SetParError(1,0.002875703);
   ResoRowFit18->SetParLimits(1,0,0);
   ResoRowFit18->SetParameter(2,0.0948396);
   ResoRowFit18->SetParError(2,0.00251925);
   ResoRowFit18->SetParLimits(2,0,1.120967);
   ResoRow18->GetListOfFunctions()->Add(ResoRowFit18);
   
   TPaveStats *ptstats = new TPaveStats(0.62,0.635,0.98,0.995,"brNDC");
   ptstats->SetName("stats");
   ptstats->SetBorderSize(2);
   ptstats->SetFillColor(19);
   ptstats->SetTextAlign(12);
   TText *text = ptstats->AddText("ResoRow18");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1152   ");
   text = ptstats->AddText("Mean  = -0.004462");
   text = ptstats->AddText("RMS   = 0.1119");
   text = ptstats->AddText("#chi^{2} / ndf = 41.23 / 38");
   text = ptstats->AddText("Constant = 92.98 #pm 3.71 ");
   text = ptstats->AddText("Mean     = -0.005162 #pm 0.002876 ");
   text = ptstats->AddText("Sigma    = 0.09484 #pm 0.00252 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow18->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow18->GetListOfFunctions());
   ResoRow18->GetXaxis()->SetTitle("residual / mm");
   ResoRow18->GetYaxis()->SetTitle("counts");
   ResoRow18->Draw("");
   c2_1->Modified();
   c2->cd();
  
// ------------>Primitives in pad: c2_2
   c2_2 = new TPad("c2_2", "c2_2",0.3433333,0.51,0.6566667,0.99);
   c2_2->Draw();
   c2_2->cd();
   c2_2->Range(-1.25,-13.51875,1.25,121.6688);
   c2_2->SetFillColor(0);
   c2_2->SetBorderSize(2);
   
   TH1F *ResoRow19 = new TH1F("ResoRow19","",100,-1,1);
   ResoRow19->SetBinContent(0,4);
   ResoRow19->SetBinContent(8,1);
   ResoRow19->SetBinContent(11,1);
   ResoRow19->SetBinContent(24,1);
   ResoRow19->SetBinContent(26,1);
   ResoRow19->SetBinContent(28,2);
   ResoRow19->SetBinContent(29,1);
   ResoRow19->SetBinContent(31,1);
   ResoRow19->SetBinContent(34,1);
   ResoRow19->SetBinContent(36,5);
   ResoRow19->SetBinContent(37,3);
   ResoRow19->SetBinContent(38,10);
   ResoRow19->SetBinContent(39,5);
   ResoRow19->SetBinContent(40,17);
   ResoRow19->SetBinContent(41,14);
   ResoRow19->SetBinContent(42,21);
   ResoRow19->SetBinContent(43,32);
   ResoRow19->SetBinContent(44,27);
   ResoRow19->SetBinContent(45,53);
   ResoRow19->SetBinContent(46,74);
   ResoRow19->SetBinContent(47,74);
   ResoRow19->SetBinContent(48,79);
   ResoRow19->SetBinContent(49,71);
   ResoRow19->SetBinContent(50,102);
   ResoRow19->SetBinContent(51,103);
   ResoRow19->SetBinContent(52,94);
   ResoRow19->SetBinContent(53,70);
   ResoRow19->SetBinContent(54,71);
   ResoRow19->SetBinContent(55,68);
   ResoRow19->SetBinContent(56,39);
   ResoRow19->SetBinContent(57,31);
   ResoRow19->SetBinContent(58,19);
   ResoRow19->SetBinContent(59,14);
   ResoRow19->SetBinContent(60,8);
   ResoRow19->SetBinContent(61,11);
   ResoRow19->SetBinContent(62,4);
   ResoRow19->SetBinContent(63,4);
   ResoRow19->SetBinContent(64,4);
   ResoRow19->SetBinContent(65,3);
   ResoRow19->SetBinContent(66,2);
   ResoRow19->SetBinContent(68,2);
   ResoRow19->SetBinContent(69,1);
   ResoRow19->SetBinContent(70,2);
   ResoRow19->SetBinContent(71,1);
   ResoRow19->SetBinContent(77,1);
   ResoRow19->SetEntries(1152);
   
   TF1 *ResoRowFit19 = new TF1("ResoRowFit19","gaus",-1,1);
   ResoRowFit19->SetFillColor(19);
   ResoRowFit19->SetFillStyle(0);
   ResoRowFit19->SetLineWidth(3);
   ResoRowFit19->SetChisquare(55.80314);
   ResoRowFit19->SetNDF(41);
   ResoRowFit19->SetParameter(0,90.1147);
   ResoRowFit19->SetParError(0,3.604418);
   ResoRowFit19->SetParLimits(0,0,0);
   ResoRowFit19->SetParameter(1,-0.007131238);
   ResoRowFit19->SetParError(1,0.002961359);
   ResoRowFit19->SetParLimits(1,0,0);
   ResoRowFit19->SetParameter(2,0.09680663);
   ResoRowFit19->SetParError(2,0.002559559);
   ResoRowFit19->SetParLimits(2,0,1.149511);
   ResoRow19->GetListOfFunctions()->Add(ResoRowFit19);
   
   ptstats = new TPaveStats(0.62,0.635,0.98,0.995,"brNDC");
   ptstats->SetName("stats");
   ptstats->SetBorderSize(2);
   ptstats->SetFillColor(19);
   ptstats->SetTextAlign(12);
   text = ptstats->AddText("ResoRow19");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1152   ");
   text = ptstats->AddText("Mean  = -0.009182");
   text = ptstats->AddText("RMS   = 0.1147");
   text = ptstats->AddText("#chi^{2} / ndf =  55.8 / 41");
   text = ptstats->AddText("Constant = 90.11 #pm 3.60 ");
   text = ptstats->AddText("Mean     = -0.007131 #pm 0.002961 ");
   text = ptstats->AddText("Sigma    = 0.09681 #pm 0.00256 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow19->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow19->GetListOfFunctions());
   ResoRow19->GetXaxis()->SetTitle("residual / mm");
   ResoRow19->GetYaxis()->SetTitle("counts");
   ResoRow19->Draw("");
   c2_2->Modified();
   c2->cd();
  
// ------------>Primitives in pad: c2_3
   c2_3 = new TPad("c2_3", "c2_3",0.6766667,0.51,0.99,0.99);
   c2_3->Draw();
   c2_3->cd();
   c2_3->Range(-1.25,-12.99375,1.25,116.9438);
   c2_3->SetFillColor(0);
   c2_3->SetBorderSize(2);
   
   TH1F *ResoRow20 = new TH1F("ResoRow20","",100,-1,1);
   ResoRow20->SetBinContent(0,3);
   ResoRow20->SetBinContent(10,1);
   ResoRow20->SetBinContent(24,1);
   ResoRow20->SetBinContent(29,4);
   ResoRow20->SetBinContent(30,1);
   ResoRow20->SetBinContent(31,1);
   ResoRow20->SetBinContent(32,1);
   ResoRow20->SetBinContent(34,1);
   ResoRow20->SetBinContent(35,1);
   ResoRow20->SetBinContent(36,1);
   ResoRow20->SetBinContent(37,5);
   ResoRow20->SetBinContent(38,5);
   ResoRow20->SetBinContent(39,3);
   ResoRow20->SetBinContent(40,13);
   ResoRow20->SetBinContent(41,17);
   ResoRow20->SetBinContent(42,19);
   ResoRow20->SetBinContent(43,19);
   ResoRow20->SetBinContent(44,35);
   ResoRow20->SetBinContent(45,51);
   ResoRow20->SetBinContent(46,61);
   ResoRow20->SetBinContent(47,69);
   ResoRow20->SetBinContent(48,89);
   ResoRow20->SetBinContent(49,92);
   ResoRow20->SetBinContent(50,92);
   ResoRow20->SetBinContent(51,96);
   ResoRow20->SetBinContent(52,99);
   ResoRow20->SetBinContent(53,72);
   ResoRow20->SetBinContent(54,60);
   ResoRow20->SetBinContent(55,62);
   ResoRow20->SetBinContent(56,36);
   ResoRow20->SetBinContent(57,38);
   ResoRow20->SetBinContent(58,22);
   ResoRow20->SetBinContent(59,22);
   ResoRow20->SetBinContent(60,17);
   ResoRow20->SetBinContent(61,14);
   ResoRow20->SetBinContent(62,7);
   ResoRow20->SetBinContent(63,6);
   ResoRow20->SetBinContent(64,4);
   ResoRow20->SetBinContent(65,1);
   ResoRow20->SetBinContent(66,2);
   ResoRow20->SetBinContent(67,2);
   ResoRow20->SetBinContent(68,1);
   ResoRow20->SetBinContent(69,2);
   ResoRow20->SetBinContent(70,1);
   ResoRow20->SetBinContent(81,1);
   ResoRow20->SetBinContent(82,1);
   ResoRow20->SetBinContent(101,1);
   ResoRow20->SetEntries(1152);
   
   TF1 *ResoRowFit20 = new TF1("ResoRowFit20","gaus",-1,1);
   ResoRowFit20->SetFillColor(19);
   ResoRowFit20->SetFillStyle(0);
   ResoRowFit20->SetLineWidth(3);
   ResoRowFit20->SetChisquare(44.98746);
   ResoRowFit20->SetNDF(42);
   ResoRowFit20->SetParameter(0,89.30612);
   ResoRowFit20->SetParError(0,3.538794);
   ResoRowFit20->SetParLimits(0,0,0);
   ResoRowFit20->SetParameter(1,0.0001824405);
   ResoRowFit20->SetParError(1,0.00301178);
   ResoRowFit20->SetParLimits(1,0,0);
   ResoRowFit20->SetParameter(2,0.09856331);
   ResoRowFit20->SetParError(2,0.002543621);
   ResoRowFit20->SetParLimits(2,0,1.148364);
   ResoRow20->GetListOfFunctions()->Add(ResoRowFit20);
   
   ptstats = new TPaveStats(0.62,0.635,0.98,0.995,"brNDC");
   ptstats->SetName("stats");
   ptstats->SetBorderSize(2);
   ptstats->SetFillColor(19);
   ptstats->SetTextAlign(12);
   text = ptstats->AddText("ResoRow20");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1152   ");
   text = ptstats->AddText("Mean  = -0.0009592");
   text = ptstats->AddText("RMS   = 0.1145");
   text = ptstats->AddText("#chi^{2} / ndf = 44.99 / 42");
   text = ptstats->AddText("Constant = 89.31 #pm 3.54 ");
   text = ptstats->AddText("Mean     = 0.0001824 #pm 0.0030118 ");
   text = ptstats->AddText("Sigma    = 0.09856 #pm 0.00254 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow20->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow20->GetListOfFunctions());
   ResoRow20->GetXaxis()->SetTitle("residual / mm");
   ResoRow20->GetYaxis()->SetTitle("counts");
   ResoRow20->Draw("");
   c2_3->Modified();
   c2->cd();
  
// ------------>Primitives in pad: c2_4
   c2_4 = new TPad("c2_4", "c2_4",0.01,0.01,0.3233333,0.49);
   c2_4->Draw();
   c2_4->cd();
   c2_4->Range(-1.25,-12.73125,1.25,114.5813);
   c2_4->SetFillColor(0);
   c2_4->SetBorderSize(2);
   
   TH1F *ResoRow21 = new TH1F("ResoRow21","",100,-1,1);
   ResoRow21->SetBinContent(0,3);
   ResoRow21->SetBinContent(2,1);
   ResoRow21->SetBinContent(5,1);
   ResoRow21->SetBinContent(25,2);
   ResoRow21->SetBinContent(26,1);
   ResoRow21->SetBinContent(27,1);
   ResoRow21->SetBinContent(29,1);
   ResoRow21->SetBinContent(31,2);
   ResoRow21->SetBinContent(32,1);
   ResoRow21->SetBinContent(33,2);
   ResoRow21->SetBinContent(34,2);
   ResoRow21->SetBinContent(35,1);
   ResoRow21->SetBinContent(36,2);
   ResoRow21->SetBinContent(37,8);
   ResoRow21->SetBinContent(38,4);
   ResoRow21->SetBinContent(39,7);
   ResoRow21->SetBinContent(40,5);
   ResoRow21->SetBinContent(41,13);
   ResoRow21->SetBinContent(42,21);
   ResoRow21->SetBinContent(43,32);
   ResoRow21->SetBinContent(44,57);
   ResoRow21->SetBinContent(45,41);
   ResoRow21->SetBinContent(46,54);
   ResoRow21->SetBinContent(47,71);
   ResoRow21->SetBinContent(48,89);
   ResoRow21->SetBinContent(49,74);
   ResoRow21->SetBinContent(50,97);
   ResoRow21->SetBinContent(51,94);
   ResoRow21->SetBinContent(52,89);
   ResoRow21->SetBinContent(53,84);
   ResoRow21->SetBinContent(54,57);
   ResoRow21->SetBinContent(55,48);
   ResoRow21->SetBinContent(56,42);
   ResoRow21->SetBinContent(57,40);
   ResoRow21->SetBinContent(58,20);
   ResoRow21->SetBinContent(59,27);
   ResoRow21->SetBinContent(60,10);
   ResoRow21->SetBinContent(61,13);
   ResoRow21->SetBinContent(62,8);
   ResoRow21->SetBinContent(63,4);
   ResoRow21->SetBinContent(64,3);
   ResoRow21->SetBinContent(65,2);
   ResoRow21->SetBinContent(66,5);
   ResoRow21->SetBinContent(68,1);
   ResoRow21->SetBinContent(69,2);
   ResoRow21->SetBinContent(70,2);
   ResoRow21->SetBinContent(73,1);
   ResoRow21->SetBinContent(75,2);
   ResoRow21->SetBinContent(79,1);
   ResoRow21->SetBinContent(84,1);
   ResoRow21->SetBinContent(101,3);
   ResoRow21->SetEntries(1152);
   
   TF1 *ResoRowFit21 = new TF1("ResoRowFit21","gaus",-1,1);
   ResoRowFit21->SetFillColor(19);
   ResoRowFit21->SetFillStyle(0);
   ResoRowFit21->SetLineWidth(3);
   ResoRowFit21->SetChisquare(61.69581);
   ResoRowFit21->SetNDF(46);
   ResoRowFit21->SetParameter(0,86.80852);
   ResoRowFit21->SetParError(0,3.44028);
   ResoRowFit21->SetParLimits(0,0,0);
   ResoRowFit21->SetParameter(1,-0.002690716);
   ResoRowFit21->SetParError(1,0.00305336);
   ResoRowFit21->SetParLimits(1,0,0);
   ResoRowFit21->SetParameter(2,0.09969683);
   ResoRowFit21->SetParError(2,0.00254784);
   ResoRowFit21->SetParLimits(2,0,1.248275);
   ResoRow21->GetListOfFunctions()->Add(ResoRowFit21);
   
   ptstats = new TPaveStats(0.62,0.635,0.98,0.995,"brNDC");
   ptstats->SetName("stats");
   ptstats->SetBorderSize(2);
   ptstats->SetFillColor(19);
   ptstats->SetTextAlign(12);
   text = ptstats->AddText("ResoRow21");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1152   ");
   text = ptstats->AddText("Mean  = -0.0045");
   text = ptstats->AddText("RMS   = 0.1244");
   text = ptstats->AddText("#chi^{2} / ndf =  61.7 / 46");
   text = ptstats->AddText("Constant = 86.81 #pm 3.44 ");
   text = ptstats->AddText("Mean     = -0.002691 #pm 0.003053 ");
   text = ptstats->AddText("Sigma    = 0.0997 #pm 0.0025 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow21->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow21->GetListOfFunctions());
   ResoRow21->GetXaxis()->SetTitle("residual / mm");
   ResoRow21->GetYaxis()->SetTitle("counts");
   ResoRow21->Draw("");
   c2_4->Modified();
   c2->cd();
  
// ------------>Primitives in pad: c2_5
   c2_5 = new TPad("c2_5", "c2_5",0.3433333,0.01,0.6566667,0.49);
   c2_5->Draw();
   c2_5->cd();
   c2_5->Range(-1.25,-13.9125,1.25,125.2125);
   c2_5->SetFillColor(0);
   c2_5->SetBorderSize(2);
   
   TH1F *ResoRow22 = new TH1F("ResoRow22","",100,-1,1);
   ResoRow22->SetBinContent(0,3);
   ResoRow22->SetBinContent(3,1);
   ResoRow22->SetBinContent(6,1);
   ResoRow22->SetBinContent(23,1);
   ResoRow22->SetBinContent(24,2);
   ResoRow22->SetBinContent(26,1);
   ResoRow22->SetBinContent(27,2);
   ResoRow22->SetBinContent(28,1);
   ResoRow22->SetBinContent(29,1);
   ResoRow22->SetBinContent(30,2);
   ResoRow22->SetBinContent(31,2);
   ResoRow22->SetBinContent(32,2);
   ResoRow22->SetBinContent(34,3);
   ResoRow22->SetBinContent(35,3);
   ResoRow22->SetBinContent(36,3);
   ResoRow22->SetBinContent(37,9);
   ResoRow22->SetBinContent(38,10);
   ResoRow22->SetBinContent(39,8);
   ResoRow22->SetBinContent(40,11);
   ResoRow22->SetBinContent(41,17);
   ResoRow22->SetBinContent(42,21);
   ResoRow22->SetBinContent(43,29);
   ResoRow22->SetBinContent(44,29);
   ResoRow22->SetBinContent(45,43);
   ResoRow22->SetBinContent(46,49);
   ResoRow22->SetBinContent(47,74);
   ResoRow22->SetBinContent(48,77);
   ResoRow22->SetBinContent(49,106);
   ResoRow22->SetBinContent(50,102);
   ResoRow22->SetBinContent(51,93);
   ResoRow22->SetBinContent(52,81);
   ResoRow22->SetBinContent(53,74);
   ResoRow22->SetBinContent(54,59);
   ResoRow22->SetBinContent(55,48);
   ResoRow22->SetBinContent(56,56);
   ResoRow22->SetBinContent(57,30);
   ResoRow22->SetBinContent(58,25);
   ResoRow22->SetBinContent(59,15);
   ResoRow22->SetBinContent(60,15);
   ResoRow22->SetBinContent(61,13);
   ResoRow22->SetBinContent(62,8);
   ResoRow22->SetBinContent(63,6);
   ResoRow22->SetBinContent(64,3);
   ResoRow22->SetBinContent(65,1);
   ResoRow22->SetBinContent(66,1);
   ResoRow22->SetBinContent(68,1);
   ResoRow22->SetBinContent(70,2);
   ResoRow22->SetBinContent(73,2);
   ResoRow22->SetBinContent(74,2);
   ResoRow22->SetBinContent(75,1);
   ResoRow22->SetBinContent(79,1);
   ResoRow22->SetBinContent(101,2);
   ResoRow22->SetEntries(1152);
   
   TF1 *ResoRowFit22 = new TF1("ResoRowFit22","gaus",-1,1);
   ResoRowFit22->SetFillColor(19);
   ResoRowFit22->SetFillStyle(0);
   ResoRowFit22->SetLineWidth(3);
   ResoRowFit22->SetChisquare(61.34774);
   ResoRowFit22->SetNDF(47);
   ResoRowFit22->SetParameter(0,84.42378);
   ResoRowFit22->SetParError(0,3.490758);
   ResoRowFit22->SetParLimits(0,0,0);
   ResoRowFit22->SetParameter(1,-0.003840082);
   ResoRowFit22->SetParError(1,0.003146313);
   ResoRowFit22->SetParLimits(1,0,0);
   ResoRowFit22->SetParameter(2,0.1026861);
   ResoRowFit22->SetParError(2,0.002906587);
   ResoRowFit22->SetParLimits(2,0,1.277197);
   ResoRow22->GetListOfFunctions()->Add(ResoRowFit22);
   
   ptstats = new TPaveStats(0.62,0.635,0.98,0.995,"brNDC");
   ptstats->SetName("stats");
   ptstats->SetBorderSize(2);
   ptstats->SetFillColor(19);
   ptstats->SetTextAlign(12);
   text = ptstats->AddText("ResoRow22");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1152   ");
   text = ptstats->AddText("Mean  = -0.009623");
   text = ptstats->AddText("RMS   = 0.1275");
   text = ptstats->AddText("#chi^{2} / ndf = 61.35 / 47");
   text = ptstats->AddText("Constant = 84.42 #pm 3.49 ");
   text = ptstats->AddText("Mean     = -0.00384 #pm 0.00315 ");
   text = ptstats->AddText("Sigma    = 0.1027 #pm 0.0029 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow22->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow22->GetListOfFunctions());
   ResoRow22->GetXaxis()->SetTitle("residual / mm");
   ResoRow22->GetYaxis()->SetTitle("counts");
   ResoRow22->Draw("");
   c2_5->Modified();
   c2->cd();
  
// ------------>Primitives in pad: c2_6
   c2_6 = new TPad("c2_6", "c2_6",0.6766667,0.01,0.99,0.49);
   c2_6->Draw();
   c2_6->cd();
   c2_6->Range(-1.25,-13.3875,1.25,120.4875);
   c2_6->SetFillColor(0);
   c2_6->SetBorderSize(2);
   c2_6->Modified();
   c2->cd();
   c2->Modified();
   c2->cd();
   c2->SetSelected(c2);
}
