{
//=========Macro generated from canvas: c2/
//=========  (Wed Jun  9 12:04:35 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.74375,1.25,69.69375);
   c2_1->SetFillColor(0);
   c2_1->SetBorderSize(2);
   
   TH1F *ResoRow01 = new TH1F("ResoRow01","",100,-1,1);
   ResoRow01->SetBinContent(0,30);
   ResoRow01->SetBinContent(2,4);
   ResoRow01->SetBinContent(3,4);
   ResoRow01->SetBinContent(4,3);
   ResoRow01->SetBinContent(5,1);
   ResoRow01->SetBinContent(8,1);
   ResoRow01->SetBinContent(10,4);
   ResoRow01->SetBinContent(11,4);
   ResoRow01->SetBinContent(12,6);
   ResoRow01->SetBinContent(13,3);
   ResoRow01->SetBinContent(14,3);
   ResoRow01->SetBinContent(15,7);
   ResoRow01->SetBinContent(16,8);
   ResoRow01->SetBinContent(17,6);
   ResoRow01->SetBinContent(18,7);
   ResoRow01->SetBinContent(19,6);
   ResoRow01->SetBinContent(20,6);
   ResoRow01->SetBinContent(21,4);
   ResoRow01->SetBinContent(22,5);
   ResoRow01->SetBinContent(23,6);
   ResoRow01->SetBinContent(24,9);
   ResoRow01->SetBinContent(25,5);
   ResoRow01->SetBinContent(26,15);
   ResoRow01->SetBinContent(27,20);
   ResoRow01->SetBinContent(28,17);
   ResoRow01->SetBinContent(29,13);
   ResoRow01->SetBinContent(30,19);
   ResoRow01->SetBinContent(31,18);
   ResoRow01->SetBinContent(32,20);
   ResoRow01->SetBinContent(33,20);
   ResoRow01->SetBinContent(34,15);
   ResoRow01->SetBinContent(35,20);
   ResoRow01->SetBinContent(36,25);
   ResoRow01->SetBinContent(37,19);
   ResoRow01->SetBinContent(38,14);
   ResoRow01->SetBinContent(39,27);
   ResoRow01->SetBinContent(40,22);
   ResoRow01->SetBinContent(41,23);
   ResoRow01->SetBinContent(42,35);
   ResoRow01->SetBinContent(43,41);
   ResoRow01->SetBinContent(44,36);
   ResoRow01->SetBinContent(45,35);
   ResoRow01->SetBinContent(46,41);
   ResoRow01->SetBinContent(47,48);
   ResoRow01->SetBinContent(48,52);
   ResoRow01->SetBinContent(49,36);
   ResoRow01->SetBinContent(50,27);
   ResoRow01->SetBinContent(51,33);
   ResoRow01->SetBinContent(52,59);
   ResoRow01->SetBinContent(53,37);
   ResoRow01->SetBinContent(54,46);
   ResoRow01->SetBinContent(55,49);
   ResoRow01->SetBinContent(56,39);
   ResoRow01->SetBinContent(57,40);
   ResoRow01->SetBinContent(58,43);
   ResoRow01->SetBinContent(59,25);
   ResoRow01->SetBinContent(60,28);
   ResoRow01->SetBinContent(61,37);
   ResoRow01->SetBinContent(62,32);
   ResoRow01->SetBinContent(63,21);
   ResoRow01->SetBinContent(64,33);
   ResoRow01->SetBinContent(65,22);
   ResoRow01->SetBinContent(66,19);
   ResoRow01->SetBinContent(67,14);
   ResoRow01->SetBinContent(68,25);
   ResoRow01->SetBinContent(69,13);
   ResoRow01->SetBinContent(70,12);
   ResoRow01->SetBinContent(71,16);
   ResoRow01->SetBinContent(72,12);
   ResoRow01->SetBinContent(73,9);
   ResoRow01->SetBinContent(74,11);
   ResoRow01->SetBinContent(75,16);
   ResoRow01->SetBinContent(76,5);
   ResoRow01->SetBinContent(77,5);
   ResoRow01->SetBinContent(78,10);
   ResoRow01->SetBinContent(79,8);
   ResoRow01->SetBinContent(80,4);
   ResoRow01->SetBinContent(81,6);
   ResoRow01->SetBinContent(82,9);
   ResoRow01->SetBinContent(83,5);
   ResoRow01->SetBinContent(84,9);
   ResoRow01->SetBinContent(85,4);
   ResoRow01->SetBinContent(86,5);
   ResoRow01->SetBinContent(87,4);
   ResoRow01->SetBinContent(88,4);
   ResoRow01->SetBinContent(89,3);
   ResoRow01->SetBinContent(90,2);
   ResoRow01->SetBinContent(91,1);
   ResoRow01->SetBinContent(92,3);
   ResoRow01->SetBinContent(93,1);
   ResoRow01->SetBinContent(94,3);
   ResoRow01->SetBinContent(95,2);
   ResoRow01->SetBinContent(96,2);
   ResoRow01->SetBinContent(97,2);
   ResoRow01->SetBinContent(99,1);
   ResoRow01->SetBinContent(100,1);
   ResoRow01->SetBinContent(101,40);
   ResoRow01->SetEntries(1620);
   
   TF1 *ResoRowFit01 = new TF1("ResoRowFit01","gaus",-1,1);
   ResoRowFit01->SetFillColor(19);
   ResoRowFit01->SetFillStyle(0);
   ResoRowFit01->SetLineWidth(3);
   ResoRowFit01->SetChisquare(136.7374);
   ResoRowFit01->SetNDF(92);
   ResoRowFit01->SetParameter(0,35.58371);
   ResoRowFit01->SetParError(0,1.314058);
   ResoRowFit01->SetParLimits(0,0,0);
   ResoRowFit01->SetParameter(1,-0.001618163);
   ResoRowFit01->SetParError(1,0.008650676);
   ResoRowFit01->SetParLimits(1,0,0);
   ResoRowFit01->SetParameter(2,0.3182034);
   ResoRowFit01->SetParError(2,0.008441875);
   ResoRowFit01->SetParLimits(2,0,3.333158);
   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 = 1620   ");
   text = ptstats->AddText("Mean  = -0.003773");
   text = ptstats->AddText("RMS   = 0.3335");
   text = ptstats->AddText("#chi^{2} / ndf = 136.7 / 92");
   text = ptstats->AddText("Constant = 35.58 #pm 1.31 ");
   text = ptstats->AddText("Mean     = -0.001618 #pm 0.008651 ");
   text = ptstats->AddText("Sigma    = 0.3182 #pm 0.0084 ");
   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.43125,1.25,57.88125);
   c2_2->SetFillColor(0);
   c2_2->SetBorderSize(2);
   
   TH1F *ResoRow02 = new TH1F("ResoRow02","",100,-1,1);
   ResoRow02->SetBinContent(0,24);
   ResoRow02->SetBinContent(2,2);
   ResoRow02->SetBinContent(3,1);
   ResoRow02->SetBinContent(4,2);
   ResoRow02->SetBinContent(5,1);
   ResoRow02->SetBinContent(6,2);
   ResoRow02->SetBinContent(7,1);
   ResoRow02->SetBinContent(8,6);
   ResoRow02->SetBinContent(9,2);
   ResoRow02->SetBinContent(10,4);
   ResoRow02->SetBinContent(11,7);
   ResoRow02->SetBinContent(12,4);
   ResoRow02->SetBinContent(13,2);
   ResoRow02->SetBinContent(14,5);
   ResoRow02->SetBinContent(15,6);
   ResoRow02->SetBinContent(16,6);
   ResoRow02->SetBinContent(17,6);
   ResoRow02->SetBinContent(18,9);
   ResoRow02->SetBinContent(19,9);
   ResoRow02->SetBinContent(20,12);
   ResoRow02->SetBinContent(21,1);
   ResoRow02->SetBinContent(22,5);
   ResoRow02->SetBinContent(23,6);
   ResoRow02->SetBinContent(24,7);
   ResoRow02->SetBinContent(25,8);
   ResoRow02->SetBinContent(26,10);
   ResoRow02->SetBinContent(27,9);
   ResoRow02->SetBinContent(28,12);
   ResoRow02->SetBinContent(29,21);
   ResoRow02->SetBinContent(30,15);
   ResoRow02->SetBinContent(31,15);
   ResoRow02->SetBinContent(32,25);
   ResoRow02->SetBinContent(33,13);
   ResoRow02->SetBinContent(34,19);
   ResoRow02->SetBinContent(35,16);
   ResoRow02->SetBinContent(36,25);
   ResoRow02->SetBinContent(37,29);
   ResoRow02->SetBinContent(38,27);
   ResoRow02->SetBinContent(39,22);
   ResoRow02->SetBinContent(40,38);
   ResoRow02->SetBinContent(41,34);
   ResoRow02->SetBinContent(42,37);
   ResoRow02->SetBinContent(43,27);
   ResoRow02->SetBinContent(44,26);
   ResoRow02->SetBinContent(45,32);
   ResoRow02->SetBinContent(46,49);
   ResoRow02->SetBinContent(47,38);
   ResoRow02->SetBinContent(48,41);
   ResoRow02->SetBinContent(49,41);
   ResoRow02->SetBinContent(50,33);
   ResoRow02->SetBinContent(51,48);
   ResoRow02->SetBinContent(52,46);
   ResoRow02->SetBinContent(53,43);
   ResoRow02->SetBinContent(54,43);
   ResoRow02->SetBinContent(55,35);
   ResoRow02->SetBinContent(56,49);
   ResoRow02->SetBinContent(57,31);
   ResoRow02->SetBinContent(58,36);
   ResoRow02->SetBinContent(59,29);
   ResoRow02->SetBinContent(60,37);
   ResoRow02->SetBinContent(61,31);
   ResoRow02->SetBinContent(62,22);
   ResoRow02->SetBinContent(63,26);
   ResoRow02->SetBinContent(64,19);
   ResoRow02->SetBinContent(65,19);
   ResoRow02->SetBinContent(66,22);
   ResoRow02->SetBinContent(67,21);
   ResoRow02->SetBinContent(68,12);
   ResoRow02->SetBinContent(69,15);
   ResoRow02->SetBinContent(70,22);
   ResoRow02->SetBinContent(71,18);
   ResoRow02->SetBinContent(72,9);
   ResoRow02->SetBinContent(73,11);
   ResoRow02->SetBinContent(74,14);
   ResoRow02->SetBinContent(75,6);
   ResoRow02->SetBinContent(76,17);
   ResoRow02->SetBinContent(77,13);
   ResoRow02->SetBinContent(78,9);
   ResoRow02->SetBinContent(79,12);
   ResoRow02->SetBinContent(80,7);
   ResoRow02->SetBinContent(81,8);
   ResoRow02->SetBinContent(82,10);
   ResoRow02->SetBinContent(83,4);
   ResoRow02->SetBinContent(84,8);
   ResoRow02->SetBinContent(85,4);
   ResoRow02->SetBinContent(86,5);
   ResoRow02->SetBinContent(87,4);
   ResoRow02->SetBinContent(88,6);
   ResoRow02->SetBinContent(89,1);
   ResoRow02->SetBinContent(90,2);
   ResoRow02->SetBinContent(91,1);
   ResoRow02->SetBinContent(92,1);
   ResoRow02->SetBinContent(93,4);
   ResoRow02->SetBinContent(94,1);
   ResoRow02->SetBinContent(95,2);
   ResoRow02->SetBinContent(96,2);
   ResoRow02->SetBinContent(97,2);
   ResoRow02->SetBinContent(98,2);
   ResoRow02->SetBinContent(99,1);
   ResoRow02->SetBinContent(100,4);
   ResoRow02->SetBinContent(101,34);
   ResoRow02->SetEntries(1620);
   
   TF1 *ResoRowFit02 = new TF1("ResoRowFit02","gaus",-1,1);
   ResoRowFit02->SetFillColor(19);
   ResoRowFit02->SetFillStyle(0);
   ResoRowFit02->SetLineWidth(3);
   ResoRowFit02->SetChisquare(144.0882);
   ResoRowFit02->SetNDF(96);
   ResoRowFit02->SetParameter(0,36.32059);
   ResoRowFit02->SetParError(0,1.31498);
   ResoRowFit02->SetParLimits(0,0,0);
   ResoRowFit02->SetParameter(1,0.0113271);
   ResoRowFit02->SetParError(1,0.00839029);
   ResoRowFit02->SetParLimits(1,0,0);
   ResoRowFit02->SetParameter(2,0.3119533);
   ResoRowFit02->SetParError(2,0.007801626);
   ResoRowFit02->SetParLimits(2,0,3.436774);
   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 = 1620   ");
   text = ptstats->AddText("Mean  = 0.0005339");
   text = ptstats->AddText("RMS   = 0.3434");
   text = ptstats->AddText("#chi^{2} / ndf = 144.1 / 96");
   text = ptstats->AddText("Constant = 36.32 #pm 1.31 ");
   text = ptstats->AddText("Mean     = 0.01133 #pm 0.00839 ");
   text = ptstats->AddText("Sigma    = 0.312 #pm 0.008 ");
   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,-7.48125,1.25,67.33125);
   c2_3->SetFillColor(0);
   c2_3->SetBorderSize(2);
   
   TH1F *ResoRow03 = new TH1F("ResoRow03","",100,-1,1);
   ResoRow03->SetBinContent(0,45);
   ResoRow03->SetBinContent(2,1);
   ResoRow03->SetBinContent(4,2);
   ResoRow03->SetBinContent(5,4);
   ResoRow03->SetBinContent(6,1);
   ResoRow03->SetBinContent(7,4);
   ResoRow03->SetBinContent(8,4);
   ResoRow03->SetBinContent(9,3);
   ResoRow03->SetBinContent(10,4);
   ResoRow03->SetBinContent(11,4);
   ResoRow03->SetBinContent(12,3);
   ResoRow03->SetBinContent(13,3);
   ResoRow03->SetBinContent(14,6);
   ResoRow03->SetBinContent(15,4);
   ResoRow03->SetBinContent(16,5);
   ResoRow03->SetBinContent(17,7);
   ResoRow03->SetBinContent(18,11);
   ResoRow03->SetBinContent(19,11);
   ResoRow03->SetBinContent(20,8);
   ResoRow03->SetBinContent(21,7);
   ResoRow03->SetBinContent(22,9);
   ResoRow03->SetBinContent(23,11);
   ResoRow03->SetBinContent(24,3);
   ResoRow03->SetBinContent(25,10);
   ResoRow03->SetBinContent(26,13);
   ResoRow03->SetBinContent(27,12);
   ResoRow03->SetBinContent(28,7);
   ResoRow03->SetBinContent(29,12);
   ResoRow03->SetBinContent(30,14);
   ResoRow03->SetBinContent(31,17);
   ResoRow03->SetBinContent(32,24);
   ResoRow03->SetBinContent(33,12);
   ResoRow03->SetBinContent(34,19);
   ResoRow03->SetBinContent(35,25);
   ResoRow03->SetBinContent(36,22);
   ResoRow03->SetBinContent(37,20);
   ResoRow03->SetBinContent(38,27);
   ResoRow03->SetBinContent(39,26);
   ResoRow03->SetBinContent(40,26);
   ResoRow03->SetBinContent(41,33);
   ResoRow03->SetBinContent(42,34);
   ResoRow03->SetBinContent(43,31);
   ResoRow03->SetBinContent(44,33);
   ResoRow03->SetBinContent(45,41);
   ResoRow03->SetBinContent(46,33);
   ResoRow03->SetBinContent(47,38);
   ResoRow03->SetBinContent(48,31);
   ResoRow03->SetBinContent(49,35);
   ResoRow03->SetBinContent(50,36);
   ResoRow03->SetBinContent(51,38);
   ResoRow03->SetBinContent(52,38);
   ResoRow03->SetBinContent(53,57);
   ResoRow03->SetBinContent(54,44);
   ResoRow03->SetBinContent(55,33);
   ResoRow03->SetBinContent(56,36);
   ResoRow03->SetBinContent(57,31);
   ResoRow03->SetBinContent(58,42);
   ResoRow03->SetBinContent(59,31);
   ResoRow03->SetBinContent(60,33);
   ResoRow03->SetBinContent(61,23);
   ResoRow03->SetBinContent(62,31);
   ResoRow03->SetBinContent(63,33);
   ResoRow03->SetBinContent(64,37);
   ResoRow03->SetBinContent(65,18);
   ResoRow03->SetBinContent(66,29);
   ResoRow03->SetBinContent(67,22);
   ResoRow03->SetBinContent(68,17);
   ResoRow03->SetBinContent(69,15);
   ResoRow03->SetBinContent(70,15);
   ResoRow03->SetBinContent(71,14);
   ResoRow03->SetBinContent(72,19);
   ResoRow03->SetBinContent(73,11);
   ResoRow03->SetBinContent(74,15);
   ResoRow03->SetBinContent(75,10);
   ResoRow03->SetBinContent(76,6);
   ResoRow03->SetBinContent(77,10);
   ResoRow03->SetBinContent(78,9);
   ResoRow03->SetBinContent(79,11);
   ResoRow03->SetBinContent(80,6);
   ResoRow03->SetBinContent(81,10);
   ResoRow03->SetBinContent(82,6);
   ResoRow03->SetBinContent(83,6);
   ResoRow03->SetBinContent(84,9);
   ResoRow03->SetBinContent(85,3);
   ResoRow03->SetBinContent(86,6);
   ResoRow03->SetBinContent(87,3);
   ResoRow03->SetBinContent(89,2);
   ResoRow03->SetBinContent(90,2);
   ResoRow03->SetBinContent(91,1);
   ResoRow03->SetBinContent(92,1);
   ResoRow03->SetBinContent(93,3);
   ResoRow03->SetBinContent(94,2);
   ResoRow03->SetBinContent(95,5);
   ResoRow03->SetBinContent(96,2);
   ResoRow03->SetBinContent(97,2);
   ResoRow03->SetBinContent(98,1);
   ResoRow03->SetBinContent(99,1);
   ResoRow03->SetBinContent(100,1);
   ResoRow03->SetBinContent(101,29);
   ResoRow03->SetEntries(1620);
   
   TF1 *ResoRowFit03 = new TF1("ResoRowFit03","gaus",-1,1);
   ResoRowFit03->SetFillColor(19);
   ResoRowFit03->SetFillStyle(0);
   ResoRowFit03->SetLineWidth(3);
   ResoRowFit03->SetChisquare(101.0988);
   ResoRowFit03->SetNDF(94);
   ResoRowFit03->SetParameter(0,35.24015);
   ResoRowFit03->SetParError(0,1.261358);
   ResoRowFit03->SetParLimits(0,0,0);
   ResoRowFit03->SetParameter(1,0.009137941);
   ResoRowFit03->SetParError(1,0.008869981);
   ResoRowFit03->SetParLimits(1,0,0);
   ResoRowFit03->SetParameter(2,0.3287411);
   ResoRowFit03->SetParError(2,0.008273399);
   ResoRowFit03->SetParLimits(2,0,3.430087);
   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 = 1620   ");
   text = ptstats->AddText("Mean  = -0.0001304");
   text = ptstats->AddText("RMS   = 0.3429");
   text = ptstats->AddText("#chi^{2} / ndf = 101.1 / 94");
   text = ptstats->AddText("Constant = 35.24 #pm 1.26 ");
   text = ptstats->AddText("Mean     = 0.009138 #pm 0.008870 ");
   text = ptstats->AddText("Sigma    = 0.3287 #pm 0.0083 ");
   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,-5.64375,1.25,50.79375);
   c2_4->SetFillColor(0);
   c2_4->SetBorderSize(2);
   
   TH1F *ResoRow09 = new TH1F("ResoRow09","",100,-1,1);
   ResoRow09->SetBinContent(0,33);
   ResoRow09->SetBinContent(2,2);
   ResoRow09->SetBinContent(3,5);
   ResoRow09->SetBinContent(4,5);
   ResoRow09->SetBinContent(5,3);
   ResoRow09->SetBinContent(6,4);
   ResoRow09->SetBinContent(7,3);
   ResoRow09->SetBinContent(8,4);
   ResoRow09->SetBinContent(9,1);
   ResoRow09->SetBinContent(11,4);
   ResoRow09->SetBinContent(12,5);
   ResoRow09->SetBinContent(13,5);
   ResoRow09->SetBinContent(14,4);
   ResoRow09->SetBinContent(15,3);
   ResoRow09->SetBinContent(16,7);
   ResoRow09->SetBinContent(17,10);
   ResoRow09->SetBinContent(18,8);
   ResoRow09->SetBinContent(19,8);
   ResoRow09->SetBinContent(20,8);
   ResoRow09->SetBinContent(21,7);
   ResoRow09->SetBinContent(22,7);
   ResoRow09->SetBinContent(23,9);
   ResoRow09->SetBinContent(24,7);
   ResoRow09->SetBinContent(25,15);
   ResoRow09->SetBinContent(26,9);
   ResoRow09->SetBinContent(27,15);
   ResoRow09->SetBinContent(28,7);
   ResoRow09->SetBinContent(29,12);
   ResoRow09->SetBinContent(30,21);
   ResoRow09->SetBinContent(31,20);
   ResoRow09->SetBinContent(32,12);
   ResoRow09->SetBinContent(33,22);
   ResoRow09->SetBinContent(34,16);
   ResoRow09->SetBinContent(35,14);
   ResoRow09->SetBinContent(36,20);
   ResoRow09->SetBinContent(37,21);
   ResoRow09->SetBinContent(38,20);
   ResoRow09->SetBinContent(39,30);
   ResoRow09->SetBinContent(40,28);
   ResoRow09->SetBinContent(41,27);
   ResoRow09->SetBinContent(42,37);
   ResoRow09->SetBinContent(43,34);
   ResoRow09->SetBinContent(44,35);
   ResoRow09->SetBinContent(45,38);
   ResoRow09->SetBinContent(46,38);
   ResoRow09->SetBinContent(47,43);
   ResoRow09->SetBinContent(48,42);
   ResoRow09->SetBinContent(49,39);
   ResoRow09->SetBinContent(50,36);
   ResoRow09->SetBinContent(51,34);
   ResoRow09->SetBinContent(52,43);
   ResoRow09->SetBinContent(53,33);
   ResoRow09->SetBinContent(54,30);
   ResoRow09->SetBinContent(55,38);
   ResoRow09->SetBinContent(56,29);
   ResoRow09->SetBinContent(57,33);
   ResoRow09->SetBinContent(58,41);
   ResoRow09->SetBinContent(59,37);
   ResoRow09->SetBinContent(60,39);
   ResoRow09->SetBinContent(61,25);
   ResoRow09->SetBinContent(62,28);
   ResoRow09->SetBinContent(63,27);
   ResoRow09->SetBinContent(64,31);
   ResoRow09->SetBinContent(65,25);
   ResoRow09->SetBinContent(66,23);
   ResoRow09->SetBinContent(67,26);
   ResoRow09->SetBinContent(68,18);
   ResoRow09->SetBinContent(69,15);
   ResoRow09->SetBinContent(70,18);
   ResoRow09->SetBinContent(71,14);
   ResoRow09->SetBinContent(72,14);
   ResoRow09->SetBinContent(73,11);
   ResoRow09->SetBinContent(74,10);
   ResoRow09->SetBinContent(75,5);
   ResoRow09->SetBinContent(76,10);
   ResoRow09->SetBinContent(77,12);
   ResoRow09->SetBinContent(78,6);
   ResoRow09->SetBinContent(79,11);
   ResoRow09->SetBinContent(80,7);
   ResoRow09->SetBinContent(81,5);
   ResoRow09->SetBinContent(82,5);
   ResoRow09->SetBinContent(83,5);
   ResoRow09->SetBinContent(84,4);
   ResoRow09->SetBinContent(85,3);
   ResoRow09->SetBinContent(86,4);
   ResoRow09->SetBinContent(87,2);
   ResoRow09->SetBinContent(88,2);
   ResoRow09->SetBinContent(89,4);
   ResoRow09->SetBinContent(90,2);
   ResoRow09->SetBinContent(91,4);
   ResoRow09->SetBinContent(92,3);
   ResoRow09->SetBinContent(93,2);
   ResoRow09->SetBinContent(94,4);
   ResoRow09->SetBinContent(95,2);
   ResoRow09->SetBinContent(96,3);
   ResoRow09->SetBinContent(97,4);
   ResoRow09->SetBinContent(99,4);
   ResoRow09->SetBinContent(100,8);
   ResoRow09->SetBinContent(101,54);
   ResoRow09->SetEntries(1620);
   
   TF1 *ResoRowFit09 = new TF1("ResoRowFit09","gaus",-1,1);
   ResoRowFit09->SetFillColor(19);
   ResoRowFit09->SetFillStyle(0);
   ResoRowFit09->SetLineWidth(3);
   ResoRowFit09->SetChisquare(107.6439);
   ResoRowFit09->SetNDF(94);
   ResoRowFit09->SetParameter(0,34.61733);
   ResoRowFit09->SetParError(0,1.277273);
   ResoRowFit09->SetParLimits(0,0,0);
   ResoRowFit09->SetParameter(1,-0.001266733);
   ResoRowFit09->SetParError(1,0.009031393);
   ResoRowFit09->SetParLimits(1,0,0);
   ResoRowFit09->SetParameter(2,0.3299396);
   ResoRowFit09->SetParError(2,0.00878894);
   ResoRowFit09->SetParLimits(2,0,3.56595);
   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 = 1620   ");
   text = ptstats->AddText("Mean  = -0.00298");
   text = ptstats->AddText("RMS   = 0.3566");
   text = ptstats->AddText("#chi^{2} / ndf = 107.6 / 94");
   text = ptstats->AddText("Constant = 34.62 #pm 1.28 ");
   text = ptstats->AddText("Mean     = -0.001267 #pm 0.009031 ");
   text = ptstats->AddText("Sigma    = 0.3299 #pm 0.0088 ");
   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.95625,1.25,62.60625);
   c2_5->SetFillColor(0);
   c2_5->SetBorderSize(2);
   
   TH1F *ResoRow10 = new TH1F("ResoRow10","",100,-1,1);
   ResoRow10->SetBinContent(0,46);
   ResoRow10->SetBinContent(1,3);
   ResoRow10->SetBinContent(3,1);
   ResoRow10->SetBinContent(4,7);
   ResoRow10->SetBinContent(5,1);
   ResoRow10->SetBinContent(6,3);
   ResoRow10->SetBinContent(7,1);
   ResoRow10->SetBinContent(8,2);
   ResoRow10->SetBinContent(10,2);
   ResoRow10->SetBinContent(11,5);
   ResoRow10->SetBinContent(12,4);
   ResoRow10->SetBinContent(13,1);
   ResoRow10->SetBinContent(14,3);
   ResoRow10->SetBinContent(15,4);
   ResoRow10->SetBinContent(16,6);
   ResoRow10->SetBinContent(17,4);
   ResoRow10->SetBinContent(18,9);
   ResoRow10->SetBinContent(19,4);
   ResoRow10->SetBinContent(20,13);
   ResoRow10->SetBinContent(21,7);
   ResoRow10->SetBinContent(22,9);
   ResoRow10->SetBinContent(23,6);
   ResoRow10->SetBinContent(24,6);
   ResoRow10->SetBinContent(25,14);
   ResoRow10->SetBinContent(26,10);
   ResoRow10->SetBinContent(27,9);
   ResoRow10->SetBinContent(28,13);
   ResoRow10->SetBinContent(29,20);
   ResoRow10->SetBinContent(30,16);
   ResoRow10->SetBinContent(31,19);
   ResoRow10->SetBinContent(32,23);
   ResoRow10->SetBinContent(33,17);
   ResoRow10->SetBinContent(34,18);
   ResoRow10->SetBinContent(35,17);
   ResoRow10->SetBinContent(36,26);
   ResoRow10->SetBinContent(37,22);
   ResoRow10->SetBinContent(38,29);
   ResoRow10->SetBinContent(39,36);
   ResoRow10->SetBinContent(40,31);
   ResoRow10->SetBinContent(41,22);
   ResoRow10->SetBinContent(42,35);
   ResoRow10->SetBinContent(43,34);
   ResoRow10->SetBinContent(44,34);
   ResoRow10->SetBinContent(45,37);
   ResoRow10->SetBinContent(46,35);
   ResoRow10->SetBinContent(47,34);
   ResoRow10->SetBinContent(48,37);
   ResoRow10->SetBinContent(49,49);
   ResoRow10->SetBinContent(50,33);
   ResoRow10->SetBinContent(51,43);
   ResoRow10->SetBinContent(52,39);
   ResoRow10->SetBinContent(53,44);
   ResoRow10->SetBinContent(54,39);
   ResoRow10->SetBinContent(55,53);
   ResoRow10->SetBinContent(56,31);
   ResoRow10->SetBinContent(57,38);
   ResoRow10->SetBinContent(58,27);
   ResoRow10->SetBinContent(59,41);
   ResoRow10->SetBinContent(60,21);
   ResoRow10->SetBinContent(61,23);
   ResoRow10->SetBinContent(62,20);
   ResoRow10->SetBinContent(63,32);
   ResoRow10->SetBinContent(64,20);
   ResoRow10->SetBinContent(65,21);
   ResoRow10->SetBinContent(66,20);
   ResoRow10->SetBinContent(67,19);
   ResoRow10->SetBinContent(68,17);
   ResoRow10->SetBinContent(69,21);
   ResoRow10->SetBinContent(70,15);
   ResoRow10->SetBinContent(71,14);
   ResoRow10->SetBinContent(72,16);
   ResoRow10->SetBinContent(73,19);
   ResoRow10->SetBinContent(74,9);
   ResoRow10->SetBinContent(75,8);
   ResoRow10->SetBinContent(76,14);
   ResoRow10->SetBinContent(77,12);
   ResoRow10->SetBinContent(78,8);
   ResoRow10->SetBinContent(79,8);
   ResoRow10->SetBinContent(80,11);
   ResoRow10->SetBinContent(81,7);
   ResoRow10->SetBinContent(82,4);
   ResoRow10->SetBinContent(83,4);
   ResoRow10->SetBinContent(84,7);
   ResoRow10->SetBinContent(85,4);
   ResoRow10->SetBinContent(86,4);
   ResoRow10->SetBinContent(87,4);
   ResoRow10->SetBinContent(88,3);
   ResoRow10->SetBinContent(89,2);
   ResoRow10->SetBinContent(90,1);
   ResoRow10->SetBinContent(91,6);
   ResoRow10->SetBinContent(92,4);
   ResoRow10->SetBinContent(93,3);
   ResoRow10->SetBinContent(94,1);
   ResoRow10->SetBinContent(95,3);
   ResoRow10->SetBinContent(96,1);
   ResoRow10->SetBinContent(97,1);
   ResoRow10->SetBinContent(98,1);
   ResoRow10->SetBinContent(100,1);
   ResoRow10->SetBinContent(101,39);
   ResoRow10->SetEntries(1620);
   
   TF1 *ResoRowFit10 = new TF1("ResoRowFit10","gaus",-1,1);
   ResoRowFit10->SetFillColor(19);
   ResoRowFit10->SetFillStyle(0);
   ResoRowFit10->SetLineWidth(3);
   ResoRowFit10->SetChisquare(91.32452);
   ResoRowFit10->SetNDF(94);
   ResoRowFit10->SetParameter(0,35.26413);
   ResoRowFit10->SetParError(0,1.218253);
   ResoRowFit10->SetParLimits(0,0,0);
   ResoRowFit10->SetParameter(1,-0.002775243);
   ResoRowFit10->SetParError(1,0.008787479);
   ResoRowFit10->SetParLimits(1,0,0);
   ResoRowFit10->SetParameter(2,0.3279285);
   ResoRowFit10->SetParError(2,0.007589552);
   ResoRowFit10->SetParLimits(2,0,3.402677);
   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 = 1620   ");
   text = ptstats->AddText("Mean  = -0.00607");
   text = ptstats->AddText("RMS   = 0.3403");
   text = ptstats->AddText("#chi^{2} / ndf = 91.32 / 94");
   text = ptstats->AddText("Constant = 35.26 #pm 1.22 ");
   text = ptstats->AddText("Mean     = -0.002775 #pm 0.008787 ");
   text = ptstats->AddText("Sigma    = 0.3279 #pm 0.0076 ");
   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.5625,1.25,59.0625);
   c2_6->SetFillColor(0);
   c2_6->SetBorderSize(2);
   
   TH1F *ResoRow11 = new TH1F("ResoRow11","",100,-1,1);
   ResoRow11->SetBinContent(0,24);
   ResoRow11->SetBinContent(1,3);
   ResoRow11->SetBinContent(2,2);
   ResoRow11->SetBinContent(3,3);
   ResoRow11->SetBinContent(4,6);
   ResoRow11->SetBinContent(5,3);
   ResoRow11->SetBinContent(6,2);
   ResoRow11->SetBinContent(7,1);
   ResoRow11->SetBinContent(8,3);
   ResoRow11->SetBinContent(9,2);
   ResoRow11->SetBinContent(10,2);
   ResoRow11->SetBinContent(11,2);
   ResoRow11->SetBinContent(12,3);
   ResoRow11->SetBinContent(13,4);
   ResoRow11->SetBinContent(14,6);
   ResoRow11->SetBinContent(15,4);
   ResoRow11->SetBinContent(16,6);
   ResoRow11->SetBinContent(17,9);
   ResoRow11->SetBinContent(18,9);
   ResoRow11->SetBinContent(19,9);
   ResoRow11->SetBinContent(20,6);
   ResoRow11->SetBinContent(21,11);
   ResoRow11->SetBinContent(22,11);
   ResoRow11->SetBinContent(23,12);
   ResoRow11->SetBinContent(24,10);
   ResoRow11->SetBinContent(25,13);
   ResoRow11->SetBinContent(26,8);
   ResoRow11->SetBinContent(27,7);
   ResoRow11->SetBinContent(28,11);
   ResoRow11->SetBinContent(29,16);
   ResoRow11->SetBinContent(30,19);
   ResoRow11->SetBinContent(31,8);
   ResoRow11->SetBinContent(32,15);
   ResoRow11->SetBinContent(33,14);
   ResoRow11->SetBinContent(34,16);
   ResoRow11->SetBinContent(35,26);
   ResoRow11->SetBinContent(36,23);
   ResoRow11->SetBinContent(37,36);
   ResoRow11->SetBinContent(38,29);
   ResoRow11->SetBinContent(39,31);
   ResoRow11->SetBinContent(40,18);
   ResoRow11->SetBinContent(41,26);
   ResoRow11->SetBinContent(42,18);
   ResoRow11->SetBinContent(43,32);
   ResoRow11->SetBinContent(44,34);
   ResoRow11->SetBinContent(45,31);
   ResoRow11->SetBinContent(46,43);
   ResoRow11->SetBinContent(47,45);
   ResoRow11->SetBinContent(48,42);
   ResoRow11->SetBinContent(49,45);
   ResoRow11->SetBinContent(50,28);
   ResoRow11->SetBinContent(51,45);
   ResoRow11->SetBinContent(52,27);
   ResoRow11->SetBinContent(53,40);
   ResoRow11->SetBinContent(54,33);
   ResoRow11->SetBinContent(55,38);
   ResoRow11->SetBinContent(56,50);
   ResoRow11->SetBinContent(57,39);
   ResoRow11->SetBinContent(58,28);
   ResoRow11->SetBinContent(59,30);
   ResoRow11->SetBinContent(60,39);
   ResoRow11->SetBinContent(61,35);
   ResoRow11->SetBinContent(62,30);
   ResoRow11->SetBinContent(63,32);
   ResoRow11->SetBinContent(64,25);
   ResoRow11->SetBinContent(65,26);
   ResoRow11->SetBinContent(66,23);
   ResoRow11->SetBinContent(67,10);
   ResoRow11->SetBinContent(68,22);
   ResoRow11->SetBinContent(69,16);
   ResoRow11->SetBinContent(70,13);
   ResoRow11->SetBinContent(71,20);
   ResoRow11->SetBinContent(72,11);
   ResoRow11->SetBinContent(73,12);
   ResoRow11->SetBinContent(74,8);
   ResoRow11->SetBinContent(75,12);
   ResoRow11->SetBinContent(76,6);
   ResoRow11->SetBinContent(77,10);
   ResoRow11->SetBinContent(78,9);
   ResoRow11->SetBinContent(79,6);
   ResoRow11->SetBinContent(80,6);
   ResoRow11->SetBinContent(81,8);
   ResoRow11->SetBinContent(82,3);
   ResoRow11->SetBinContent(83,4);
   ResoRow11->SetBinContent(84,6);
   ResoRow11->SetBinContent(85,8);
   ResoRow11->SetBinContent(86,4);
   ResoRow11->SetBinContent(87,1);
   ResoRow11->SetBinContent(88,8);
   ResoRow11->SetBinContent(89,5);
   ResoRow11->SetBinContent(90,7);
   ResoRow11->SetBinContent(91,2);
   ResoRow11->SetBinContent(92,3);
   ResoRow11->SetBinContent(93,3);
   ResoRow11->SetBinContent(94,4);
   ResoRow11->SetBinContent(95,4);
   ResoRow11->SetBinContent(96,1);
   ResoRow11->SetBinContent(98,5);
   ResoRow11->SetBinContent(100,2);
   ResoRow11->SetBinContent(101,54);
   ResoRow11->SetEntries(1620);
   
   TF1 *ResoRowFit11 = new TF1("ResoRowFit11","gaus",-1,1);
   ResoRowFit11->SetFillColor(19);
   ResoRowFit11->SetFillStyle(0);
   ResoRowFit11->SetLineWidth(3);
   ResoRowFit11->SetChisquare(149.189);
   ResoRowFit11->SetNDF(95);
   ResoRowFit11->SetParameter(0,33.39424);
   ResoRowFit11->SetParError(0,1.242474);
   ResoRowFit11->SetParLimits(0,0,0);
   ResoRowFit11->SetParameter(1,-0.004506501);
   ResoRowFit11->SetParError(1,0.009218608);
   ResoRowFit11->SetParLimits(1,0,0);
   ResoRowFit11->SetParameter(2,0.3339734);
   ResoRowFit11->SetParError(2,0.008907851);
   ResoRowFit11->SetParLimits(2,0,3.544985);
   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 = 1620   ");
   text = ptstats->AddText("Mean  = -0.003594");
   text = ptstats->AddText("RMS   = 0.3547");
   text = ptstats->AddText("#chi^{2} / ndf = 149.2 / 95");
   text = ptstats->AddText("Constant = 33.39 #pm 1.24 ");
   text = ptstats->AddText("Mean     = -0.004507 #pm 0.009219 ");
   text = ptstats->AddText("Sigma    = 0.334 #pm 0.009 ");
   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);
}
