{
//=========Macro generated from canvas: c2/
//=========  (Thu Jun 10 07:18:13 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,-15.35625,1.25,138.2063);
   c2_1->SetFillColor(0);
   c2_1->SetBorderSize(2);
   
   TH1F *ResoRow19 = new TH1F("ResoRow19","",100,-1,1);
   ResoRow19->SetBinContent(0,15);
   ResoRow19->SetBinContent(3,1);
   ResoRow19->SetBinContent(4,2);
   ResoRow19->SetBinContent(6,2);
   ResoRow19->SetBinContent(16,3);
   ResoRow19->SetBinContent(17,2);
   ResoRow19->SetBinContent(18,1);
   ResoRow19->SetBinContent(20,4);
   ResoRow19->SetBinContent(23,2);
   ResoRow19->SetBinContent(24,3);
   ResoRow19->SetBinContent(26,2);
   ResoRow19->SetBinContent(27,4);
   ResoRow19->SetBinContent(28,1);
   ResoRow19->SetBinContent(29,3);
   ResoRow19->SetBinContent(30,6);
   ResoRow19->SetBinContent(31,2);
   ResoRow19->SetBinContent(32,3);
   ResoRow19->SetBinContent(33,4);
   ResoRow19->SetBinContent(34,5);
   ResoRow19->SetBinContent(35,5);
   ResoRow19->SetBinContent(36,7);
   ResoRow19->SetBinContent(37,6);
   ResoRow19->SetBinContent(38,17);
   ResoRow19->SetBinContent(39,17);
   ResoRow19->SetBinContent(40,15);
   ResoRow19->SetBinContent(41,30);
   ResoRow19->SetBinContent(42,21);
   ResoRow19->SetBinContent(43,40);
   ResoRow19->SetBinContent(44,45);
   ResoRow19->SetBinContent(45,61);
   ResoRow19->SetBinContent(46,47);
   ResoRow19->SetBinContent(47,92);
   ResoRow19->SetBinContent(48,82);
   ResoRow19->SetBinContent(49,83);
   ResoRow19->SetBinContent(50,89);
   ResoRow19->SetBinContent(51,117);
   ResoRow19->SetBinContent(52,83);
   ResoRow19->SetBinContent(53,57);
   ResoRow19->SetBinContent(54,90);
   ResoRow19->SetBinContent(55,63);
   ResoRow19->SetBinContent(56,64);
   ResoRow19->SetBinContent(57,49);
   ResoRow19->SetBinContent(58,41);
   ResoRow19->SetBinContent(59,35);
   ResoRow19->SetBinContent(60,20);
   ResoRow19->SetBinContent(61,19);
   ResoRow19->SetBinContent(62,11);
   ResoRow19->SetBinContent(63,14);
   ResoRow19->SetBinContent(64,8);
   ResoRow19->SetBinContent(65,7);
   ResoRow19->SetBinContent(66,6);
   ResoRow19->SetBinContent(67,8);
   ResoRow19->SetBinContent(68,5);
   ResoRow19->SetBinContent(69,4);
   ResoRow19->SetBinContent(70,5);
   ResoRow19->SetBinContent(71,1);
   ResoRow19->SetBinContent(72,1);
   ResoRow19->SetBinContent(73,1);
   ResoRow19->SetBinContent(74,2);
   ResoRow19->SetBinContent(75,3);
   ResoRow19->SetBinContent(76,1);
   ResoRow19->SetBinContent(77,1);
   ResoRow19->SetBinContent(78,1);
   ResoRow19->SetBinContent(79,1);
   ResoRow19->SetBinContent(82,2);
   ResoRow19->SetBinContent(85,1);
   ResoRow19->SetBinContent(86,1);
   ResoRow19->SetBinContent(92,1);
   ResoRow19->SetBinContent(93,1);
   ResoRow19->SetBinContent(95,1);
   ResoRow19->SetBinContent(98,1);
   ResoRow19->SetBinContent(101,22);
   ResoRow19->SetEntries(1470);
   
   TF1 *ResoRowFit19 = new TF1("ResoRowFit19","gaus",-1,1);
   ResoRowFit19->SetFillColor(19);
   ResoRowFit19->SetFillStyle(0);
   ResoRowFit19->SetLineWidth(3);
   ResoRowFit19->SetChisquare(120.7304);
   ResoRowFit19->SetNDF(67);
   ResoRowFit19->SetParameter(0,82.44595);
   ResoRowFit19->SetParError(0,3.137095);
   ResoRowFit19->SetParLimits(0,0,0);
   ResoRowFit19->SetParameter(1,0.002418044);
   ResoRowFit19->SetParError(1,0.003506844);
   ResoRowFit19->SetParLimits(1,0,0);
   ResoRowFit19->SetParameter(2,0.1270002);
   ResoRowFit19->SetParError(2,0.003325872);
   ResoRowFit19->SetParLimits(2,0,1.755145);
   ResoRow19->GetListOfFunctions()->Add(ResoRowFit19);
   
   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("ResoRow19");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1470   ");
   text = ptstats->AddText("Mean  = -0.003233");
   text = ptstats->AddText("RMS   = 0.1756");
   text = ptstats->AddText("#chi^{2} / ndf = 120.7 / 67");
   text = ptstats->AddText("Constant = 82.45 #pm 3.14 ");
   text = ptstats->AddText("Mean     = 0.002418 #pm 0.003507 ");
   text = ptstats->AddText("Sigma    = 0.127 #pm 0.003 ");
   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_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.125,1.25,118.125);
   c2_2->SetFillColor(0);
   c2_2->SetBorderSize(2);
   
   TH1F *ResoRow20 = new TH1F("ResoRow20","",100,-1,1);
   ResoRow20->SetBinContent(0,18);
   ResoRow20->SetBinContent(7,1);
   ResoRow20->SetBinContent(8,1);
   ResoRow20->SetBinContent(9,1);
   ResoRow20->SetBinContent(10,3);
   ResoRow20->SetBinContent(11,1);
   ResoRow20->SetBinContent(12,1);
   ResoRow20->SetBinContent(13,1);
   ResoRow20->SetBinContent(15,2);
   ResoRow20->SetBinContent(16,1);
   ResoRow20->SetBinContent(17,1);
   ResoRow20->SetBinContent(19,1);
   ResoRow20->SetBinContent(20,1);
   ResoRow20->SetBinContent(22,3);
   ResoRow20->SetBinContent(23,4);
   ResoRow20->SetBinContent(24,3);
   ResoRow20->SetBinContent(25,2);
   ResoRow20->SetBinContent(26,3);
   ResoRow20->SetBinContent(27,3);
   ResoRow20->SetBinContent(28,2);
   ResoRow20->SetBinContent(29,5);
   ResoRow20->SetBinContent(30,4);
   ResoRow20->SetBinContent(31,2);
   ResoRow20->SetBinContent(32,3);
   ResoRow20->SetBinContent(33,6);
   ResoRow20->SetBinContent(34,5);
   ResoRow20->SetBinContent(35,11);
   ResoRow20->SetBinContent(36,15);
   ResoRow20->SetBinContent(37,12);
   ResoRow20->SetBinContent(38,9);
   ResoRow20->SetBinContent(39,14);
   ResoRow20->SetBinContent(40,21);
   ResoRow20->SetBinContent(41,21);
   ResoRow20->SetBinContent(42,26);
   ResoRow20->SetBinContent(43,39);
   ResoRow20->SetBinContent(44,29);
   ResoRow20->SetBinContent(45,50);
   ResoRow20->SetBinContent(46,58);
   ResoRow20->SetBinContent(47,75);
   ResoRow20->SetBinContent(48,64);
   ResoRow20->SetBinContent(49,87);
   ResoRow20->SetBinContent(50,95);
   ResoRow20->SetBinContent(51,100);
   ResoRow20->SetBinContent(52,90);
   ResoRow20->SetBinContent(53,69);
   ResoRow20->SetBinContent(54,91);
   ResoRow20->SetBinContent(55,70);
   ResoRow20->SetBinContent(56,58);
   ResoRow20->SetBinContent(57,40);
   ResoRow20->SetBinContent(58,47);
   ResoRow20->SetBinContent(59,35);
   ResoRow20->SetBinContent(60,23);
   ResoRow20->SetBinContent(61,23);
   ResoRow20->SetBinContent(62,19);
   ResoRow20->SetBinContent(63,9);
   ResoRow20->SetBinContent(64,9);
   ResoRow20->SetBinContent(65,10);
   ResoRow20->SetBinContent(66,7);
   ResoRow20->SetBinContent(67,9);
   ResoRow20->SetBinContent(68,6);
   ResoRow20->SetBinContent(69,4);
   ResoRow20->SetBinContent(70,4);
   ResoRow20->SetBinContent(71,3);
   ResoRow20->SetBinContent(72,3);
   ResoRow20->SetBinContent(73,2);
   ResoRow20->SetBinContent(74,3);
   ResoRow20->SetBinContent(75,3);
   ResoRow20->SetBinContent(77,2);
   ResoRow20->SetBinContent(78,1);
   ResoRow20->SetBinContent(79,2);
   ResoRow20->SetBinContent(80,1);
   ResoRow20->SetBinContent(84,1);
   ResoRow20->SetBinContent(85,1);
   ResoRow20->SetBinContent(91,1);
   ResoRow20->SetBinContent(100,1);
   ResoRow20->SetBinContent(101,19);
   ResoRow20->SetEntries(1470);
   
   TF1 *ResoRowFit20 = new TF1("ResoRowFit20","gaus",-1,1);
   ResoRowFit20->SetFillColor(19);
   ResoRowFit20->SetFillStyle(0);
   ResoRowFit20->SetLineWidth(3);
   ResoRowFit20->SetChisquare(126.8722);
   ResoRowFit20->SetNDF(71);
   ResoRowFit20->SetParameter(0,78.40458);
   ResoRowFit20->SetParError(0,3.182954);
   ResoRowFit20->SetParLimits(0,0,0);
   ResoRowFit20->SetParameter(1,0.008030413);
   ResoRowFit20->SetParError(1,0.003700375);
   ResoRowFit20->SetParLimits(1,0,0);
   ResoRowFit20->SetParameter(2,0.1329254);
   ResoRowFit20->SetParError(2,0.003963183);
   ResoRowFit20->SetParLimits(2,0,1.829628);
   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 = 1470   ");
   text = ptstats->AddText("Mean  = -0.002866");
   text = ptstats->AddText("RMS   = 0.1831");
   text = ptstats->AddText("#chi^{2} / ndf = 126.9 / 71");
   text = ptstats->AddText("Constant =  78.4 #pm 3.2 ");
   text = ptstats->AddText("Mean     = 0.00803 #pm 0.00370 ");
   text = ptstats->AddText("Sigma    = 0.1329 #pm 0.0040 ");
   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_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,-13.78125,1.25,124.0313);
   c2_3->SetFillColor(0);
   c2_3->SetBorderSize(2);
   
   TH1F *ResoRow21 = new TH1F("ResoRow21","",100,-1,1);
   ResoRow21->SetBinContent(0,19);
   ResoRow21->SetBinContent(5,1);
   ResoRow21->SetBinContent(8,1);
   ResoRow21->SetBinContent(9,1);
   ResoRow21->SetBinContent(10,1);
   ResoRow21->SetBinContent(12,2);
   ResoRow21->SetBinContent(13,2);
   ResoRow21->SetBinContent(17,2);
   ResoRow21->SetBinContent(20,1);
   ResoRow21->SetBinContent(21,1);
   ResoRow21->SetBinContent(22,5);
   ResoRow21->SetBinContent(23,2);
   ResoRow21->SetBinContent(24,1);
   ResoRow21->SetBinContent(25,1);
   ResoRow21->SetBinContent(26,2);
   ResoRow21->SetBinContent(27,5);
   ResoRow21->SetBinContent(28,4);
   ResoRow21->SetBinContent(29,4);
   ResoRow21->SetBinContent(30,5);
   ResoRow21->SetBinContent(31,5);
   ResoRow21->SetBinContent(32,2);
   ResoRow21->SetBinContent(33,3);
   ResoRow21->SetBinContent(34,3);
   ResoRow21->SetBinContent(35,7);
   ResoRow21->SetBinContent(36,16);
   ResoRow21->SetBinContent(37,9);
   ResoRow21->SetBinContent(38,12);
   ResoRow21->SetBinContent(39,13);
   ResoRow21->SetBinContent(40,16);
   ResoRow21->SetBinContent(41,16);
   ResoRow21->SetBinContent(42,35);
   ResoRow21->SetBinContent(43,42);
   ResoRow21->SetBinContent(44,43);
   ResoRow21->SetBinContent(45,48);
   ResoRow21->SetBinContent(46,62);
   ResoRow21->SetBinContent(47,65);
   ResoRow21->SetBinContent(48,74);
   ResoRow21->SetBinContent(49,91);
   ResoRow21->SetBinContent(50,80);
   ResoRow21->SetBinContent(51,105);
   ResoRow21->SetBinContent(52,95);
   ResoRow21->SetBinContent(53,95);
   ResoRow21->SetBinContent(54,96);
   ResoRow21->SetBinContent(55,64);
   ResoRow21->SetBinContent(56,57);
   ResoRow21->SetBinContent(57,37);
   ResoRow21->SetBinContent(58,33);
   ResoRow21->SetBinContent(59,29);
   ResoRow21->SetBinContent(60,23);
   ResoRow21->SetBinContent(61,13);
   ResoRow21->SetBinContent(62,15);
   ResoRow21->SetBinContent(63,9);
   ResoRow21->SetBinContent(64,12);
   ResoRow21->SetBinContent(65,4);
   ResoRow21->SetBinContent(66,7);
   ResoRow21->SetBinContent(67,9);
   ResoRow21->SetBinContent(68,4);
   ResoRow21->SetBinContent(69,3);
   ResoRow21->SetBinContent(70,5);
   ResoRow21->SetBinContent(71,2);
   ResoRow21->SetBinContent(72,2);
   ResoRow21->SetBinContent(73,4);
   ResoRow21->SetBinContent(74,4);
   ResoRow21->SetBinContent(75,1);
   ResoRow21->SetBinContent(77,1);
   ResoRow21->SetBinContent(80,4);
   ResoRow21->SetBinContent(81,2);
   ResoRow21->SetBinContent(83,1);
   ResoRow21->SetBinContent(85,2);
   ResoRow21->SetBinContent(86,1);
   ResoRow21->SetBinContent(88,2);
   ResoRow21->SetBinContent(91,1);
   ResoRow21->SetBinContent(94,1);
   ResoRow21->SetBinContent(98,1);
   ResoRow21->SetBinContent(99,1);
   ResoRow21->SetBinContent(100,1);
   ResoRow21->SetBinContent(101,22);
   ResoRow21->SetEntries(1470);
   
   TF1 *ResoRowFit21 = new TF1("ResoRowFit21","gaus",-1,1);
   ResoRowFit21->SetFillColor(19);
   ResoRowFit21->SetFillStyle(0);
   ResoRowFit21->SetLineWidth(3);
   ResoRowFit21->SetChisquare(135.5877);
   ResoRowFit21->SetNDF(72);
   ResoRowFit21->SetParameter(0,84.47622);
   ResoRowFit21->SetParError(0,3.34667);
   ResoRowFit21->SetParLimits(0,0,0);
   ResoRowFit21->SetParameter(1,0.0007614377);
   ResoRowFit21->SetParError(1,0.003413452);
   ResoRowFit21->SetParLimits(1,0,0);
   ResoRowFit21->SetParameter(2,0.1221657);
   ResoRowFit21->SetParError(2,0.003446951);
   ResoRowFit21->SetParLimits(2,0,1.84892);
   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 = 1470   ");
   text = ptstats->AddText("Mean  = -0.001443");
   text = ptstats->AddText("RMS   = 0.1848");
   text = ptstats->AddText("#chi^{2} / ndf = 135.6 / 72");
   text = ptstats->AddText("Constant = 84.48 #pm 3.35 ");
   text = ptstats->AddText("Mean     = 0.0007614 #pm 0.0034135 ");
   text = ptstats->AddText("Sigma    = 0.1222 #pm 0.0034 ");
   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_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.125,1.25,118.125);
   c2_4->SetFillColor(0);
   c2_4->SetBorderSize(2);
   
   TH1F *ResoRow22 = new TH1F("ResoRow22","",100,-1,1);
   ResoRow22->SetBinContent(0,21);
   ResoRow22->SetBinContent(1,2);
   ResoRow22->SetBinContent(2,1);
   ResoRow22->SetBinContent(4,2);
   ResoRow22->SetBinContent(5,1);
   ResoRow22->SetBinContent(10,3);
   ResoRow22->SetBinContent(15,1);
   ResoRow22->SetBinContent(16,1);
   ResoRow22->SetBinContent(17,5);
   ResoRow22->SetBinContent(19,1);
   ResoRow22->SetBinContent(21,1);
   ResoRow22->SetBinContent(22,1);
   ResoRow22->SetBinContent(25,2);
   ResoRow22->SetBinContent(27,3);
   ResoRow22->SetBinContent(28,2);
   ResoRow22->SetBinContent(29,6);
   ResoRow22->SetBinContent(30,3);
   ResoRow22->SetBinContent(31,4);
   ResoRow22->SetBinContent(32,4);
   ResoRow22->SetBinContent(33,1);
   ResoRow22->SetBinContent(34,10);
   ResoRow22->SetBinContent(35,12);
   ResoRow22->SetBinContent(36,9);
   ResoRow22->SetBinContent(37,9);
   ResoRow22->SetBinContent(38,17);
   ResoRow22->SetBinContent(39,8);
   ResoRow22->SetBinContent(40,23);
   ResoRow22->SetBinContent(41,28);
   ResoRow22->SetBinContent(42,27);
   ResoRow22->SetBinContent(43,33);
   ResoRow22->SetBinContent(44,43);
   ResoRow22->SetBinContent(45,59);
   ResoRow22->SetBinContent(46,59);
   ResoRow22->SetBinContent(47,64);
   ResoRow22->SetBinContent(48,98);
   ResoRow22->SetBinContent(49,100);
   ResoRow22->SetBinContent(50,97);
   ResoRow22->SetBinContent(51,93);
   ResoRow22->SetBinContent(52,89);
   ResoRow22->SetBinContent(53,80);
   ResoRow22->SetBinContent(54,51);
   ResoRow22->SetBinContent(55,67);
   ResoRow22->SetBinContent(56,43);
   ResoRow22->SetBinContent(57,45);
   ResoRow22->SetBinContent(58,30);
   ResoRow22->SetBinContent(59,24);
   ResoRow22->SetBinContent(60,26);
   ResoRow22->SetBinContent(61,17);
   ResoRow22->SetBinContent(62,20);
   ResoRow22->SetBinContent(63,17);
   ResoRow22->SetBinContent(64,21);
   ResoRow22->SetBinContent(65,9);
   ResoRow22->SetBinContent(66,4);
   ResoRow22->SetBinContent(67,6);
   ResoRow22->SetBinContent(68,6);
   ResoRow22->SetBinContent(69,1);
   ResoRow22->SetBinContent(70,5);
   ResoRow22->SetBinContent(71,3);
   ResoRow22->SetBinContent(72,3);
   ResoRow22->SetBinContent(74,2);
   ResoRow22->SetBinContent(75,2);
   ResoRow22->SetBinContent(77,2);
   ResoRow22->SetBinContent(78,3);
   ResoRow22->SetBinContent(79,1);
   ResoRow22->SetBinContent(81,2);
   ResoRow22->SetBinContent(82,1);
   ResoRow22->SetBinContent(84,3);
   ResoRow22->SetBinContent(85,2);
   ResoRow22->SetBinContent(87,1);
   ResoRow22->SetBinContent(88,1);
   ResoRow22->SetBinContent(89,1);
   ResoRow22->SetBinContent(93,1);
   ResoRow22->SetBinContent(95,1);
   ResoRow22->SetBinContent(97,2);
   ResoRow22->SetBinContent(99,1);
   ResoRow22->SetBinContent(101,23);
   ResoRow22->SetEntries(1470);
   
   TF1 *ResoRowFit22 = new TF1("ResoRowFit22","gaus",-1,1);
   ResoRowFit22->SetFillColor(19);
   ResoRowFit22->SetFillStyle(0);
   ResoRowFit22->SetLineWidth(3);
   ResoRowFit22->SetChisquare(147.528);
   ResoRowFit22->SetNDF(71);
   ResoRowFit22->SetParameter(0,78.91082);
   ResoRowFit22->SetParError(0,3.110583);
   ResoRowFit22->SetParLimits(0,0,0);
   ResoRowFit22->SetParameter(1,-0.001039287);
   ResoRowFit22->SetParError(1,0.003658846);
   ResoRowFit22->SetParLimits(1,0,0);
   ResoRowFit22->SetParameter(2,0.1293);
   ResoRowFit22->SetParError(2,0.003601132);
   ResoRowFit22->SetParLimits(2,0,1.92862);
   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 = 1470   ");
   text = ptstats->AddText("Mean  = -0.003067");
   text = ptstats->AddText("RMS   = 0.1929");
   text = ptstats->AddText("#chi^{2} / ndf = 147.5 / 71");
   text = ptstats->AddText("Constant = 78.91 #pm 3.11 ");
   text = ptstats->AddText("Mean     = -0.001039 #pm 0.003659 ");
   text = ptstats->AddText("Sigma    = 0.1293 #pm 0.0036 ");
   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_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.65,1.25,122.85);
   c2_5->SetFillColor(0);
   c2_5->SetBorderSize(2);
   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,-14.83125,1.25,133.4813);
   c2_6->SetFillColor(0);
   c2_6->SetBorderSize(2);
   c2_6->Modified();
   c2->cd();
   c2->Modified();
   c2->cd();
   c2->SetSelected(c2);
}
