{
//=========Macro generated from canvas: c2/
//=========  (Tue Jun  8 10:31:42 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,-5.5125,1.25,49.6125);
   c2_1->SetFillColor(0);
   c2_1->SetBorderSize(2);
   
   TH1F *ResoRow07 = new TH1F("ResoRow07","",100,-1,1);
   ResoRow07->SetBinContent(0,39);
   ResoRow07->SetBinContent(2,3);
   ResoRow07->SetBinContent(5,1);
   ResoRow07->SetBinContent(6,6);
   ResoRow07->SetBinContent(7,2);
   ResoRow07->SetBinContent(8,3);
   ResoRow07->SetBinContent(9,4);
   ResoRow07->SetBinContent(10,4);
   ResoRow07->SetBinContent(11,3);
   ResoRow07->SetBinContent(12,5);
   ResoRow07->SetBinContent(13,4);
   ResoRow07->SetBinContent(14,4);
   ResoRow07->SetBinContent(15,8);
   ResoRow07->SetBinContent(16,4);
   ResoRow07->SetBinContent(17,5);
   ResoRow07->SetBinContent(18,7);
   ResoRow07->SetBinContent(19,6);
   ResoRow07->SetBinContent(20,11);
   ResoRow07->SetBinContent(21,9);
   ResoRow07->SetBinContent(22,10);
   ResoRow07->SetBinContent(23,7);
   ResoRow07->SetBinContent(24,12);
   ResoRow07->SetBinContent(25,8);
   ResoRow07->SetBinContent(26,11);
   ResoRow07->SetBinContent(27,11);
   ResoRow07->SetBinContent(28,16);
   ResoRow07->SetBinContent(29,15);
   ResoRow07->SetBinContent(30,18);
   ResoRow07->SetBinContent(31,21);
   ResoRow07->SetBinContent(32,14);
   ResoRow07->SetBinContent(33,17);
   ResoRow07->SetBinContent(34,18);
   ResoRow07->SetBinContent(35,21);
   ResoRow07->SetBinContent(36,34);
   ResoRow07->SetBinContent(37,30);
   ResoRow07->SetBinContent(38,31);
   ResoRow07->SetBinContent(39,14);
   ResoRow07->SetBinContent(40,16);
   ResoRow07->SetBinContent(41,30);
   ResoRow07->SetBinContent(42,42);
   ResoRow07->SetBinContent(43,29);
   ResoRow07->SetBinContent(44,28);
   ResoRow07->SetBinContent(45,27);
   ResoRow07->SetBinContent(46,28);
   ResoRow07->SetBinContent(47,30);
   ResoRow07->SetBinContent(48,32);
   ResoRow07->SetBinContent(49,33);
   ResoRow07->SetBinContent(50,35);
   ResoRow07->SetBinContent(51,38);
   ResoRow07->SetBinContent(52,36);
   ResoRow07->SetBinContent(53,30);
   ResoRow07->SetBinContent(54,30);
   ResoRow07->SetBinContent(55,28);
   ResoRow07->SetBinContent(56,36);
   ResoRow07->SetBinContent(57,29);
   ResoRow07->SetBinContent(58,35);
   ResoRow07->SetBinContent(59,28);
   ResoRow07->SetBinContent(60,21);
   ResoRow07->SetBinContent(61,21);
   ResoRow07->SetBinContent(62,27);
   ResoRow07->SetBinContent(63,22);
   ResoRow07->SetBinContent(64,24);
   ResoRow07->SetBinContent(65,17);
   ResoRow07->SetBinContent(66,21);
   ResoRow07->SetBinContent(67,20);
   ResoRow07->SetBinContent(68,16);
   ResoRow07->SetBinContent(69,19);
   ResoRow07->SetBinContent(70,17);
   ResoRow07->SetBinContent(71,12);
   ResoRow07->SetBinContent(72,15);
   ResoRow07->SetBinContent(73,12);
   ResoRow07->SetBinContent(74,18);
   ResoRow07->SetBinContent(75,15);
   ResoRow07->SetBinContent(76,6);
   ResoRow07->SetBinContent(77,9);
   ResoRow07->SetBinContent(78,11);
   ResoRow07->SetBinContent(79,9);
   ResoRow07->SetBinContent(80,10);
   ResoRow07->SetBinContent(81,5);
   ResoRow07->SetBinContent(82,6);
   ResoRow07->SetBinContent(83,8);
   ResoRow07->SetBinContent(84,6);
   ResoRow07->SetBinContent(85,6);
   ResoRow07->SetBinContent(86,8);
   ResoRow07->SetBinContent(87,3);
   ResoRow07->SetBinContent(88,5);
   ResoRow07->SetBinContent(89,4);
   ResoRow07->SetBinContent(90,3);
   ResoRow07->SetBinContent(91,4);
   ResoRow07->SetBinContent(92,4);
   ResoRow07->SetBinContent(93,3);
   ResoRow07->SetBinContent(94,5);
   ResoRow07->SetBinContent(95,2);
   ResoRow07->SetBinContent(96,1);
   ResoRow07->SetBinContent(97,4);
   ResoRow07->SetBinContent(99,4);
   ResoRow07->SetBinContent(100,2);
   ResoRow07->SetBinContent(101,56);
   ResoRow07->SetEntries(1537);
   
   TF1 *ResoRowFit07 = new TF1("ResoRowFit07","gaus",-1,1);
   ResoRowFit07->SetFillColor(19);
   ResoRowFit07->SetFillStyle(0);
   ResoRowFit07->SetLineWidth(3);
   ResoRowFit07->SetChisquare(77.34076);
   ResoRowFit07->SetNDF(93);
   ResoRowFit07->SetParameter(0,29.50497);
   ResoRowFit07->SetParError(0,1.061944);
   ResoRowFit07->SetParLimits(0,0,0);
   ResoRowFit07->SetParameter(1,-0.002604791);
   ResoRowFit07->SetParError(1,0.01051422);
   ResoRowFit07->SetParLimits(1,0,0);
   ResoRowFit07->SetParameter(2,0.3729979);
   ResoRowFit07->SetParError(2,0.009589147);
   ResoRowFit07->SetParLimits(2,0,3.683174);
   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 = 1537   ");
   text = ptstats->AddText("Mean  = -0.001203");
   text = ptstats->AddText("RMS   = 0.3685");
   text = ptstats->AddText("#chi^{2} / ndf = 77.34 / 93");
   text = ptstats->AddText("Constant =  29.5 #pm 1.1 ");
   text = ptstats->AddText("Mean     = -0.002605 #pm 0.010514 ");
   text = ptstats->AddText("Sigma    = 0.373 #pm 0.010 ");
   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,-5.64375,1.25,50.79375);
   c2_2->SetFillColor(0);
   c2_2->SetBorderSize(2);
   
   TH1F *ResoRow08 = new TH1F("ResoRow08","",100,-1,1);
   ResoRow08->SetBinContent(0,51);
   ResoRow08->SetBinContent(1,6);
   ResoRow08->SetBinContent(2,2);
   ResoRow08->SetBinContent(3,1);
   ResoRow08->SetBinContent(4,5);
   ResoRow08->SetBinContent(5,4);
   ResoRow08->SetBinContent(6,6);
   ResoRow08->SetBinContent(7,3);
   ResoRow08->SetBinContent(8,6);
   ResoRow08->SetBinContent(9,3);
   ResoRow08->SetBinContent(10,9);
   ResoRow08->SetBinContent(11,5);
   ResoRow08->SetBinContent(12,9);
   ResoRow08->SetBinContent(13,7);
   ResoRow08->SetBinContent(14,9);
   ResoRow08->SetBinContent(15,5);
   ResoRow08->SetBinContent(16,9);
   ResoRow08->SetBinContent(17,8);
   ResoRow08->SetBinContent(18,3);
   ResoRow08->SetBinContent(19,5);
   ResoRow08->SetBinContent(20,4);
   ResoRow08->SetBinContent(21,5);
   ResoRow08->SetBinContent(22,6);
   ResoRow08->SetBinContent(23,6);
   ResoRow08->SetBinContent(24,11);
   ResoRow08->SetBinContent(25,12);
   ResoRow08->SetBinContent(26,14);
   ResoRow08->SetBinContent(27,8);
   ResoRow08->SetBinContent(28,13);
   ResoRow08->SetBinContent(29,12);
   ResoRow08->SetBinContent(30,15);
   ResoRow08->SetBinContent(31,20);
   ResoRow08->SetBinContent(32,18);
   ResoRow08->SetBinContent(33,21);
   ResoRow08->SetBinContent(34,19);
   ResoRow08->SetBinContent(35,17);
   ResoRow08->SetBinContent(36,22);
   ResoRow08->SetBinContent(37,21);
   ResoRow08->SetBinContent(38,20);
   ResoRow08->SetBinContent(39,22);
   ResoRow08->SetBinContent(40,25);
   ResoRow08->SetBinContent(41,23);
   ResoRow08->SetBinContent(42,27);
   ResoRow08->SetBinContent(43,24);
   ResoRow08->SetBinContent(44,20);
   ResoRow08->SetBinContent(45,22);
   ResoRow08->SetBinContent(46,38);
   ResoRow08->SetBinContent(47,34);
   ResoRow08->SetBinContent(48,32);
   ResoRow08->SetBinContent(49,26);
   ResoRow08->SetBinContent(50,38);
   ResoRow08->SetBinContent(51,34);
   ResoRow08->SetBinContent(52,24);
   ResoRow08->SetBinContent(53,28);
   ResoRow08->SetBinContent(54,43);
   ResoRow08->SetBinContent(55,27);
   ResoRow08->SetBinContent(56,29);
   ResoRow08->SetBinContent(57,30);
   ResoRow08->SetBinContent(58,30);
   ResoRow08->SetBinContent(59,27);
   ResoRow08->SetBinContent(60,41);
   ResoRow08->SetBinContent(61,22);
   ResoRow08->SetBinContent(62,24);
   ResoRow08->SetBinContent(63,27);
   ResoRow08->SetBinContent(64,22);
   ResoRow08->SetBinContent(65,12);
   ResoRow08->SetBinContent(66,13);
   ResoRow08->SetBinContent(67,23);
   ResoRow08->SetBinContent(68,18);
   ResoRow08->SetBinContent(69,12);
   ResoRow08->SetBinContent(70,18);
   ResoRow08->SetBinContent(71,26);
   ResoRow08->SetBinContent(72,18);
   ResoRow08->SetBinContent(73,14);
   ResoRow08->SetBinContent(74,10);
   ResoRow08->SetBinContent(75,14);
   ResoRow08->SetBinContent(76,9);
   ResoRow08->SetBinContent(77,13);
   ResoRow08->SetBinContent(78,9);
   ResoRow08->SetBinContent(79,10);
   ResoRow08->SetBinContent(80,8);
   ResoRow08->SetBinContent(81,5);
   ResoRow08->SetBinContent(82,8);
   ResoRow08->SetBinContent(83,6);
   ResoRow08->SetBinContent(84,7);
   ResoRow08->SetBinContent(85,4);
   ResoRow08->SetBinContent(86,13);
   ResoRow08->SetBinContent(87,3);
   ResoRow08->SetBinContent(88,2);
   ResoRow08->SetBinContent(89,8);
   ResoRow08->SetBinContent(90,3);
   ResoRow08->SetBinContent(91,5);
   ResoRow08->SetBinContent(92,5);
   ResoRow08->SetBinContent(93,3);
   ResoRow08->SetBinContent(94,3);
   ResoRow08->SetBinContent(96,4);
   ResoRow08->SetBinContent(97,5);
   ResoRow08->SetBinContent(98,3);
   ResoRow08->SetBinContent(99,1);
   ResoRow08->SetBinContent(101,63);
   ResoRow08->SetEntries(1537);
   
   TF1 *ResoRowFit08 = new TF1("ResoRowFit08","gaus",-1,1);
   ResoRowFit08->SetFillColor(19);
   ResoRowFit08->SetFillStyle(0);
   ResoRowFit08->SetLineWidth(3);
   ResoRowFit08->SetChisquare(116.3037);
   ResoRowFit08->SetNDF(95);
   ResoRowFit08->SetParameter(0,27.67649);
   ResoRowFit08->SetParError(0,1.049099);
   ResoRowFit08->SetParLimits(0,0,0);
   ResoRowFit08->SetParameter(1,0.00717179);
   ResoRowFit08->SetParError(1,0.01098231);
   ResoRowFit08->SetParLimits(1,0,0);
   ResoRowFit08->SetParameter(2,0.3808291);
   ResoRowFit08->SetParError(2,0.01069659);
   ResoRowFit08->SetParLimits(2,0,3.906733);
   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 = 1537   ");
   text = ptstats->AddText("Mean  = -0.003336");
   text = ptstats->AddText("RMS   = 0.3907");
   text = ptstats->AddText("#chi^{2} / ndf = 116.3 / 95");
   text = ptstats->AddText("Constant = 27.68 #pm 1.05 ");
   text = ptstats->AddText("Mean     = 0.007172 #pm 0.010982 ");
   text = ptstats->AddText("Sigma    = 0.3808 #pm 0.0107 ");
   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,-4.4625,1.25,40.1625);
   c2_3->SetFillColor(0);
   c2_3->SetBorderSize(2);
   
   TH1F *ResoRow09 = new TH1F("ResoRow09","",100,-1,1);
   ResoRow09->SetBinContent(0,48);
   ResoRow09->SetBinContent(1,1);
   ResoRow09->SetBinContent(2,1);
   ResoRow09->SetBinContent(3,2);
   ResoRow09->SetBinContent(4,4);
   ResoRow09->SetBinContent(5,5);
   ResoRow09->SetBinContent(6,4);
   ResoRow09->SetBinContent(7,6);
   ResoRow09->SetBinContent(8,5);
   ResoRow09->SetBinContent(9,9);
   ResoRow09->SetBinContent(10,4);
   ResoRow09->SetBinContent(11,8);
   ResoRow09->SetBinContent(12,4);
   ResoRow09->SetBinContent(13,8);
   ResoRow09->SetBinContent(14,2);
   ResoRow09->SetBinContent(15,7);
   ResoRow09->SetBinContent(16,6);
   ResoRow09->SetBinContent(17,10);
   ResoRow09->SetBinContent(18,7);
   ResoRow09->SetBinContent(19,10);
   ResoRow09->SetBinContent(20,6);
   ResoRow09->SetBinContent(21,14);
   ResoRow09->SetBinContent(22,14);
   ResoRow09->SetBinContent(23,10);
   ResoRow09->SetBinContent(24,12);
   ResoRow09->SetBinContent(25,11);
   ResoRow09->SetBinContent(26,10);
   ResoRow09->SetBinContent(27,12);
   ResoRow09->SetBinContent(28,26);
   ResoRow09->SetBinContent(29,14);
   ResoRow09->SetBinContent(30,15);
   ResoRow09->SetBinContent(31,20);
   ResoRow09->SetBinContent(32,16);
   ResoRow09->SetBinContent(33,15);
   ResoRow09->SetBinContent(34,16);
   ResoRow09->SetBinContent(35,12);
   ResoRow09->SetBinContent(36,25);
   ResoRow09->SetBinContent(37,15);
   ResoRow09->SetBinContent(38,13);
   ResoRow09->SetBinContent(39,24);
   ResoRow09->SetBinContent(40,31);
   ResoRow09->SetBinContent(41,30);
   ResoRow09->SetBinContent(42,29);
   ResoRow09->SetBinContent(43,29);
   ResoRow09->SetBinContent(44,24);
   ResoRow09->SetBinContent(45,23);
   ResoRow09->SetBinContent(46,31);
   ResoRow09->SetBinContent(47,18);
   ResoRow09->SetBinContent(48,25);
   ResoRow09->SetBinContent(49,25);
   ResoRow09->SetBinContent(50,30);
   ResoRow09->SetBinContent(51,31);
   ResoRow09->SetBinContent(52,24);
   ResoRow09->SetBinContent(53,31);
   ResoRow09->SetBinContent(54,34);
   ResoRow09->SetBinContent(55,22);
   ResoRow09->SetBinContent(56,25);
   ResoRow09->SetBinContent(57,24);
   ResoRow09->SetBinContent(58,28);
   ResoRow09->SetBinContent(59,24);
   ResoRow09->SetBinContent(60,28);
   ResoRow09->SetBinContent(61,27);
   ResoRow09->SetBinContent(62,32);
   ResoRow09->SetBinContent(63,24);
   ResoRow09->SetBinContent(64,30);
   ResoRow09->SetBinContent(65,20);
   ResoRow09->SetBinContent(66,25);
   ResoRow09->SetBinContent(67,17);
   ResoRow09->SetBinContent(68,28);
   ResoRow09->SetBinContent(69,14);
   ResoRow09->SetBinContent(70,19);
   ResoRow09->SetBinContent(71,16);
   ResoRow09->SetBinContent(72,19);
   ResoRow09->SetBinContent(73,17);
   ResoRow09->SetBinContent(74,15);
   ResoRow09->SetBinContent(75,11);
   ResoRow09->SetBinContent(76,15);
   ResoRow09->SetBinContent(77,8);
   ResoRow09->SetBinContent(78,12);
   ResoRow09->SetBinContent(79,10);
   ResoRow09->SetBinContent(80,11);
   ResoRow09->SetBinContent(81,10);
   ResoRow09->SetBinContent(82,5);
   ResoRow09->SetBinContent(83,3);
   ResoRow09->SetBinContent(84,8);
   ResoRow09->SetBinContent(85,6);
   ResoRow09->SetBinContent(86,5);
   ResoRow09->SetBinContent(87,3);
   ResoRow09->SetBinContent(88,4);
   ResoRow09->SetBinContent(89,6);
   ResoRow09->SetBinContent(90,4);
   ResoRow09->SetBinContent(91,2);
   ResoRow09->SetBinContent(92,4);
   ResoRow09->SetBinContent(93,2);
   ResoRow09->SetBinContent(94,5);
   ResoRow09->SetBinContent(95,4);
   ResoRow09->SetBinContent(96,5);
   ResoRow09->SetBinContent(97,8);
   ResoRow09->SetBinContent(98,2);
   ResoRow09->SetBinContent(100,3);
   ResoRow09->SetBinContent(101,61);
   ResoRow09->SetEntries(1537);
   
   TF1 *ResoRowFit09 = new TF1("ResoRowFit09","gaus",-1,1);
   ResoRowFit09->SetFillColor(19);
   ResoRowFit09->SetFillStyle(0);
   ResoRowFit09->SetLineWidth(3);
   ResoRowFit09->SetChisquare(100.5197);
   ResoRowFit09->SetNDF(96);
   ResoRowFit09->SetParameter(0,26.54384);
   ResoRowFit09->SetParError(0,0.9572942);
   ResoRowFit09->SetParLimits(0,0,0);
   ResoRowFit09->SetParameter(1,0.002449472);
   ResoRowFit09->SetParError(1,0.01180489);
   ResoRowFit09->SetParLimits(1,0,0);
   ResoRowFit09->SetParameter(2,0.4049674);
   ResoRowFit09->SetParError(2,0.01052077);
   ResoRowFit09->SetParLimits(2,0,4.010078);
   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 = 1537   ");
   text = ptstats->AddText("Mean  = -0.002521");
   text = ptstats->AddText("RMS   = 0.4009");
   text = ptstats->AddText("#chi^{2} / ndf = 100.5 / 96");
   text = ptstats->AddText("Constant = 26.54 #pm 0.96 ");
   text = ptstats->AddText("Mean     = 0.002449 #pm 0.011805 ");
   text = ptstats->AddText("Sigma    = 0.405 #pm 0.011 ");
   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,-5.11875,1.25,46.06875);
   c2_4->SetFillColor(0);
   c2_4->SetBorderSize(2);
   
   TH1F *ResoRow10 = new TH1F("ResoRow10","",100,-1,1);
   ResoRow10->SetBinContent(0,49);
   ResoRow10->SetBinContent(1,4);
   ResoRow10->SetBinContent(2,3);
   ResoRow10->SetBinContent(3,1);
   ResoRow10->SetBinContent(4,4);
   ResoRow10->SetBinContent(5,3);
   ResoRow10->SetBinContent(6,3);
   ResoRow10->SetBinContent(7,2);
   ResoRow10->SetBinContent(8,6);
   ResoRow10->SetBinContent(9,3);
   ResoRow10->SetBinContent(10,8);
   ResoRow10->SetBinContent(11,7);
   ResoRow10->SetBinContent(12,1);
   ResoRow10->SetBinContent(13,7);
   ResoRow10->SetBinContent(14,11);
   ResoRow10->SetBinContent(15,11);
   ResoRow10->SetBinContent(16,5);
   ResoRow10->SetBinContent(17,7);
   ResoRow10->SetBinContent(18,6);
   ResoRow10->SetBinContent(19,9);
   ResoRow10->SetBinContent(20,10);
   ResoRow10->SetBinContent(21,5);
   ResoRow10->SetBinContent(22,9);
   ResoRow10->SetBinContent(23,11);
   ResoRow10->SetBinContent(24,15);
   ResoRow10->SetBinContent(25,14);
   ResoRow10->SetBinContent(26,7);
   ResoRow10->SetBinContent(27,11);
   ResoRow10->SetBinContent(28,5);
   ResoRow10->SetBinContent(29,16);
   ResoRow10->SetBinContent(30,20);
   ResoRow10->SetBinContent(31,14);
   ResoRow10->SetBinContent(32,15);
   ResoRow10->SetBinContent(33,25);
   ResoRow10->SetBinContent(34,18);
   ResoRow10->SetBinContent(35,19);
   ResoRow10->SetBinContent(36,32);
   ResoRow10->SetBinContent(37,21);
   ResoRow10->SetBinContent(38,25);
   ResoRow10->SetBinContent(39,26);
   ResoRow10->SetBinContent(40,24);
   ResoRow10->SetBinContent(41,16);
   ResoRow10->SetBinContent(42,29);
   ResoRow10->SetBinContent(43,34);
   ResoRow10->SetBinContent(44,31);
   ResoRow10->SetBinContent(45,22);
   ResoRow10->SetBinContent(46,25);
   ResoRow10->SetBinContent(47,25);
   ResoRow10->SetBinContent(48,29);
   ResoRow10->SetBinContent(49,28);
   ResoRow10->SetBinContent(50,39);
   ResoRow10->SetBinContent(51,36);
   ResoRow10->SetBinContent(52,25);
   ResoRow10->SetBinContent(53,35);
   ResoRow10->SetBinContent(54,30);
   ResoRow10->SetBinContent(55,30);
   ResoRow10->SetBinContent(56,31);
   ResoRow10->SetBinContent(57,26);
   ResoRow10->SetBinContent(58,26);
   ResoRow10->SetBinContent(59,29);
   ResoRow10->SetBinContent(60,21);
   ResoRow10->SetBinContent(61,32);
   ResoRow10->SetBinContent(62,22);
   ResoRow10->SetBinContent(63,25);
   ResoRow10->SetBinContent(64,22);
   ResoRow10->SetBinContent(65,15);
   ResoRow10->SetBinContent(66,17);
   ResoRow10->SetBinContent(67,17);
   ResoRow10->SetBinContent(68,10);
   ResoRow10->SetBinContent(69,13);
   ResoRow10->SetBinContent(70,19);
   ResoRow10->SetBinContent(71,16);
   ResoRow10->SetBinContent(72,14);
   ResoRow10->SetBinContent(73,12);
   ResoRow10->SetBinContent(74,12);
   ResoRow10->SetBinContent(75,11);
   ResoRow10->SetBinContent(76,9);
   ResoRow10->SetBinContent(77,11);
   ResoRow10->SetBinContent(78,11);
   ResoRow10->SetBinContent(79,12);
   ResoRow10->SetBinContent(80,7);
   ResoRow10->SetBinContent(81,7);
   ResoRow10->SetBinContent(82,6);
   ResoRow10->SetBinContent(83,6);
   ResoRow10->SetBinContent(84,7);
   ResoRow10->SetBinContent(85,10);
   ResoRow10->SetBinContent(86,13);
   ResoRow10->SetBinContent(87,3);
   ResoRow10->SetBinContent(88,8);
   ResoRow10->SetBinContent(89,7);
   ResoRow10->SetBinContent(90,4);
   ResoRow10->SetBinContent(91,4);
   ResoRow10->SetBinContent(92,2);
   ResoRow10->SetBinContent(93,6);
   ResoRow10->SetBinContent(94,2);
   ResoRow10->SetBinContent(95,6);
   ResoRow10->SetBinContent(96,5);
   ResoRow10->SetBinContent(97,4);
   ResoRow10->SetBinContent(98,3);
   ResoRow10->SetBinContent(99,5);
   ResoRow10->SetBinContent(100,3);
   ResoRow10->SetBinContent(101,60);
   ResoRow10->SetEntries(1537);
   
   TF1 *ResoRowFit10 = new TF1("ResoRowFit10","gaus",-1,1);
   ResoRowFit10->SetFillColor(19);
   ResoRowFit10->SetFillStyle(0);
   ResoRowFit10->SetLineWidth(3);
   ResoRowFit10->SetChisquare(123.2286);
   ResoRowFit10->SetNDF(97);
   ResoRowFit10->SetParameter(0,26.75461);
   ResoRowFit10->SetParError(0,1.013011);
   ResoRowFit10->SetParLimits(0,0,0);
   ResoRowFit10->SetParameter(1,0.006829983);
   ResoRowFit10->SetParError(1,0.01141444);
   ResoRowFit10->SetParLimits(1,0,0);
   ResoRowFit10->SetParameter(2,0.3934563);
   ResoRowFit10->SetParError(2,0.01105776);
   ResoRowFit10->SetParLimits(2,0,4.012956);
   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 = 1537   ");
   text = ptstats->AddText("Mean  = -0.003274");
   text = ptstats->AddText("RMS   = 0.4012");
   text = ptstats->AddText("#chi^{2} / ndf = 123.2 / 97");
   text = ptstats->AddText("Constant = 26.75 #pm 1.01 ");
   text = ptstats->AddText("Mean     = 0.00683 #pm 0.01141 ");
   text = ptstats->AddText("Sigma    = 0.3935 #pm 0.0111 ");
   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,-5.90625,1.25,53.15625);
   c2_5->SetFillColor(0);
   c2_5->SetBorderSize(2);
   
   TH1F *ResoRow11 = new TH1F("ResoRow11","",100,-1,1);
   ResoRow11->SetBinContent(0,51);
   ResoRow11->SetBinContent(1,1);
   ResoRow11->SetBinContent(2,3);
   ResoRow11->SetBinContent(3,4);
   ResoRow11->SetBinContent(4,4);
   ResoRow11->SetBinContent(5,3);
   ResoRow11->SetBinContent(6,2);
   ResoRow11->SetBinContent(7,4);
   ResoRow11->SetBinContent(8,3);
   ResoRow11->SetBinContent(9,3);
   ResoRow11->SetBinContent(10,1);
   ResoRow11->SetBinContent(11,7);
   ResoRow11->SetBinContent(12,4);
   ResoRow11->SetBinContent(13,4);
   ResoRow11->SetBinContent(14,6);
   ResoRow11->SetBinContent(15,4);
   ResoRow11->SetBinContent(16,8);
   ResoRow11->SetBinContent(17,9);
   ResoRow11->SetBinContent(18,8);
   ResoRow11->SetBinContent(19,11);
   ResoRow11->SetBinContent(20,9);
   ResoRow11->SetBinContent(21,11);
   ResoRow11->SetBinContent(22,8);
   ResoRow11->SetBinContent(23,9);
   ResoRow11->SetBinContent(24,12);
   ResoRow11->SetBinContent(25,14);
   ResoRow11->SetBinContent(26,11);
   ResoRow11->SetBinContent(27,13);
   ResoRow11->SetBinContent(28,14);
   ResoRow11->SetBinContent(29,17);
   ResoRow11->SetBinContent(30,14);
   ResoRow11->SetBinContent(31,25);
   ResoRow11->SetBinContent(32,21);
   ResoRow11->SetBinContent(33,20);
   ResoRow11->SetBinContent(34,24);
   ResoRow11->SetBinContent(35,13);
   ResoRow11->SetBinContent(36,22);
   ResoRow11->SetBinContent(37,18);
   ResoRow11->SetBinContent(38,19);
   ResoRow11->SetBinContent(39,24);
   ResoRow11->SetBinContent(40,23);
   ResoRow11->SetBinContent(41,22);
   ResoRow11->SetBinContent(42,31);
   ResoRow11->SetBinContent(43,19);
   ResoRow11->SetBinContent(44,19);
   ResoRow11->SetBinContent(45,29);
   ResoRow11->SetBinContent(46,28);
   ResoRow11->SetBinContent(47,24);
   ResoRow11->SetBinContent(48,20);
   ResoRow11->SetBinContent(49,26);
   ResoRow11->SetBinContent(50,45);
   ResoRow11->SetBinContent(51,34);
   ResoRow11->SetBinContent(52,25);
   ResoRow11->SetBinContent(53,28);
   ResoRow11->SetBinContent(54,22);
   ResoRow11->SetBinContent(55,33);
   ResoRow11->SetBinContent(56,29);
   ResoRow11->SetBinContent(57,33);
   ResoRow11->SetBinContent(58,24);
   ResoRow11->SetBinContent(59,30);
   ResoRow11->SetBinContent(60,27);
   ResoRow11->SetBinContent(61,28);
   ResoRow11->SetBinContent(62,29);
   ResoRow11->SetBinContent(63,27);
   ResoRow11->SetBinContent(64,19);
   ResoRow11->SetBinContent(65,21);
   ResoRow11->SetBinContent(66,22);
   ResoRow11->SetBinContent(67,19);
   ResoRow11->SetBinContent(68,14);
   ResoRow11->SetBinContent(69,27);
   ResoRow11->SetBinContent(70,22);
   ResoRow11->SetBinContent(71,13);
   ResoRow11->SetBinContent(72,15);
   ResoRow11->SetBinContent(73,16);
   ResoRow11->SetBinContent(74,9);
   ResoRow11->SetBinContent(75,19);
   ResoRow11->SetBinContent(76,11);
   ResoRow11->SetBinContent(77,9);
   ResoRow11->SetBinContent(78,6);
   ResoRow11->SetBinContent(79,11);
   ResoRow11->SetBinContent(80,11);
   ResoRow11->SetBinContent(81,10);
   ResoRow11->SetBinContent(82,11);
   ResoRow11->SetBinContent(83,2);
   ResoRow11->SetBinContent(84,9);
   ResoRow11->SetBinContent(85,7);
   ResoRow11->SetBinContent(86,4);
   ResoRow11->SetBinContent(87,10);
   ResoRow11->SetBinContent(88,7);
   ResoRow11->SetBinContent(89,4);
   ResoRow11->SetBinContent(90,1);
   ResoRow11->SetBinContent(91,4);
   ResoRow11->SetBinContent(92,5);
   ResoRow11->SetBinContent(93,4);
   ResoRow11->SetBinContent(94,4);
   ResoRow11->SetBinContent(95,3);
   ResoRow11->SetBinContent(96,2);
   ResoRow11->SetBinContent(97,3);
   ResoRow11->SetBinContent(98,2);
   ResoRow11->SetBinContent(99,3);
   ResoRow11->SetBinContent(100,1);
   ResoRow11->SetBinContent(101,64);
   ResoRow11->SetEntries(1537);
   
   TF1 *ResoRowFit11 = new TF1("ResoRowFit11","gaus",-1,1);
   ResoRowFit11->SetFillColor(19);
   ResoRowFit11->SetFillStyle(0);
   ResoRowFit11->SetLineWidth(3);
   ResoRowFit11->SetChisquare(97.83603);
   ResoRowFit11->SetNDF(97);
   ResoRowFit11->SetParameter(0,27.36632);
   ResoRowFit11->SetParError(0,0.9680946);
   ResoRowFit11->SetParLimits(0,0,0);
   ResoRowFit11->SetParameter(1,-0.005113742);
   ResoRowFit11->SetParError(1,0.01119078);
   ResoRowFit11->SetParLimits(1,0,0);
   ResoRowFit11->SetParameter(2,0.3901126);
   ResoRowFit11->SetParError(2,0.009416328);
   ResoRowFit11->SetParLimits(2,0,3.909134);
   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 = 1537   ");
   text = ptstats->AddText("Mean  = 0.003946");
   text = ptstats->AddText("RMS   = 0.3908");
   text = ptstats->AddText("#chi^{2} / ndf = 97.84 / 97");
   text = ptstats->AddText("Constant = 27.37 #pm 0.97 ");
   text = ptstats->AddText("Mean     = -0.005114 #pm 0.011191 ");
   text = ptstats->AddText("Sigma    = 0.3901 #pm 0.0094 ");
   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,-4.59375,1.25,41.34375);
   c2_6->SetFillColor(0);
   c2_6->SetBorderSize(2);
   
   TH1F *ResoRow12 = new TH1F("ResoRow12","",100,-1,1);
   ResoRow12->SetBinContent(0,44);
   ResoRow12->SetBinContent(1,5);
   ResoRow12->SetBinContent(2,1);
   ResoRow12->SetBinContent(3,3);
   ResoRow12->SetBinContent(4,3);
   ResoRow12->SetBinContent(5,4);
   ResoRow12->SetBinContent(6,1);
   ResoRow12->SetBinContent(7,4);
   ResoRow12->SetBinContent(8,5);
   ResoRow12->SetBinContent(9,4);
   ResoRow12->SetBinContent(10,4);
   ResoRow12->SetBinContent(11,5);
   ResoRow12->SetBinContent(12,5);
   ResoRow12->SetBinContent(13,3);
   ResoRow12->SetBinContent(14,5);
   ResoRow12->SetBinContent(15,11);
   ResoRow12->SetBinContent(16,8);
   ResoRow12->SetBinContent(17,9);
   ResoRow12->SetBinContent(18,7);
   ResoRow12->SetBinContent(19,15);
   ResoRow12->SetBinContent(20,12);
   ResoRow12->SetBinContent(21,13);
   ResoRow12->SetBinContent(22,11);
   ResoRow12->SetBinContent(23,3);
   ResoRow12->SetBinContent(24,14);
   ResoRow12->SetBinContent(25,23);
   ResoRow12->SetBinContent(26,10);
   ResoRow12->SetBinContent(27,7);
   ResoRow12->SetBinContent(28,23);
   ResoRow12->SetBinContent(29,17);
   ResoRow12->SetBinContent(30,19);
   ResoRow12->SetBinContent(31,15);
   ResoRow12->SetBinContent(32,10);
   ResoRow12->SetBinContent(33,11);
   ResoRow12->SetBinContent(34,21);
   ResoRow12->SetBinContent(35,25);
   ResoRow12->SetBinContent(36,20);
   ResoRow12->SetBinContent(37,17);
   ResoRow12->SetBinContent(38,24);
   ResoRow12->SetBinContent(39,16);
   ResoRow12->SetBinContent(40,27);
   ResoRow12->SetBinContent(41,19);
   ResoRow12->SetBinContent(42,21);
   ResoRow12->SetBinContent(43,22);
   ResoRow12->SetBinContent(44,28);
   ResoRow12->SetBinContent(45,34);
   ResoRow12->SetBinContent(46,32);
   ResoRow12->SetBinContent(47,25);
   ResoRow12->SetBinContent(48,35);
   ResoRow12->SetBinContent(49,26);
   ResoRow12->SetBinContent(50,31);
   ResoRow12->SetBinContent(51,31);
   ResoRow12->SetBinContent(52,28);
   ResoRow12->SetBinContent(53,22);
   ResoRow12->SetBinContent(54,33);
   ResoRow12->SetBinContent(55,29);
   ResoRow12->SetBinContent(56,25);
   ResoRow12->SetBinContent(57,23);
   ResoRow12->SetBinContent(58,24);
   ResoRow12->SetBinContent(59,29);
   ResoRow12->SetBinContent(60,26);
   ResoRow12->SetBinContent(61,24);
   ResoRow12->SetBinContent(62,23);
   ResoRow12->SetBinContent(63,31);
   ResoRow12->SetBinContent(64,26);
   ResoRow12->SetBinContent(65,26);
   ResoRow12->SetBinContent(66,19);
   ResoRow12->SetBinContent(67,14);
   ResoRow12->SetBinContent(68,17);
   ResoRow12->SetBinContent(69,21);
   ResoRow12->SetBinContent(70,21);
   ResoRow12->SetBinContent(71,16);
   ResoRow12->SetBinContent(72,17);
   ResoRow12->SetBinContent(73,9);
   ResoRow12->SetBinContent(74,21);
   ResoRow12->SetBinContent(75,15);
   ResoRow12->SetBinContent(76,14);
   ResoRow12->SetBinContent(77,15);
   ResoRow12->SetBinContent(78,10);
   ResoRow12->SetBinContent(79,13);
   ResoRow12->SetBinContent(80,9);
   ResoRow12->SetBinContent(81,18);
   ResoRow12->SetBinContent(82,6);
   ResoRow12->SetBinContent(83,4);
   ResoRow12->SetBinContent(84,6);
   ResoRow12->SetBinContent(85,6);
   ResoRow12->SetBinContent(86,10);
   ResoRow12->SetBinContent(87,8);
   ResoRow12->SetBinContent(88,4);
   ResoRow12->SetBinContent(89,2);
   ResoRow12->SetBinContent(90,5);
   ResoRow12->SetBinContent(91,5);
   ResoRow12->SetBinContent(92,4);
   ResoRow12->SetBinContent(93,1);
   ResoRow12->SetBinContent(94,3);
   ResoRow12->SetBinContent(96,3);
   ResoRow12->SetBinContent(97,4);
   ResoRow12->SetBinContent(98,3);
   ResoRow12->SetBinContent(99,2);
   ResoRow12->SetBinContent(100,1);
   ResoRow12->SetBinContent(101,54);
   ResoRow12->SetEntries(1537);
   
   TF1 *ResoRowFit12 = new TF1("ResoRowFit12","gaus",-1,1);
   ResoRowFit12->SetFillColor(19);
   ResoRowFit12->SetFillStyle(0);
   ResoRowFit12->SetLineWidth(3);
   ResoRowFit12->SetChisquare(119.0466);
   ResoRowFit12->SetNDF(96);
   ResoRowFit12->SetParameter(0,26.86832);
   ResoRowFit12->SetParError(0,0.9678016);
   ResoRowFit12->SetParLimits(0,0,0);
   ResoRowFit12->SetParameter(1,0.01434933);
   ResoRowFit12->SetParError(1,0.01157907);
   ResoRowFit12->SetParLimits(1,0,0);
   ResoRowFit12->SetParameter(2,0.3974105);
   ResoRowFit12->SetParError(2,0.01016435);
   ResoRowFit12->SetParLimits(2,0,3.978643);
   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 = 1537   ");
   text = ptstats->AddText("Mean  = -0.001613");
   text = ptstats->AddText("RMS   = 0.3978");
   text = ptstats->AddText("#chi^{2} / ndf =   119 / 96");
   text = ptstats->AddText("Constant = 26.87 #pm 0.97 ");
   text = ptstats->AddText("Mean     = 0.01435 #pm 0.01158 ");
   text = ptstats->AddText("Sigma    = 0.3974 #pm 0.0102 ");
   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);
}
