{
//=========Macro generated from canvas: c2/
//=========  (Thu Jun 10 07:43:21 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,-9.7125,1.25,87.4125);
   c2_1->SetFillColor(0);
   c2_1->SetBorderSize(2);
   
   TH1F *ResoRow07 = new TH1F("ResoRow07","",100,-1,1);
   ResoRow07->SetBinContent(0,7);
   ResoRow07->SetBinContent(3,1);
   ResoRow07->SetBinContent(7,2);
   ResoRow07->SetBinContent(10,1);
   ResoRow07->SetBinContent(12,2);
   ResoRow07->SetBinContent(15,2);
   ResoRow07->SetBinContent(17,1);
   ResoRow07->SetBinContent(18,1);
   ResoRow07->SetBinContent(20,3);
   ResoRow07->SetBinContent(21,1);
   ResoRow07->SetBinContent(22,1);
   ResoRow07->SetBinContent(23,3);
   ResoRow07->SetBinContent(24,1);
   ResoRow07->SetBinContent(25,2);
   ResoRow07->SetBinContent(26,4);
   ResoRow07->SetBinContent(27,7);
   ResoRow07->SetBinContent(28,7);
   ResoRow07->SetBinContent(29,2);
   ResoRow07->SetBinContent(30,8);
   ResoRow07->SetBinContent(31,16);
   ResoRow07->SetBinContent(32,9);
   ResoRow07->SetBinContent(33,7);
   ResoRow07->SetBinContent(34,12);
   ResoRow07->SetBinContent(35,14);
   ResoRow07->SetBinContent(36,13);
   ResoRow07->SetBinContent(37,21);
   ResoRow07->SetBinContent(38,28);
   ResoRow07->SetBinContent(39,25);
   ResoRow07->SetBinContent(40,37);
   ResoRow07->SetBinContent(41,33);
   ResoRow07->SetBinContent(42,37);
   ResoRow07->SetBinContent(43,43);
   ResoRow07->SetBinContent(44,47);
   ResoRow07->SetBinContent(45,42);
   ResoRow07->SetBinContent(46,45);
   ResoRow07->SetBinContent(47,68);
   ResoRow07->SetBinContent(48,63);
   ResoRow07->SetBinContent(49,68);
   ResoRow07->SetBinContent(50,70);
   ResoRow07->SetBinContent(51,71);
   ResoRow07->SetBinContent(52,65);
   ResoRow07->SetBinContent(53,58);
   ResoRow07->SetBinContent(54,74);
   ResoRow07->SetBinContent(55,64);
   ResoRow07->SetBinContent(56,49);
   ResoRow07->SetBinContent(57,55);
   ResoRow07->SetBinContent(58,38);
   ResoRow07->SetBinContent(59,37);
   ResoRow07->SetBinContent(60,38);
   ResoRow07->SetBinContent(61,26);
   ResoRow07->SetBinContent(62,24);
   ResoRow07->SetBinContent(63,23);
   ResoRow07->SetBinContent(64,18);
   ResoRow07->SetBinContent(65,10);
   ResoRow07->SetBinContent(66,7);
   ResoRow07->SetBinContent(67,11);
   ResoRow07->SetBinContent(68,2);
   ResoRow07->SetBinContent(69,7);
   ResoRow07->SetBinContent(70,7);
   ResoRow07->SetBinContent(71,5);
   ResoRow07->SetBinContent(72,5);
   ResoRow07->SetBinContent(73,1);
   ResoRow07->SetBinContent(74,2);
   ResoRow07->SetBinContent(75,3);
   ResoRow07->SetBinContent(76,1);
   ResoRow07->SetBinContent(77,2);
   ResoRow07->SetBinContent(78,1);
   ResoRow07->SetBinContent(79,1);
   ResoRow07->SetBinContent(80,1);
   ResoRow07->SetBinContent(83,1);
   ResoRow07->SetBinContent(84,1);
   ResoRow07->SetBinContent(86,3);
   ResoRow07->SetBinContent(87,2);
   ResoRow07->SetBinContent(88,3);
   ResoRow07->SetBinContent(91,1);
   ResoRow07->SetBinContent(92,3);
   ResoRow07->SetBinContent(93,1);
   ResoRow07->SetBinContent(97,1);
   ResoRow07->SetBinContent(100,1);
   ResoRow07->SetBinContent(101,31);
   ResoRow07->SetEntries(1508);
   
   TF1 *ResoRowFit07 = new TF1("ResoRowFit07","gaus",-1,1);
   ResoRowFit07->SetFillColor(19);
   ResoRowFit07->SetFillStyle(0);
   ResoRowFit07->SetLineWidth(3);
   ResoRowFit07->SetChisquare(100.6767);
   ResoRowFit07->SetNDF(75);
   ResoRowFit07->SetParameter(0,63.9715);
   ResoRowFit07->SetParError(0,2.279321);
   ResoRowFit07->SetParLimits(0,0,0);
   ResoRowFit07->SetParameter(1,-0.01135941);
   ResoRowFit07->SetParError(1,0.004760596);
   ResoRowFit07->SetParLimits(1,0,0);
   ResoRowFit07->SetParameter(2,0.1708251);
   ResoRowFit07->SetParError(2,0.003976538);
   ResoRowFit07->SetParLimits(2,0,2.127332);
   ResoRow07->GetListOfFunctions()->Add(ResoRowFit07);
   
   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("ResoRow07");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1508   ");
   text = ptstats->AddText("Mean  = -0.00896");
   text = ptstats->AddText("RMS   = 0.2125");
   text = ptstats->AddText("#chi^{2} / ndf = 100.7 / 75");
   text = ptstats->AddText("Constant = 63.97 #pm 2.28 ");
   text = ptstats->AddText("Mean     = -0.01136 #pm 0.00476 ");
   text = ptstats->AddText("Sigma    = 0.1708 #pm 0.0040 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow07->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow07->GetListOfFunctions());
   ResoRow07->GetXaxis()->SetTitle("residual / mm");
   ResoRow07->GetYaxis()->SetTitle("counts");
   ResoRow07->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,-11.025,1.25,99.225);
   c2_2->SetFillColor(0);
   c2_2->SetBorderSize(2);
   
   TH1F *ResoRow08 = new TH1F("ResoRow08","",100,-1,1);
   ResoRow08->SetBinContent(0,8);
   ResoRow08->SetBinContent(7,1);
   ResoRow08->SetBinContent(8,2);
   ResoRow08->SetBinContent(10,1);
   ResoRow08->SetBinContent(12,1);
   ResoRow08->SetBinContent(13,1);
   ResoRow08->SetBinContent(14,2);
   ResoRow08->SetBinContent(15,2);
   ResoRow08->SetBinContent(16,1);
   ResoRow08->SetBinContent(18,2);
   ResoRow08->SetBinContent(20,2);
   ResoRow08->SetBinContent(22,2);
   ResoRow08->SetBinContent(23,2);
   ResoRow08->SetBinContent(24,2);
   ResoRow08->SetBinContent(25,2);
   ResoRow08->SetBinContent(26,4);
   ResoRow08->SetBinContent(27,2);
   ResoRow08->SetBinContent(28,2);
   ResoRow08->SetBinContent(29,2);
   ResoRow08->SetBinContent(30,4);
   ResoRow08->SetBinContent(31,6);
   ResoRow08->SetBinContent(32,8);
   ResoRow08->SetBinContent(33,5);
   ResoRow08->SetBinContent(34,11);
   ResoRow08->SetBinContent(35,18);
   ResoRow08->SetBinContent(36,18);
   ResoRow08->SetBinContent(37,24);
   ResoRow08->SetBinContent(38,28);
   ResoRow08->SetBinContent(39,11);
   ResoRow08->SetBinContent(40,23);
   ResoRow08->SetBinContent(41,37);
   ResoRow08->SetBinContent(42,45);
   ResoRow08->SetBinContent(43,40);
   ResoRow08->SetBinContent(44,54);
   ResoRow08->SetBinContent(45,49);
   ResoRow08->SetBinContent(46,65);
   ResoRow08->SetBinContent(47,61);
   ResoRow08->SetBinContent(48,80);
   ResoRow08->SetBinContent(49,65);
   ResoRow08->SetBinContent(50,84);
   ResoRow08->SetBinContent(51,68);
   ResoRow08->SetBinContent(52,71);
   ResoRow08->SetBinContent(53,66);
   ResoRow08->SetBinContent(54,48);
   ResoRow08->SetBinContent(55,65);
   ResoRow08->SetBinContent(56,45);
   ResoRow08->SetBinContent(57,36);
   ResoRow08->SetBinContent(58,41);
   ResoRow08->SetBinContent(59,32);
   ResoRow08->SetBinContent(60,27);
   ResoRow08->SetBinContent(61,24);
   ResoRow08->SetBinContent(62,16);
   ResoRow08->SetBinContent(63,16);
   ResoRow08->SetBinContent(64,22);
   ResoRow08->SetBinContent(65,17);
   ResoRow08->SetBinContent(66,14);
   ResoRow08->SetBinContent(67,17);
   ResoRow08->SetBinContent(68,7);
   ResoRow08->SetBinContent(69,14);
   ResoRow08->SetBinContent(70,13);
   ResoRow08->SetBinContent(71,9);
   ResoRow08->SetBinContent(72,3);
   ResoRow08->SetBinContent(74,3);
   ResoRow08->SetBinContent(75,1);
   ResoRow08->SetBinContent(76,2);
   ResoRow08->SetBinContent(77,1);
   ResoRow08->SetBinContent(78,1);
   ResoRow08->SetBinContent(79,2);
   ResoRow08->SetBinContent(80,2);
   ResoRow08->SetBinContent(81,1);
   ResoRow08->SetBinContent(82,1);
   ResoRow08->SetBinContent(84,2);
   ResoRow08->SetBinContent(85,2);
   ResoRow08->SetBinContent(87,1);
   ResoRow08->SetBinContent(88,1);
   ResoRow08->SetBinContent(89,1);
   ResoRow08->SetBinContent(91,2);
   ResoRow08->SetBinContent(92,1);
   ResoRow08->SetBinContent(95,1);
   ResoRow08->SetBinContent(101,35);
   ResoRow08->SetEntries(1508);
   
   TF1 *ResoRowFit08 = new TF1("ResoRowFit08","gaus",-1,1);
   ResoRowFit08->SetFillColor(19);
   ResoRowFit08->SetFillStyle(0);
   ResoRowFit08->SetLineWidth(3);
   ResoRowFit08->SetChisquare(122.0617);
   ResoRowFit08->SetNDF(75);
   ResoRowFit08->SetParameter(0,62.05897);
   ResoRowFit08->SetParError(0,2.360275);
   ResoRowFit08->SetParLimits(0,0,0);
   ResoRowFit08->SetParameter(1,-0.002762142);
   ResoRowFit08->SetParError(1,0.004843795);
   ResoRowFit08->SetParLimits(1,0,0);
   ResoRowFit08->SetParameter(2,0.172969);
   ResoRowFit08->SetParError(2,0.004640217);
   ResoRowFit08->SetParLimits(2,0,2.073586);
   ResoRow08->GetListOfFunctions()->Add(ResoRowFit08);
   
   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("ResoRow08");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1508   ");
   text = ptstats->AddText("Mean  = -0.003531");
   text = ptstats->AddText("RMS   = 0.2072");
   text = ptstats->AddText("#chi^{2} / ndf = 122.1 / 75");
   text = ptstats->AddText("Constant = 62.06 #pm 2.36 ");
   text = ptstats->AddText("Mean     = -0.002762 #pm 0.004844 ");
   text = ptstats->AddText("Sigma    = 0.173 #pm 0.005 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow08->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow08->GetListOfFunctions());
   ResoRow08->GetXaxis()->SetTitle("residual / mm");
   ResoRow08->GetYaxis()->SetTitle("counts");
   ResoRow08->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,-10.10625,1.25,90.95625);
   c2_3->SetFillColor(0);
   c2_3->SetBorderSize(2);
   
   TH1F *ResoRow09 = new TH1F("ResoRow09","",100,-1,1);
   ResoRow09->SetBinContent(0,8);
   ResoRow09->SetBinContent(4,1);
   ResoRow09->SetBinContent(9,2);
   ResoRow09->SetBinContent(12,1);
   ResoRow09->SetBinContent(13,2);
   ResoRow09->SetBinContent(16,1);
   ResoRow09->SetBinContent(17,1);
   ResoRow09->SetBinContent(18,1);
   ResoRow09->SetBinContent(20,1);
   ResoRow09->SetBinContent(21,1);
   ResoRow09->SetBinContent(22,2);
   ResoRow09->SetBinContent(23,3);
   ResoRow09->SetBinContent(24,3);
   ResoRow09->SetBinContent(25,6);
   ResoRow09->SetBinContent(26,2);
   ResoRow09->SetBinContent(27,5);
   ResoRow09->SetBinContent(28,8);
   ResoRow09->SetBinContent(29,8);
   ResoRow09->SetBinContent(30,4);
   ResoRow09->SetBinContent(31,9);
   ResoRow09->SetBinContent(32,9);
   ResoRow09->SetBinContent(33,13);
   ResoRow09->SetBinContent(34,5);
   ResoRow09->SetBinContent(35,11);
   ResoRow09->SetBinContent(36,20);
   ResoRow09->SetBinContent(37,24);
   ResoRow09->SetBinContent(38,16);
   ResoRow09->SetBinContent(39,27);
   ResoRow09->SetBinContent(40,29);
   ResoRow09->SetBinContent(41,32);
   ResoRow09->SetBinContent(42,29);
   ResoRow09->SetBinContent(43,42);
   ResoRow09->SetBinContent(44,53);
   ResoRow09->SetBinContent(45,60);
   ResoRow09->SetBinContent(46,47);
   ResoRow09->SetBinContent(47,68);
   ResoRow09->SetBinContent(48,69);
   ResoRow09->SetBinContent(49,77);
   ResoRow09->SetBinContent(50,73);
   ResoRow09->SetBinContent(51,68);
   ResoRow09->SetBinContent(52,77);
   ResoRow09->SetBinContent(53,66);
   ResoRow09->SetBinContent(54,56);
   ResoRow09->SetBinContent(55,54);
   ResoRow09->SetBinContent(56,64);
   ResoRow09->SetBinContent(57,41);
   ResoRow09->SetBinContent(58,38);
   ResoRow09->SetBinContent(59,31);
   ResoRow09->SetBinContent(60,34);
   ResoRow09->SetBinContent(61,32);
   ResoRow09->SetBinContent(62,15);
   ResoRow09->SetBinContent(63,15);
   ResoRow09->SetBinContent(64,14);
   ResoRow09->SetBinContent(65,12);
   ResoRow09->SetBinContent(66,13);
   ResoRow09->SetBinContent(67,14);
   ResoRow09->SetBinContent(68,6);
   ResoRow09->SetBinContent(69,6);
   ResoRow09->SetBinContent(70,4);
   ResoRow09->SetBinContent(71,4);
   ResoRow09->SetBinContent(72,7);
   ResoRow09->SetBinContent(73,3);
   ResoRow09->SetBinContent(74,5);
   ResoRow09->SetBinContent(75,4);
   ResoRow09->SetBinContent(76,6);
   ResoRow09->SetBinContent(78,1);
   ResoRow09->SetBinContent(79,2);
   ResoRow09->SetBinContent(80,2);
   ResoRow09->SetBinContent(81,3);
   ResoRow09->SetBinContent(82,1);
   ResoRow09->SetBinContent(84,2);
   ResoRow09->SetBinContent(86,1);
   ResoRow09->SetBinContent(87,2);
   ResoRow09->SetBinContent(88,2);
   ResoRow09->SetBinContent(89,2);
   ResoRow09->SetBinContent(90,2);
   ResoRow09->SetBinContent(92,1);
   ResoRow09->SetBinContent(94,1);
   ResoRow09->SetBinContent(97,1);
   ResoRow09->SetBinContent(98,1);
   ResoRow09->SetBinContent(99,1);
   ResoRow09->SetBinContent(101,21);
   ResoRow09->SetEntries(1508);
   
   TF1 *ResoRowFit09 = new TF1("ResoRowFit09","gaus",-1,1);
   ResoRowFit09->SetFillColor(19);
   ResoRowFit09->SetFillStyle(0);
   ResoRowFit09->SetLineWidth(3);
   ResoRowFit09->SetChisquare(116.9851);
   ResoRowFit09->SetNDF(77);
   ResoRowFit09->SetParameter(0,63.53313);
   ResoRowFit09->SetParError(0,2.457381);
   ResoRowFit09->SetParLimits(0,0,0);
   ResoRowFit09->SetParameter(1,-0.007477008);
   ResoRowFit09->SetParError(1,0.004652929);
   ResoRowFit09->SetParLimits(1,0,0);
   ResoRowFit09->SetParameter(2,0.171128);
   ResoRowFit09->SetParError(2,0.004743554);
   ResoRowFit09->SetParLimits(2,0,2.15714);
   ResoRow09->GetListOfFunctions()->Add(ResoRowFit09);
   
   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("ResoRow09");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1508   ");
   text = ptstats->AddText("Mean  = -0.00472");
   text = ptstats->AddText("RMS   = 0.2158");
   text = ptstats->AddText("#chi^{2} / ndf =   117 / 77");
   text = ptstats->AddText("Constant = 63.53 #pm 2.46 ");
   text = ptstats->AddText("Mean     = -0.007477 #pm 0.004653 ");
   text = ptstats->AddText("Sigma    = 0.1711 #pm 0.0047 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow09->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow09->GetListOfFunctions());
   ResoRow09->GetXaxis()->SetTitle("residual / mm");
   ResoRow09->GetYaxis()->SetTitle("counts");
   ResoRow09->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,-10.5,1.25,94.5);
   c2_4->SetFillColor(0);
   c2_4->SetBorderSize(2);
   
   TH1F *ResoRow10 = new TH1F("ResoRow10","",100,-1,1);
   ResoRow10->SetBinContent(0,13);
   ResoRow10->SetBinContent(5,1);
   ResoRow10->SetBinContent(8,1);
   ResoRow10->SetBinContent(9,1);
   ResoRow10->SetBinContent(10,1);
   ResoRow10->SetBinContent(13,1);
   ResoRow10->SetBinContent(14,1);
   ResoRow10->SetBinContent(16,2);
   ResoRow10->SetBinContent(18,1);
   ResoRow10->SetBinContent(19,1);
   ResoRow10->SetBinContent(20,1);
   ResoRow10->SetBinContent(21,1);
   ResoRow10->SetBinContent(23,3);
   ResoRow10->SetBinContent(24,2);
   ResoRow10->SetBinContent(25,3);
   ResoRow10->SetBinContent(26,3);
   ResoRow10->SetBinContent(27,2);
   ResoRow10->SetBinContent(28,4);
   ResoRow10->SetBinContent(29,6);
   ResoRow10->SetBinContent(30,3);
   ResoRow10->SetBinContent(31,5);
   ResoRow10->SetBinContent(32,13);
   ResoRow10->SetBinContent(33,8);
   ResoRow10->SetBinContent(34,6);
   ResoRow10->SetBinContent(35,18);
   ResoRow10->SetBinContent(36,13);
   ResoRow10->SetBinContent(37,16);
   ResoRow10->SetBinContent(38,24);
   ResoRow10->SetBinContent(39,24);
   ResoRow10->SetBinContent(40,38);
   ResoRow10->SetBinContent(41,35);
   ResoRow10->SetBinContent(42,34);
   ResoRow10->SetBinContent(43,38);
   ResoRow10->SetBinContent(44,53);
   ResoRow10->SetBinContent(45,57);
   ResoRow10->SetBinContent(46,52);
   ResoRow10->SetBinContent(47,62);
   ResoRow10->SetBinContent(48,71);
   ResoRow10->SetBinContent(49,80);
   ResoRow10->SetBinContent(50,65);
   ResoRow10->SetBinContent(51,74);
   ResoRow10->SetBinContent(52,69);
   ResoRow10->SetBinContent(53,73);
   ResoRow10->SetBinContent(54,63);
   ResoRow10->SetBinContent(55,61);
   ResoRow10->SetBinContent(56,54);
   ResoRow10->SetBinContent(57,51);
   ResoRow10->SetBinContent(58,36);
   ResoRow10->SetBinContent(59,32);
   ResoRow10->SetBinContent(60,34);
   ResoRow10->SetBinContent(61,26);
   ResoRow10->SetBinContent(62,20);
   ResoRow10->SetBinContent(63,20);
   ResoRow10->SetBinContent(64,14);
   ResoRow10->SetBinContent(65,15);
   ResoRow10->SetBinContent(66,10);
   ResoRow10->SetBinContent(67,11);
   ResoRow10->SetBinContent(68,7);
   ResoRow10->SetBinContent(69,5);
   ResoRow10->SetBinContent(70,6);
   ResoRow10->SetBinContent(71,1);
   ResoRow10->SetBinContent(72,10);
   ResoRow10->SetBinContent(73,3);
   ResoRow10->SetBinContent(74,8);
   ResoRow10->SetBinContent(75,1);
   ResoRow10->SetBinContent(76,3);
   ResoRow10->SetBinContent(78,1);
   ResoRow10->SetBinContent(81,2);
   ResoRow10->SetBinContent(82,1);
   ResoRow10->SetBinContent(83,1);
   ResoRow10->SetBinContent(87,1);
   ResoRow10->SetBinContent(88,2);
   ResoRow10->SetBinContent(90,2);
   ResoRow10->SetBinContent(91,1);
   ResoRow10->SetBinContent(93,1);
   ResoRow10->SetBinContent(96,1);
   ResoRow10->SetBinContent(99,1);
   ResoRow10->SetBinContent(101,24);
   ResoRow10->SetEntries(1508);
   
   TF1 *ResoRowFit10 = new TF1("ResoRowFit10","gaus",-1,1);
   ResoRowFit10->SetFillColor(19);
   ResoRowFit10->SetFillStyle(0);
   ResoRowFit10->SetLineWidth(3);
   ResoRowFit10->SetChisquare(79.93672);
   ResoRowFit10->SetNDF(73);
   ResoRowFit10->SetParameter(0,66.98077);
   ResoRowFit10->SetParError(0,2.376621);
   ResoRowFit10->SetParLimits(0,0,0);
   ResoRowFit10->SetParameter(1,-0.006947537);
   ResoRowFit10->SetParError(1,0.004475273);
   ResoRowFit10->SetParLimits(1,0,0);
   ResoRowFit10->SetParameter(2,0.1658115);
   ResoRowFit10->SetParError(2,0.003878814);
   ResoRowFit10->SetParLimits(2,0,2.015736);
   ResoRow10->GetListOfFunctions()->Add(ResoRowFit10);
   
   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("ResoRow10");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1508   ");
   text = ptstats->AddText("Mean  = -0.005039");
   text = ptstats->AddText("RMS   = 0.2017");
   text = ptstats->AddText("#chi^{2} / ndf = 79.94 / 73");
   text = ptstats->AddText("Constant = 66.98 #pm 2.38 ");
   text = ptstats->AddText("Mean     = -0.006948 #pm 0.004475 ");
   text = ptstats->AddText("Sigma    = 0.1658 #pm 0.0039 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow10->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow10->GetListOfFunctions());
   ResoRow10->GetXaxis()->SetTitle("residual / mm");
   ResoRow10->GetYaxis()->SetTitle("counts");
   ResoRow10->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,-10.63125,1.25,95.68125);
   c2_5->SetFillColor(0);
   c2_5->SetBorderSize(2);
   
   TH1F *ResoRow11 = new TH1F("ResoRow11","",100,-1,1);
   ResoRow11->SetBinContent(0,15);
   ResoRow11->SetBinContent(4,2);
   ResoRow11->SetBinContent(5,1);
   ResoRow11->SetBinContent(6,1);
   ResoRow11->SetBinContent(13,1);
   ResoRow11->SetBinContent(15,1);
   ResoRow11->SetBinContent(17,2);
   ResoRow11->SetBinContent(18,2);
   ResoRow11->SetBinContent(19,2);
   ResoRow11->SetBinContent(21,2);
   ResoRow11->SetBinContent(22,2);
   ResoRow11->SetBinContent(23,1);
   ResoRow11->SetBinContent(24,4);
   ResoRow11->SetBinContent(26,2);
   ResoRow11->SetBinContent(27,6);
   ResoRow11->SetBinContent(28,6);
   ResoRow11->SetBinContent(29,9);
   ResoRow11->SetBinContent(30,5);
   ResoRow11->SetBinContent(31,7);
   ResoRow11->SetBinContent(32,8);
   ResoRow11->SetBinContent(33,8);
   ResoRow11->SetBinContent(34,4);
   ResoRow11->SetBinContent(35,10);
   ResoRow11->SetBinContent(36,17);
   ResoRow11->SetBinContent(37,19);
   ResoRow11->SetBinContent(38,35);
   ResoRow11->SetBinContent(39,23);
   ResoRow11->SetBinContent(40,26);
   ResoRow11->SetBinContent(41,29);
   ResoRow11->SetBinContent(42,30);
   ResoRow11->SetBinContent(43,43);
   ResoRow11->SetBinContent(44,42);
   ResoRow11->SetBinContent(45,55);
   ResoRow11->SetBinContent(46,70);
   ResoRow11->SetBinContent(47,55);
   ResoRow11->SetBinContent(48,48);
   ResoRow11->SetBinContent(49,81);
   ResoRow11->SetBinContent(50,75);
   ResoRow11->SetBinContent(51,66);
   ResoRow11->SetBinContent(52,66);
   ResoRow11->SetBinContent(53,80);
   ResoRow11->SetBinContent(54,72);
   ResoRow11->SetBinContent(55,70);
   ResoRow11->SetBinContent(56,50);
   ResoRow11->SetBinContent(57,51);
   ResoRow11->SetBinContent(58,36);
   ResoRow11->SetBinContent(59,37);
   ResoRow11->SetBinContent(60,36);
   ResoRow11->SetBinContent(61,26);
   ResoRow11->SetBinContent(62,14);
   ResoRow11->SetBinContent(63,19);
   ResoRow11->SetBinContent(64,14);
   ResoRow11->SetBinContent(65,10);
   ResoRow11->SetBinContent(66,16);
   ResoRow11->SetBinContent(67,17);
   ResoRow11->SetBinContent(68,5);
   ResoRow11->SetBinContent(69,9);
   ResoRow11->SetBinContent(70,7);
   ResoRow11->SetBinContent(71,5);
   ResoRow11->SetBinContent(72,3);
   ResoRow11->SetBinContent(73,2);
   ResoRow11->SetBinContent(74,1);
   ResoRow11->SetBinContent(75,3);
   ResoRow11->SetBinContent(77,2);
   ResoRow11->SetBinContent(79,1);
   ResoRow11->SetBinContent(81,2);
   ResoRow11->SetBinContent(82,4);
   ResoRow11->SetBinContent(83,2);
   ResoRow11->SetBinContent(85,2);
   ResoRow11->SetBinContent(87,1);
   ResoRow11->SetBinContent(90,1);
   ResoRow11->SetBinContent(91,1);
   ResoRow11->SetBinContent(92,1);
   ResoRow11->SetBinContent(93,2);
   ResoRow11->SetBinContent(95,1);
   ResoRow11->SetBinContent(99,1);
   ResoRow11->SetBinContent(100,1);
   ResoRow11->SetBinContent(101,22);
   ResoRow11->SetEntries(1508);
   
   TF1 *ResoRowFit11 = new TF1("ResoRowFit11","gaus",-1,1);
   ResoRowFit11->SetFillColor(19);
   ResoRowFit11->SetFillStyle(0);
   ResoRowFit11->SetLineWidth(3);
   ResoRowFit11->SetChisquare(118.4021);
   ResoRowFit11->SetNDF(73);
   ResoRowFit11->SetParameter(0,64.85455);
   ResoRowFit11->SetParError(0,2.419119);
   ResoRowFit11->SetParLimits(0,0,0);
   ResoRowFit11->SetParameter(1,-0.001462242);
   ResoRowFit11->SetParError(1,0.004569113);
   ResoRowFit11->SetParLimits(1,0,0);
   ResoRowFit11->SetParameter(2,0.1666176);
   ResoRowFit11->SetParError(2,0.004303564);
   ResoRowFit11->SetParLimits(2,0,2.084515);
   ResoRow11->GetListOfFunctions()->Add(ResoRowFit11);
   
   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("ResoRow11");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1508   ");
   text = ptstats->AddText("Mean  = -0.002749");
   text = ptstats->AddText("RMS   = 0.2084");
   text = ptstats->AddText("#chi^{2} / ndf = 118.4 / 73");
   text = ptstats->AddText("Constant = 64.85 #pm 2.42 ");
   text = ptstats->AddText("Mean     = -0.001462 #pm 0.004569 ");
   text = ptstats->AddText("Sigma    = 0.1666 #pm 0.0043 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow11->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow11->GetListOfFunctions());
   ResoRow11->GetXaxis()->SetTitle("residual / mm");
   ResoRow11->GetYaxis()->SetTitle("counts");
   ResoRow11->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,-10.7625,1.25,96.8625);
   c2_6->SetFillColor(0);
   c2_6->SetBorderSize(2);
   
   TH1F *ResoRow12 = new TH1F("ResoRow12","",100,-1,1);
   ResoRow12->SetBinContent(0,12);
   ResoRow12->SetBinContent(1,1);
   ResoRow12->SetBinContent(3,2);
   ResoRow12->SetBinContent(7,1);
   ResoRow12->SetBinContent(14,3);
   ResoRow12->SetBinContent(16,3);
   ResoRow12->SetBinContent(18,1);
   ResoRow12->SetBinContent(19,1);
   ResoRow12->SetBinContent(21,5);
   ResoRow12->SetBinContent(23,1);
   ResoRow12->SetBinContent(24,1);
   ResoRow12->SetBinContent(25,4);
   ResoRow12->SetBinContent(26,2);
   ResoRow12->SetBinContent(27,5);
   ResoRow12->SetBinContent(28,3);
   ResoRow12->SetBinContent(29,2);
   ResoRow12->SetBinContent(30,10);
   ResoRow12->SetBinContent(31,11);
   ResoRow12->SetBinContent(32,8);
   ResoRow12->SetBinContent(33,10);
   ResoRow12->SetBinContent(34,10);
   ResoRow12->SetBinContent(35,13);
   ResoRow12->SetBinContent(36,19);
   ResoRow12->SetBinContent(37,17);
   ResoRow12->SetBinContent(38,12);
   ResoRow12->SetBinContent(39,15);
   ResoRow12->SetBinContent(40,29);
   ResoRow12->SetBinContent(41,32);
   ResoRow12->SetBinContent(42,49);
   ResoRow12->SetBinContent(43,49);
   ResoRow12->SetBinContent(44,50);
   ResoRow12->SetBinContent(45,56);
   ResoRow12->SetBinContent(46,52);
   ResoRow12->SetBinContent(47,55);
   ResoRow12->SetBinContent(48,68);
   ResoRow12->SetBinContent(49,82);
   ResoRow12->SetBinContent(50,67);
   ResoRow12->SetBinContent(51,67);
   ResoRow12->SetBinContent(52,64);
   ResoRow12->SetBinContent(53,65);
   ResoRow12->SetBinContent(54,60);
   ResoRow12->SetBinContent(55,49);
   ResoRow12->SetBinContent(56,52);
   ResoRow12->SetBinContent(57,46);
   ResoRow12->SetBinContent(58,40);
   ResoRow12->SetBinContent(59,45);
   ResoRow12->SetBinContent(60,30);
   ResoRow12->SetBinContent(61,27);
   ResoRow12->SetBinContent(62,27);
   ResoRow12->SetBinContent(63,26);
   ResoRow12->SetBinContent(64,19);
   ResoRow12->SetBinContent(65,16);
   ResoRow12->SetBinContent(66,11);
   ResoRow12->SetBinContent(67,10);
   ResoRow12->SetBinContent(68,14);
   ResoRow12->SetBinContent(69,8);
   ResoRow12->SetBinContent(70,7);
   ResoRow12->SetBinContent(71,3);
   ResoRow12->SetBinContent(72,5);
   ResoRow12->SetBinContent(73,4);
   ResoRow12->SetBinContent(74,1);
   ResoRow12->SetBinContent(75,2);
   ResoRow12->SetBinContent(77,4);
   ResoRow12->SetBinContent(78,2);
   ResoRow12->SetBinContent(79,4);
   ResoRow12->SetBinContent(80,3);
   ResoRow12->SetBinContent(81,2);
   ResoRow12->SetBinContent(83,1);
   ResoRow12->SetBinContent(88,2);
   ResoRow12->SetBinContent(98,1);
   ResoRow12->SetBinContent(101,30);
   ResoRow12->SetEntries(1508);
   
   TF1 *ResoRowFit12 = new TF1("ResoRowFit12","gaus",-1,1);
   ResoRowFit12->SetFillColor(19);
   ResoRowFit12->SetFillStyle(0);
   ResoRowFit12->SetLineWidth(3);
   ResoRowFit12->SetChisquare(83.24375);
   ResoRowFit12->SetNDF(66);
   ResoRowFit12->SetParameter(0,62.834);
   ResoRowFit12->SetParError(0,2.256897);
   ResoRowFit12->SetParLimits(0,0,0);
   ResoRowFit12->SetParameter(1,0.003328687);
   ResoRowFit12->SetParError(1,0.00475611);
   ResoRowFit12->SetParLimits(1,0,0);
   ResoRowFit12->SetParameter(2,0.1758079);
   ResoRowFit12->SetParError(2,0.004233483);
   ResoRowFit12->SetParLimits(2,0,2.055003);
   ResoRow12->GetListOfFunctions()->Add(ResoRowFit12);
   
   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("ResoRow12");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1508   ");
   text = ptstats->AddText("Mean  = -0.004049");
   text = ptstats->AddText("RMS   = 0.2055");
   text = ptstats->AddText("#chi^{2} / ndf = 83.24 / 66");
   text = ptstats->AddText("Constant = 62.83 #pm 2.26 ");
   text = ptstats->AddText("Mean     = 0.003329 #pm 0.004756 ");
   text = ptstats->AddText("Sigma    = 0.1758 #pm 0.0042 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow12->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow12->GetListOfFunctions());
   ResoRow12->GetXaxis()->SetTitle("residual / mm");
   ResoRow12->GetYaxis()->SetTitle("counts");
   ResoRow12->Draw("");
   c2_6->Modified();
   c2->cd();
   c2->Modified();
   c2->cd();
   c2->SetSelected(c2);
}
