{
//=========Macro generated from canvas: c2/
//=========  (Tue Jun  8 17:00:44 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,-16.8,1.25,151.2);
   c2_1->SetFillColor(0);
   c2_1->SetBorderSize(2);
   
   TH1F *ResoRow18 = new TH1F("ResoRow18","",100,-1,1);
   ResoRow18->SetBinContent(0,8);
   ResoRow18->SetBinContent(1,1);
   ResoRow18->SetBinContent(19,1);
   ResoRow18->SetBinContent(20,1);
   ResoRow18->SetBinContent(27,1);
   ResoRow18->SetBinContent(29,1);
   ResoRow18->SetBinContent(31,1);
   ResoRow18->SetBinContent(33,1);
   ResoRow18->SetBinContent(35,2);
   ResoRow18->SetBinContent(36,2);
   ResoRow18->SetBinContent(37,3);
   ResoRow18->SetBinContent(38,5);
   ResoRow18->SetBinContent(39,7);
   ResoRow18->SetBinContent(40,9);
   ResoRow18->SetBinContent(41,9);
   ResoRow18->SetBinContent(42,18);
   ResoRow18->SetBinContent(43,21);
   ResoRow18->SetBinContent(44,35);
   ResoRow18->SetBinContent(45,46);
   ResoRow18->SetBinContent(46,59);
   ResoRow18->SetBinContent(47,80);
   ResoRow18->SetBinContent(48,87);
   ResoRow18->SetBinContent(49,107);
   ResoRow18->SetBinContent(50,128);
   ResoRow18->SetBinContent(51,94);
   ResoRow18->SetBinContent(52,85);
   ResoRow18->SetBinContent(53,93);
   ResoRow18->SetBinContent(54,65);
   ResoRow18->SetBinContent(55,43);
   ResoRow18->SetBinContent(56,39);
   ResoRow18->SetBinContent(57,30);
   ResoRow18->SetBinContent(58,9);
   ResoRow18->SetBinContent(59,15);
   ResoRow18->SetBinContent(60,9);
   ResoRow18->SetBinContent(61,10);
   ResoRow18->SetBinContent(62,5);
   ResoRow18->SetBinContent(63,5);
   ResoRow18->SetBinContent(64,3);
   ResoRow18->SetBinContent(65,1);
   ResoRow18->SetBinContent(67,1);
   ResoRow18->SetBinContent(68,1);
   ResoRow18->SetBinContent(69,3);
   ResoRow18->SetBinContent(70,1);
   ResoRow18->SetBinContent(71,1);
   ResoRow18->SetBinContent(72,1);
   ResoRow18->SetBinContent(75,1);
   ResoRow18->SetBinContent(101,3);
   ResoRow18->SetEntries(1151);
   
   TF1 *ResoRowFit18 = new TF1("ResoRowFit18","gaus",-1,1);
   ResoRowFit18->SetFillColor(19);
   ResoRowFit18->SetFillStyle(0);
   ResoRowFit18->SetLineWidth(3);
   ResoRowFit18->SetChisquare(59.93493);
   ResoRowFit18->SetNDF(42);
   ResoRowFit18->SetParameter(0,100.386);
   ResoRowFit18->SetParError(0,4.206092);
   ResoRowFit18->SetParLimits(0,0,0);
   ResoRowFit18->SetParameter(1,-0.009295799);
   ResoRowFit18->SetParError(1,0.002616219);
   ResoRowFit18->SetParLimits(1,0,0);
   ResoRowFit18->SetParameter(2,0.08586213);
   ResoRowFit18->SetParError(2,0.002478807);
   ResoRowFit18->SetParLimits(2,0,1.08098);
   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 = 1151   ");
   text = ptstats->AddText("Mean  = -0.007477");
   text = ptstats->AddText("RMS   = 0.1082");
   text = ptstats->AddText("#chi^{2} / ndf = 59.93 / 42");
   text = ptstats->AddText("Constant = 100.4 #pm 4.2 ");
   text = ptstats->AddText("Mean     = -0.009296 #pm 0.002616 ");
   text = ptstats->AddText("Sigma    = 0.08586 #pm 0.00248 ");
   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,-14.83125,1.25,133.4813);
   c2_2->SetFillColor(0);
   c2_2->SetBorderSize(2);
   
   TH1F *ResoRow19 = new TH1F("ResoRow19","",100,-1,1);
   ResoRow19->SetBinContent(0,5);
   ResoRow19->SetBinContent(8,1);
   ResoRow19->SetBinContent(13,1);
   ResoRow19->SetBinContent(21,1);
   ResoRow19->SetBinContent(27,1);
   ResoRow19->SetBinContent(28,1);
   ResoRow19->SetBinContent(31,1);
   ResoRow19->SetBinContent(32,3);
   ResoRow19->SetBinContent(34,3);
   ResoRow19->SetBinContent(35,3);
   ResoRow19->SetBinContent(36,3);
   ResoRow19->SetBinContent(37,5);
   ResoRow19->SetBinContent(38,4);
   ResoRow19->SetBinContent(39,12);
   ResoRow19->SetBinContent(40,8);
   ResoRow19->SetBinContent(41,15);
   ResoRow19->SetBinContent(42,21);
   ResoRow19->SetBinContent(43,32);
   ResoRow19->SetBinContent(44,30);
   ResoRow19->SetBinContent(45,50);
   ResoRow19->SetBinContent(46,66);
   ResoRow19->SetBinContent(47,65);
   ResoRow19->SetBinContent(48,91);
   ResoRow19->SetBinContent(49,83);
   ResoRow19->SetBinContent(50,104);
   ResoRow19->SetBinContent(51,113);
   ResoRow19->SetBinContent(52,84);
   ResoRow19->SetBinContent(53,89);
   ResoRow19->SetBinContent(54,64);
   ResoRow19->SetBinContent(55,43);
   ResoRow19->SetBinContent(56,41);
   ResoRow19->SetBinContent(57,30);
   ResoRow19->SetBinContent(58,22);
   ResoRow19->SetBinContent(59,15);
   ResoRow19->SetBinContent(60,10);
   ResoRow19->SetBinContent(61,9);
   ResoRow19->SetBinContent(62,6);
   ResoRow19->SetBinContent(63,7);
   ResoRow19->SetBinContent(64,2);
   ResoRow19->SetBinContent(67,1);
   ResoRow19->SetBinContent(69,1);
   ResoRow19->SetBinContent(71,3);
   ResoRow19->SetBinContent(87,1);
   ResoRow19->SetBinContent(101,1);
   ResoRow19->SetEntries(1151);
   
   TF1 *ResoRowFit19 = new TF1("ResoRowFit19","gaus",-1,1);
   ResoRowFit19->SetFillColor(19);
   ResoRowFit19->SetFillStyle(0);
   ResoRowFit19->SetLineWidth(3);
   ResoRowFit19->SetChisquare(46.83564);
   ResoRowFit19->SetNDF(39);
   ResoRowFit19->SetParameter(0,91.19128);
   ResoRowFit19->SetParError(0,3.718701);
   ResoRowFit19->SetParLimits(0,0,0);
   ResoRowFit19->SetParameter(1,-0.007488137);
   ResoRowFit19->SetParError(1,0.002923761);
   ResoRowFit19->SetParLimits(1,0,0);
   ResoRowFit19->SetParameter(2,0.09621206);
   ResoRowFit19->SetParError(2,0.00267262);
   ResoRowFit19->SetParLimits(2,0,1.142347);
   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 = 1151   ");
   text = ptstats->AddText("Mean  = -0.01082");
   text = ptstats->AddText("RMS   = 0.1141");
   text = ptstats->AddText("#chi^{2} / ndf = 46.84 / 39");
   text = ptstats->AddText("Constant = 91.19 #pm 3.72 ");
   text = ptstats->AddText("Mean     = -0.007488 #pm 0.002924 ");
   text = ptstats->AddText("Sigma    = 0.09621 #pm 0.00267 ");
   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,-15.88125,1.25,142.9313);
   c2_3->SetFillColor(0);
   c2_3->SetBorderSize(2);
   
   TH1F *ResoRow20 = new TH1F("ResoRow20","",100,-1,1);
   ResoRow20->SetBinContent(0,6);
   ResoRow20->SetBinContent(12,1);
   ResoRow20->SetBinContent(14,1);
   ResoRow20->SetBinContent(15,1);
   ResoRow20->SetBinContent(18,1);
   ResoRow20->SetBinContent(23,1);
   ResoRow20->SetBinContent(27,1);
   ResoRow20->SetBinContent(28,2);
   ResoRow20->SetBinContent(29,1);
   ResoRow20->SetBinContent(31,1);
   ResoRow20->SetBinContent(33,3);
   ResoRow20->SetBinContent(35,2);
   ResoRow20->SetBinContent(36,3);
   ResoRow20->SetBinContent(37,2);
   ResoRow20->SetBinContent(38,6);
   ResoRow20->SetBinContent(39,3);
   ResoRow20->SetBinContent(40,3);
   ResoRow20->SetBinContent(41,14);
   ResoRow20->SetBinContent(42,22);
   ResoRow20->SetBinContent(43,19);
   ResoRow20->SetBinContent(44,24);
   ResoRow20->SetBinContent(45,43);
   ResoRow20->SetBinContent(46,70);
   ResoRow20->SetBinContent(47,50);
   ResoRow20->SetBinContent(48,77);
   ResoRow20->SetBinContent(49,91);
   ResoRow20->SetBinContent(50,121);
   ResoRow20->SetBinContent(51,104);
   ResoRow20->SetBinContent(52,104);
   ResoRow20->SetBinContent(53,76);
   ResoRow20->SetBinContent(54,72);
   ResoRow20->SetBinContent(55,59);
   ResoRow20->SetBinContent(56,56);
   ResoRow20->SetBinContent(57,37);
   ResoRow20->SetBinContent(58,21);
   ResoRow20->SetBinContent(59,14);
   ResoRow20->SetBinContent(60,7);
   ResoRow20->SetBinContent(61,8);
   ResoRow20->SetBinContent(62,3);
   ResoRow20->SetBinContent(63,3);
   ResoRow20->SetBinContent(64,5);
   ResoRow20->SetBinContent(65,3);
   ResoRow20->SetBinContent(66,3);
   ResoRow20->SetBinContent(70,3);
   ResoRow20->SetBinContent(73,1);
   ResoRow20->SetBinContent(75,1);
   ResoRow20->SetBinContent(82,1);
   ResoRow20->SetBinContent(98,1);
   ResoRow20->SetEntries(1151);
   
   TF1 *ResoRowFit20 = new TF1("ResoRowFit20","gaus",-1,1);
   ResoRowFit20->SetFillColor(19);
   ResoRowFit20->SetFillStyle(0);
   ResoRowFit20->SetLineWidth(3);
   ResoRowFit20->SetChisquare(67.42885);
   ResoRowFit20->SetNDF(44);
   ResoRowFit20->SetParameter(0,98.23154);
   ResoRowFit20->SetParError(0,3.873853);
   ResoRowFit20->SetParLimits(0,0,0);
   ResoRowFit20->SetParameter(1,0.003959209);
   ResoRowFit20->SetParError(1,0.002679136);
   ResoRowFit20->SetParLimits(1,0,0);
   ResoRowFit20->SetParameter(2,0.08754442);
   ResoRowFit20->SetParError(2,0.002198313);
   ResoRowFit20->SetParLimits(2,0,1.178204);
   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 = 1151   ");
   text = ptstats->AddText("Mean  = -0.0004173");
   text = ptstats->AddText("RMS   = 0.1177");
   text = ptstats->AddText("#chi^{2} / ndf = 67.43 / 44");
   text = ptstats->AddText("Constant = 98.23 #pm 3.87 ");
   text = ptstats->AddText("Mean     = 0.003959 #pm 0.002679 ");
   text = ptstats->AddText("Sigma    = 0.08754 #pm 0.00220 ");
   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,-13.65,1.25,122.85);
   c2_4->SetFillColor(0);
   c2_4->SetBorderSize(2);
   
   TH1F *ResoRow21 = new TH1F("ResoRow21","",100,-1,1);
   ResoRow21->SetBinContent(0,4);
   ResoRow21->SetBinContent(12,1);
   ResoRow21->SetBinContent(26,1);
   ResoRow21->SetBinContent(28,1);
   ResoRow21->SetBinContent(29,2);
   ResoRow21->SetBinContent(32,1);
   ResoRow21->SetBinContent(33,3);
   ResoRow21->SetBinContent(34,1);
   ResoRow21->SetBinContent(35,1);
   ResoRow21->SetBinContent(36,1);
   ResoRow21->SetBinContent(37,4);
   ResoRow21->SetBinContent(38,7);
   ResoRow21->SetBinContent(39,8);
   ResoRow21->SetBinContent(40,11);
   ResoRow21->SetBinContent(41,9);
   ResoRow21->SetBinContent(42,24);
   ResoRow21->SetBinContent(43,35);
   ResoRow21->SetBinContent(44,35);
   ResoRow21->SetBinContent(45,42);
   ResoRow21->SetBinContent(46,77);
   ResoRow21->SetBinContent(47,65);
   ResoRow21->SetBinContent(48,83);
   ResoRow21->SetBinContent(49,100);
   ResoRow21->SetBinContent(50,79);
   ResoRow21->SetBinContent(51,104);
   ResoRow21->SetBinContent(52,89);
   ResoRow21->SetBinContent(53,77);
   ResoRow21->SetBinContent(54,69);
   ResoRow21->SetBinContent(55,37);
   ResoRow21->SetBinContent(56,41);
   ResoRow21->SetBinContent(57,41);
   ResoRow21->SetBinContent(58,21);
   ResoRow21->SetBinContent(59,15);
   ResoRow21->SetBinContent(60,14);
   ResoRow21->SetBinContent(61,9);
   ResoRow21->SetBinContent(62,8);
   ResoRow21->SetBinContent(63,4);
   ResoRow21->SetBinContent(64,4);
   ResoRow21->SetBinContent(65,3);
   ResoRow21->SetBinContent(66,1);
   ResoRow21->SetBinContent(67,3);
   ResoRow21->SetBinContent(68,3);
   ResoRow21->SetBinContent(69,2);
   ResoRow21->SetBinContent(71,1);
   ResoRow21->SetBinContent(74,1);
   ResoRow21->SetBinContent(77,1);
   ResoRow21->SetBinContent(82,1);
   ResoRow21->SetBinContent(84,1);
   ResoRow21->SetBinContent(85,1);
   ResoRow21->SetBinContent(88,1);
   ResoRow21->SetBinContent(101,4);
   ResoRow21->SetEntries(1151);
   
   TF1 *ResoRowFit21 = new TF1("ResoRowFit21","gaus",-1,1);
   ResoRowFit21->SetFillColor(19);
   ResoRowFit21->SetFillStyle(0);
   ResoRowFit21->SetLineWidth(3);
   ResoRowFit21->SetChisquare(59.4637);
   ResoRowFit21->SetNDF(46);
   ResoRowFit21->SetParameter(0,87.3611);
   ResoRowFit21->SetParError(0,3.516483);
   ResoRowFit21->SetParLimits(0,0,0);
   ResoRowFit21->SetParameter(1,-0.006028233);
   ResoRowFit21->SetParError(1,0.003027275);
   ResoRowFit21->SetParLimits(1,0,0);
   ResoRowFit21->SetParameter(2,0.09897106);
   ResoRowFit21->SetParError(2,0.002616549);
   ResoRowFit21->SetParLimits(2,0,1.209874);
   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 = 1151   ");
   text = ptstats->AddText("Mean  = -0.003175");
   text = ptstats->AddText("RMS   = 0.1208");
   text = ptstats->AddText("#chi^{2} / ndf = 59.46 / 46");
   text = ptstats->AddText("Constant = 87.36 #pm 3.52 ");
   text = ptstats->AddText("Mean     = -0.006028 #pm 0.003027 ");
   text = ptstats->AddText("Sigma    = 0.09897 #pm 0.00262 ");
   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,6);
   ResoRow22->SetBinContent(8,1);
   ResoRow22->SetBinContent(9,1);
   ResoRow22->SetBinContent(11,1);
   ResoRow22->SetBinContent(14,1);
   ResoRow22->SetBinContent(18,1);
   ResoRow22->SetBinContent(24,3);
   ResoRow22->SetBinContent(26,1);
   ResoRow22->SetBinContent(28,1);
   ResoRow22->SetBinContent(30,1);
   ResoRow22->SetBinContent(32,1);
   ResoRow22->SetBinContent(33,1);
   ResoRow22->SetBinContent(34,1);
   ResoRow22->SetBinContent(35,8);
   ResoRow22->SetBinContent(36,4);
   ResoRow22->SetBinContent(37,7);
   ResoRow22->SetBinContent(38,7);
   ResoRow22->SetBinContent(39,6);
   ResoRow22->SetBinContent(40,8);
   ResoRow22->SetBinContent(41,9);
   ResoRow22->SetBinContent(42,26);
   ResoRow22->SetBinContent(43,25);
   ResoRow22->SetBinContent(44,33);
   ResoRow22->SetBinContent(45,42);
   ResoRow22->SetBinContent(46,62);
   ResoRow22->SetBinContent(47,62);
   ResoRow22->SetBinContent(48,69);
   ResoRow22->SetBinContent(49,91);
   ResoRow22->SetBinContent(50,105);
   ResoRow22->SetBinContent(51,106);
   ResoRow22->SetBinContent(52,88);
   ResoRow22->SetBinContent(53,76);
   ResoRow22->SetBinContent(54,68);
   ResoRow22->SetBinContent(55,52);
   ResoRow22->SetBinContent(56,36);
   ResoRow22->SetBinContent(57,34);
   ResoRow22->SetBinContent(58,23);
   ResoRow22->SetBinContent(59,26);
   ResoRow22->SetBinContent(60,12);
   ResoRow22->SetBinContent(61,10);
   ResoRow22->SetBinContent(62,4);
   ResoRow22->SetBinContent(63,7);
   ResoRow22->SetBinContent(64,4);
   ResoRow22->SetBinContent(65,5);
   ResoRow22->SetBinContent(66,3);
   ResoRow22->SetBinContent(68,1);
   ResoRow22->SetBinContent(70,1);
   ResoRow22->SetBinContent(71,1);
   ResoRow22->SetBinContent(72,1);
   ResoRow22->SetBinContent(76,1);
   ResoRow22->SetBinContent(78,1);
   ResoRow22->SetBinContent(89,1);
   ResoRow22->SetBinContent(90,2);
   ResoRow22->SetBinContent(93,1);
   ResoRow22->SetBinContent(101,3);
   ResoRow22->SetEntries(1151);
   
   TF1 *ResoRowFit22 = new TF1("ResoRowFit22","gaus",-1,1);
   ResoRowFit22->SetFillColor(19);
   ResoRowFit22->SetFillStyle(0);
   ResoRowFit22->SetLineWidth(3);
   ResoRowFit22->SetChisquare(66.07282);
   ResoRowFit22->SetNDF(50);
   ResoRowFit22->SetParameter(0,87.25287);
   ResoRowFit22->SetParError(0,3.626439);
   ResoRowFit22->SetParLimits(0,0,0);
   ResoRowFit22->SetParameter(1,-0.0007180145);
   ResoRowFit22->SetParError(1,0.003007532);
   ResoRowFit22->SetParLimits(1,0,0);
   ResoRowFit22->SetParameter(2,0.09842724);
   ResoRowFit22->SetParError(2,0.002792169);
   ResoRowFit22->SetParLimits(2,0,1.352297);
   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 = 1151   ");
   text = ptstats->AddText("Mean  = -0.003598");
   text = ptstats->AddText("RMS   = 0.1354");
   text = ptstats->AddText("#chi^{2} / ndf = 66.07 / 50");
   text = ptstats->AddText("Constant = 87.25 #pm 3.63 ");
   text = ptstats->AddText("Mean     = -0.000718 #pm 0.003008 ");
   text = ptstats->AddText("Sigma    = 0.09843 #pm 0.00279 ");
   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,-12.99375,1.25,116.9438);
   c2_6->SetFillColor(0);
   c2_6->SetBorderSize(2);
   c2_6->Modified();
   c2->cd();
   c2->Modified();
   c2->cd();
   c2->SetSelected(c2);
}
