{
//=========Macro generated from canvas: c2/
//=========  (Wed Jun  9 07:40:26 2010) by ROOT version5.25/04
   TCanvas *c2 = new TCanvas("c2", "",0,0,900,600);
   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,-7.48125,1.25,67.33125);
   c2_1->SetFillColor(0);
   c2_1->SetBorderSize(2);
   
   TH1F *ResoRow01 = new TH1F("ResoRow01","",100,-1,1);
   ResoRow01->SetBinContent(3,1);
   ResoRow01->SetBinContent(5,1);
   ResoRow01->SetBinContent(18,1);
   ResoRow01->SetBinContent(28,1);
   ResoRow01->SetBinContent(30,2);
   ResoRow01->SetBinContent(31,1);
   ResoRow01->SetBinContent(32,1);
   ResoRow01->SetBinContent(33,8);
   ResoRow01->SetBinContent(34,2);
   ResoRow01->SetBinContent(35,4);
   ResoRow01->SetBinContent(36,4);
   ResoRow01->SetBinContent(37,8);
   ResoRow01->SetBinContent(38,7);
   ResoRow01->SetBinContent(39,11);
   ResoRow01->SetBinContent(40,11);
   ResoRow01->SetBinContent(41,10);
   ResoRow01->SetBinContent(42,7);
   ResoRow01->SetBinContent(43,25);
   ResoRow01->SetBinContent(44,25);
   ResoRow01->SetBinContent(45,33);
   ResoRow01->SetBinContent(46,30);
   ResoRow01->SetBinContent(47,43);
   ResoRow01->SetBinContent(48,36);
   ResoRow01->SetBinContent(49,47);
   ResoRow01->SetBinContent(50,44);
   ResoRow01->SetBinContent(51,57);
   ResoRow01->SetBinContent(52,43);
   ResoRow01->SetBinContent(53,42);
   ResoRow01->SetBinContent(54,37);
   ResoRow01->SetBinContent(55,26);
   ResoRow01->SetBinContent(56,32);
   ResoRow01->SetBinContent(57,22);
   ResoRow01->SetBinContent(58,23);
   ResoRow01->SetBinContent(59,20);
   ResoRow01->SetBinContent(60,18);
   ResoRow01->SetBinContent(61,15);
   ResoRow01->SetBinContent(62,9);
   ResoRow01->SetBinContent(63,5);
   ResoRow01->SetBinContent(64,6);
   ResoRow01->SetBinContent(65,5);
   ResoRow01->SetBinContent(66,2);
   ResoRow01->SetBinContent(67,3);
   ResoRow01->SetBinContent(68,3);
   ResoRow01->SetBinContent(69,2);
   ResoRow01->SetBinContent(70,2);
   ResoRow01->SetBinContent(74,1);
   ResoRow01->SetBinContent(77,1);
   ResoRow01->SetBinContent(80,1);
   ResoRow01->SetBinContent(85,1);
   ResoRow01->SetBinContent(99,1);
   ResoRow01->SetBinContent(101,1);
   ResoRow01->SetEntries(741);
   
   TF1 *ResoRowFit01 = new TF1("ResoRowFit01","gaus",-1,1);
   ResoRowFit01->SetFillColor(19);
   ResoRowFit01->SetFillStyle(0);
   ResoRowFit01->SetLineWidth(3);
   ResoRowFit01->SetChisquare(52.87631);
   ResoRowFit01->SetNDF(47);
   ResoRowFit01->SetParameter(0,41.76912);
   ResoRowFit01->SetParError(0,2.176577);
   ResoRowFit01->SetParLimits(0,0,0);
   ResoRowFit01->SetParameter(1,0.00708659);
   ResoRowFit01->SetParError(1,0.005063789);
   ResoRowFit01->SetParLimits(1,0,0);
   ResoRowFit01->SetParameter(2,0.1314756);
   ResoRowFit01->SetParError(2,0.004744646);
   ResoRowFit01->SetParLimits(2,0,1.585828);
   ResoRow01->GetListOfFunctions()->Add(ResoRowFit01);
   
   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("ResoRow01");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 741    ");
   text = ptstats->AddText("Mean  = 0.0006373");
   text = ptstats->AddText("RMS   = 0.1587");
   text = ptstats->AddText("#chi^{2} / ndf = 52.88 / 47");
   text = ptstats->AddText("Constant = 41.77 #pm 2.18 ");
   text = ptstats->AddText("Mean     = 0.007087 #pm 0.005064 ");
   text = ptstats->AddText("Sigma    = 0.1315 #pm 0.0047 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow01->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow01->GetListOfFunctions());
   ResoRow01->GetXaxis()->SetTitle("residual / mm");
   ResoRow01->GetYaxis()->SetTitle("counts");
   ResoRow01->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,-6.825,1.25,61.425);
   c2_2->SetFillColor(0);
   c2_2->SetBorderSize(2);
   
   TH1F *ResoRow02 = new TH1F("ResoRow02","",100,-1,1);
   ResoRow02->SetBinContent(0,3);
   ResoRow02->SetBinContent(11,1);
   ResoRow02->SetBinContent(18,1);
   ResoRow02->SetBinContent(22,1);
   ResoRow02->SetBinContent(24,1);
   ResoRow02->SetBinContent(25,1);
   ResoRow02->SetBinContent(27,2);
   ResoRow02->SetBinContent(28,1);
   ResoRow02->SetBinContent(30,1);
   ResoRow02->SetBinContent(31,1);
   ResoRow02->SetBinContent(34,3);
   ResoRow02->SetBinContent(35,2);
   ResoRow02->SetBinContent(36,4);
   ResoRow02->SetBinContent(37,3);
   ResoRow02->SetBinContent(38,7);
   ResoRow02->SetBinContent(39,10);
   ResoRow02->SetBinContent(40,14);
   ResoRow02->SetBinContent(41,15);
   ResoRow02->SetBinContent(42,18);
   ResoRow02->SetBinContent(43,17);
   ResoRow02->SetBinContent(44,27);
   ResoRow02->SetBinContent(45,42);
   ResoRow02->SetBinContent(46,39);
   ResoRow02->SetBinContent(47,41);
   ResoRow02->SetBinContent(48,49);
   ResoRow02->SetBinContent(49,37);
   ResoRow02->SetBinContent(50,37);
   ResoRow02->SetBinContent(51,40);
   ResoRow02->SetBinContent(52,52);
   ResoRow02->SetBinContent(53,41);
   ResoRow02->SetBinContent(54,43);
   ResoRow02->SetBinContent(55,25);
   ResoRow02->SetBinContent(56,30);
   ResoRow02->SetBinContent(57,25);
   ResoRow02->SetBinContent(58,21);
   ResoRow02->SetBinContent(59,19);
   ResoRow02->SetBinContent(60,8);
   ResoRow02->SetBinContent(61,10);
   ResoRow02->SetBinContent(62,7);
   ResoRow02->SetBinContent(63,11);
   ResoRow02->SetBinContent(64,6);
   ResoRow02->SetBinContent(65,7);
   ResoRow02->SetBinContent(66,2);
   ResoRow02->SetBinContent(67,2);
   ResoRow02->SetBinContent(68,2);
   ResoRow02->SetBinContent(69,3);
   ResoRow02->SetBinContent(70,2);
   ResoRow02->SetBinContent(71,1);
   ResoRow02->SetBinContent(73,1);
   ResoRow02->SetBinContent(75,1);
   ResoRow02->SetBinContent(80,1);
   ResoRow02->SetBinContent(81,1);
   ResoRow02->SetBinContent(93,1);
   ResoRow02->SetBinContent(101,1);
   ResoRow02->SetEntries(741);
   
   TF1 *ResoRowFit02 = new TF1("ResoRowFit02","gaus",-1,1);
   ResoRowFit02->SetFillColor(19);
   ResoRowFit02->SetFillStyle(0);
   ResoRowFit02->SetLineWidth(3);
   ResoRowFit02->SetChisquare(44.15325);
   ResoRowFit02->SetNDF(49);
   ResoRowFit02->SetParameter(0,42.69377);
   ResoRowFit02->SetParError(0,2.145527);
   ResoRowFit02->SetParLimits(0,0,0);
   ResoRowFit02->SetParameter(1,-0.004620993);
   ResoRowFit02->SetParError(1,0.005037705);
   ResoRowFit02->SetParLimits(1,0,0);
   ResoRowFit02->SetParameter(2,0.1299628);
   ResoRowFit02->SetParError(2,0.004387312);
   ResoRowFit02->SetParLimits(2,0,1.528871);
   ResoRow02->GetListOfFunctions()->Add(ResoRowFit02);
   
   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("ResoRow02");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 741    ");
   text = ptstats->AddText("Mean  = -0.002595");
   text = ptstats->AddText("RMS   = 0.1531");
   text = ptstats->AddText("#chi^{2} / ndf = 44.15 / 49");
   text = ptstats->AddText("Constant = 42.69 #pm 2.15 ");
   text = ptstats->AddText("Mean     = -0.004621 #pm 0.005038 ");
   text = ptstats->AddText("Sigma    =  0.13 #pm 0.00 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow02->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow02->GetListOfFunctions());
   ResoRow02->GetXaxis()->SetTitle("residual / mm");
   ResoRow02->GetYaxis()->SetTitle("counts");
   ResoRow02->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,-5.90625,1.25,53.15625);
   c2_3->SetFillColor(0);
   c2_3->SetBorderSize(2);
   
   TH1F *ResoRow03 = new TH1F("ResoRow03","",100,-1,1);
   ResoRow03->SetBinContent(0,1);
   ResoRow03->SetBinContent(12,1);
   ResoRow03->SetBinContent(21,1);
   ResoRow03->SetBinContent(23,1);
   ResoRow03->SetBinContent(26,1);
   ResoRow03->SetBinContent(27,2);
   ResoRow03->SetBinContent(28,2);
   ResoRow03->SetBinContent(30,2);
   ResoRow03->SetBinContent(31,2);
   ResoRow03->SetBinContent(32,4);
   ResoRow03->SetBinContent(33,2);
   ResoRow03->SetBinContent(34,2);
   ResoRow03->SetBinContent(35,7);
   ResoRow03->SetBinContent(36,8);
   ResoRow03->SetBinContent(37,3);
   ResoRow03->SetBinContent(38,8);
   ResoRow03->SetBinContent(39,11);
   ResoRow03->SetBinContent(40,8);
   ResoRow03->SetBinContent(41,20);
   ResoRow03->SetBinContent(42,12);
   ResoRow03->SetBinContent(43,24);
   ResoRow03->SetBinContent(44,17);
   ResoRow03->SetBinContent(45,30);
   ResoRow03->SetBinContent(46,36);
   ResoRow03->SetBinContent(47,35);
   ResoRow03->SetBinContent(48,45);
   ResoRow03->SetBinContent(49,32);
   ResoRow03->SetBinContent(50,41);
   ResoRow03->SetBinContent(51,45);
   ResoRow03->SetBinContent(52,44);
   ResoRow03->SetBinContent(53,40);
   ResoRow03->SetBinContent(54,28);
   ResoRow03->SetBinContent(55,35);
   ResoRow03->SetBinContent(56,19);
   ResoRow03->SetBinContent(57,34);
   ResoRow03->SetBinContent(58,22);
   ResoRow03->SetBinContent(59,14);
   ResoRow03->SetBinContent(60,20);
   ResoRow03->SetBinContent(61,18);
   ResoRow03->SetBinContent(62,15);
   ResoRow03->SetBinContent(63,5);
   ResoRow03->SetBinContent(64,11);
   ResoRow03->SetBinContent(65,5);
   ResoRow03->SetBinContent(66,6);
   ResoRow03->SetBinContent(67,1);
   ResoRow03->SetBinContent(68,4);
   ResoRow03->SetBinContent(69,2);
   ResoRow03->SetBinContent(70,4);
   ResoRow03->SetBinContent(71,2);
   ResoRow03->SetBinContent(72,3);
   ResoRow03->SetBinContent(73,1);
   ResoRow03->SetBinContent(79,1);
   ResoRow03->SetBinContent(89,1);
   ResoRow03->SetBinContent(100,1);
   ResoRow03->SetBinContent(101,2);
   ResoRow03->SetEntries(741);
   
   TF1 *ResoRowFit03 = new TF1("ResoRowFit03","gaus",-1,1);
   ResoRowFit03->SetFillColor(19);
   ResoRowFit03->SetFillStyle(0);
   ResoRowFit03->SetLineWidth(3);
   ResoRowFit03->SetChisquare(66.14286);
   ResoRowFit03->SetNDF(50);
   ResoRowFit03->SetParameter(0,37.75409);
   ResoRowFit03->SetParError(0,1.940661);
   ResoRowFit03->SetParLimits(0,0,0);
   ResoRowFit03->SetParameter(1,0.005315228);
   ResoRowFit03->SetParError(1,0.005524822);
   ResoRowFit03->SetParLimits(1,0,0);
   ResoRowFit03->SetParameter(2,0.1421778);
   ResoRowFit03->SetParError(2,0.00489436);
   ResoRowFit03->SetParLimits(2,0,1.686348);
   ResoRow03->GetListOfFunctions()->Add(ResoRowFit03);
   
   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("ResoRow03");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 741    ");
   text = ptstats->AddText("Mean  = 0.005631");
   text = ptstats->AddText("RMS   = 0.1684");
   text = ptstats->AddText("#chi^{2} / ndf = 66.14 / 50");
   text = ptstats->AddText("Constant = 37.75 #pm 1.94 ");
   text = ptstats->AddText("Mean     = 0.005315 #pm 0.005525 ");
   text = ptstats->AddText("Sigma    = 0.1422 #pm 0.0049 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow03->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow03->GetListOfFunctions());
   ResoRow03->GetXaxis()->SetTitle("residual / mm");
   ResoRow03->GetYaxis()->SetTitle("counts");
   ResoRow03->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,-6.95625,1.25,62.60625);
   c2_4->SetFillColor(0);
   c2_4->SetBorderSize(2);
   
   TH1F *ResoRow09 = new TH1F("ResoRow09","",100,-1,1);
   ResoRow09->SetBinContent(0,1);
   ResoRow09->SetBinContent(6,1);
   ResoRow09->SetBinContent(16,1);
   ResoRow09->SetBinContent(19,1);
   ResoRow09->SetBinContent(20,1);
   ResoRow09->SetBinContent(24,1);
   ResoRow09->SetBinContent(25,1);
   ResoRow09->SetBinContent(26,1);
   ResoRow09->SetBinContent(27,2);
   ResoRow09->SetBinContent(28,2);
   ResoRow09->SetBinContent(29,2);
   ResoRow09->SetBinContent(30,5);
   ResoRow09->SetBinContent(31,3);
   ResoRow09->SetBinContent(32,3);
   ResoRow09->SetBinContent(33,2);
   ResoRow09->SetBinContent(34,3);
   ResoRow09->SetBinContent(35,2);
   ResoRow09->SetBinContent(36,4);
   ResoRow09->SetBinContent(37,10);
   ResoRow09->SetBinContent(38,10);
   ResoRow09->SetBinContent(39,12);
   ResoRow09->SetBinContent(40,7);
   ResoRow09->SetBinContent(41,9);
   ResoRow09->SetBinContent(42,17);
   ResoRow09->SetBinContent(43,18);
   ResoRow09->SetBinContent(44,20);
   ResoRow09->SetBinContent(45,29);
   ResoRow09->SetBinContent(46,37);
   ResoRow09->SetBinContent(47,30);
   ResoRow09->SetBinContent(48,44);
   ResoRow09->SetBinContent(49,40);
   ResoRow09->SetBinContent(50,35);
   ResoRow09->SetBinContent(51,41);
   ResoRow09->SetBinContent(52,53);
   ResoRow09->SetBinContent(53,42);
   ResoRow09->SetBinContent(54,36);
   ResoRow09->SetBinContent(55,27);
   ResoRow09->SetBinContent(56,34);
   ResoRow09->SetBinContent(57,34);
   ResoRow09->SetBinContent(58,17);
   ResoRow09->SetBinContent(59,16);
   ResoRow09->SetBinContent(60,11);
   ResoRow09->SetBinContent(61,9);
   ResoRow09->SetBinContent(62,14);
   ResoRow09->SetBinContent(63,11);
   ResoRow09->SetBinContent(64,6);
   ResoRow09->SetBinContent(65,7);
   ResoRow09->SetBinContent(66,6);
   ResoRow09->SetBinContent(67,7);
   ResoRow09->SetBinContent(68,3);
   ResoRow09->SetBinContent(69,2);
   ResoRow09->SetBinContent(72,1);
   ResoRow09->SetBinContent(73,1);
   ResoRow09->SetBinContent(76,3);
   ResoRow09->SetBinContent(77,1);
   ResoRow09->SetBinContent(78,1);
   ResoRow09->SetBinContent(85,1);
   ResoRow09->SetBinContent(88,1);
   ResoRow09->SetBinContent(101,2);
   ResoRow09->SetEntries(741);
   
   TF1 *ResoRowFit09 = new TF1("ResoRowFit09","gaus",-1,1);
   ResoRowFit09->SetFillColor(19);
   ResoRowFit09->SetFillStyle(0);
   ResoRowFit09->SetLineWidth(3);
   ResoRowFit09->SetChisquare(64.05373);
   ResoRowFit09->SetNDF(54);
   ResoRowFit09->SetParameter(0,37.91956);
   ResoRowFit09->SetParError(0,2.090271);
   ResoRowFit09->SetParLimits(0,0,0);
   ResoRowFit09->SetParameter(1,0.007709285);
   ResoRowFit09->SetParError(1,0.005557641);
   ResoRowFit09->SetParLimits(1,0,0);
   ResoRowFit09->SetParameter(2,0.1422508);
   ResoRowFit09->SetParError(2,0.005741441);
   ResoRowFit09->SetParLimits(2,0,1.728416);
   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 = 741    ");
   text = ptstats->AddText("Mean  = 0.0004784");
   text = ptstats->AddText("RMS   = 0.1727");
   text = ptstats->AddText("#chi^{2} / ndf = 64.05 / 54");
   text = ptstats->AddText("Constant = 37.92 #pm 2.09 ");
   text = ptstats->AddText("Mean     = 0.007709 #pm 0.005558 ");
   text = ptstats->AddText("Sigma    = 0.1423 #pm 0.0057 ");
   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_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,-6.3,1.25,56.7);
   c2_5->SetFillColor(0);
   c2_5->SetBorderSize(2);
   
   TH1F *ResoRow10 = new TH1F("ResoRow10","",100,-1,1);
   ResoRow10->SetBinContent(0,1);
   ResoRow10->SetBinContent(4,1);
   ResoRow10->SetBinContent(11,1);
   ResoRow10->SetBinContent(13,1);
   ResoRow10->SetBinContent(17,1);
   ResoRow10->SetBinContent(29,1);
   ResoRow10->SetBinContent(31,1);
   ResoRow10->SetBinContent(32,3);
   ResoRow10->SetBinContent(33,1);
   ResoRow10->SetBinContent(34,2);
   ResoRow10->SetBinContent(35,6);
   ResoRow10->SetBinContent(36,11);
   ResoRow10->SetBinContent(37,9);
   ResoRow10->SetBinContent(38,7);
   ResoRow10->SetBinContent(39,11);
   ResoRow10->SetBinContent(40,12);
   ResoRow10->SetBinContent(41,19);
   ResoRow10->SetBinContent(42,21);
   ResoRow10->SetBinContent(43,21);
   ResoRow10->SetBinContent(44,25);
   ResoRow10->SetBinContent(45,32);
   ResoRow10->SetBinContent(46,35);
   ResoRow10->SetBinContent(47,39);
   ResoRow10->SetBinContent(48,48);
   ResoRow10->SetBinContent(49,42);
   ResoRow10->SetBinContent(50,32);
   ResoRow10->SetBinContent(51,39);
   ResoRow10->SetBinContent(52,38);
   ResoRow10->SetBinContent(53,32);
   ResoRow10->SetBinContent(54,33);
   ResoRow10->SetBinContent(55,31);
   ResoRow10->SetBinContent(56,31);
   ResoRow10->SetBinContent(57,27);
   ResoRow10->SetBinContent(58,18);
   ResoRow10->SetBinContent(59,16);
   ResoRow10->SetBinContent(60,24);
   ResoRow10->SetBinContent(61,14);
   ResoRow10->SetBinContent(62,10);
   ResoRow10->SetBinContent(63,7);
   ResoRow10->SetBinContent(64,11);
   ResoRow10->SetBinContent(65,3);
   ResoRow10->SetBinContent(66,6);
   ResoRow10->SetBinContent(67,5);
   ResoRow10->SetBinContent(68,2);
   ResoRow10->SetBinContent(70,2);
   ResoRow10->SetBinContent(71,1);
   ResoRow10->SetBinContent(72,2);
   ResoRow10->SetBinContent(74,1);
   ResoRow10->SetBinContent(77,1);
   ResoRow10->SetBinContent(82,1);
   ResoRow10->SetBinContent(83,1);
   ResoRow10->SetBinContent(89,1);
   ResoRow10->SetBinContent(92,1);
   ResoRow10->SetEntries(741);
   
   TF1 *ResoRowFit10 = new TF1("ResoRowFit10","gaus",-1,1);
   ResoRowFit10->SetFillColor(19);
   ResoRowFit10->SetFillStyle(0);
   ResoRowFit10->SetLineWidth(3);
   ResoRowFit10->SetChisquare(35.32821);
   ResoRowFit10->SetNDF(49);
   ResoRowFit10->SetParameter(0,38.77067);
   ResoRowFit10->SetParError(0,1.861664);
   ResoRowFit10->SetParLimits(0,0,0);
   ResoRowFit10->SetParameter(1,-0.002890147);
   ResoRowFit10->SetParError(1,0.005656526);
   ResoRowFit10->SetParLimits(1,0,0);
   ResoRowFit10->SetParameter(2,0.1457997);
   ResoRowFit10->SetParError(2,0.004524886);
   ResoRowFit10->SetParLimits(2,0,1.686544);
   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 = 741    ");
   text = ptstats->AddText("Mean  = -0.00158");
   text = ptstats->AddText("RMS   = 0.1686");
   text = ptstats->AddText("#chi^{2} / ndf = 35.33 / 49");
   text = ptstats->AddText("Constant = 38.77 #pm 1.86 ");
   text = ptstats->AddText("Mean     = -0.00289 #pm 0.00566 ");
   text = ptstats->AddText("Sigma    = 0.1458 #pm 0.0045 ");
   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_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,-6.825,1.25,61.425);
   c2_6->SetFillColor(0);
   c2_6->SetBorderSize(2);
   
   TH1F *ResoRow11 = new TH1F("ResoRow11","",100,-1,1);
   ResoRow11->SetBinContent(0,1);
   ResoRow11->SetBinContent(1,1);
   ResoRow11->SetBinContent(7,1);
   ResoRow11->SetBinContent(9,1);
   ResoRow11->SetBinContent(13,1);
   ResoRow11->SetBinContent(20,1);
   ResoRow11->SetBinContent(24,1);
   ResoRow11->SetBinContent(26,1);
   ResoRow11->SetBinContent(31,2);
   ResoRow11->SetBinContent(32,3);
   ResoRow11->SetBinContent(33,5);
   ResoRow11->SetBinContent(34,7);
   ResoRow11->SetBinContent(35,3);
   ResoRow11->SetBinContent(36,7);
   ResoRow11->SetBinContent(37,9);
   ResoRow11->SetBinContent(38,11);
   ResoRow11->SetBinContent(39,15);
   ResoRow11->SetBinContent(40,6);
   ResoRow11->SetBinContent(41,19);
   ResoRow11->SetBinContent(42,23);
   ResoRow11->SetBinContent(43,18);
   ResoRow11->SetBinContent(44,26);
   ResoRow11->SetBinContent(45,28);
   ResoRow11->SetBinContent(46,27);
   ResoRow11->SetBinContent(47,30);
   ResoRow11->SetBinContent(48,40);
   ResoRow11->SetBinContent(49,37);
   ResoRow11->SetBinContent(50,36);
   ResoRow11->SetBinContent(51,51);
   ResoRow11->SetBinContent(52,39);
   ResoRow11->SetBinContent(53,52);
   ResoRow11->SetBinContent(54,31);
   ResoRow11->SetBinContent(55,24);
   ResoRow11->SetBinContent(56,33);
   ResoRow11->SetBinContent(57,27);
   ResoRow11->SetBinContent(58,25);
   ResoRow11->SetBinContent(59,18);
   ResoRow11->SetBinContent(60,20);
   ResoRow11->SetBinContent(61,11);
   ResoRow11->SetBinContent(62,9);
   ResoRow11->SetBinContent(63,6);
   ResoRow11->SetBinContent(64,6);
   ResoRow11->SetBinContent(65,4);
   ResoRow11->SetBinContent(67,1);
   ResoRow11->SetBinContent(68,3);
   ResoRow11->SetBinContent(69,3);
   ResoRow11->SetBinContent(70,4);
   ResoRow11->SetBinContent(72,3);
   ResoRow11->SetBinContent(73,1);
   ResoRow11->SetBinContent(74,2);
   ResoRow11->SetBinContent(75,1);
   ResoRow11->SetBinContent(76,1);
   ResoRow11->SetBinContent(77,1);
   ResoRow11->SetBinContent(80,1);
   ResoRow11->SetBinContent(81,1);
   ResoRow11->SetBinContent(84,1);
   ResoRow11->SetBinContent(90,1);
   ResoRow11->SetBinContent(101,1);
   ResoRow11->SetEntries(741);
   
   TF1 *ResoRowFit11 = new TF1("ResoRowFit11","gaus",-1,1);
   ResoRowFit11->SetFillColor(19);
   ResoRowFit11->SetFillStyle(0);
   ResoRowFit11->SetLineWidth(3);
   ResoRowFit11->SetChisquare(60.27848);
   ResoRowFit11->SetNDF(53);
   ResoRowFit11->SetParameter(0,38.01603);
   ResoRowFit11->SetParError(0,1.962571);
   ResoRowFit11->SetParLimits(0,0,0);
   ResoRowFit11->SetParameter(1,-0.002083751);
   ResoRowFit11->SetParError(1,0.005751866);
   ResoRowFit11->SetParLimits(1,0,0);
   ResoRowFit11->SetParameter(2,0.1437112);
   ResoRowFit11->SetParError(2,0.005204486);
   ResoRowFit11->SetParLimits(2,0,1.757747);
   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 = 741    ");
   text = ptstats->AddText("Mean  = -0.00331");
   text = ptstats->AddText("RMS   = 0.1755");
   text = ptstats->AddText("#chi^{2} / ndf = 60.28 / 53");
   text = ptstats->AddText("Constant = 38.02 #pm 1.96 ");
   text = ptstats->AddText("Mean     = -0.002084 #pm 0.005752 ");
   text = ptstats->AddText("Sigma    = 0.1437 #pm 0.0052 ");
   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_6->Modified();
   c2->cd();
   c2->Modified();
   c2->cd();
   c2->SetSelected(c2);
}
