{
//=========Macro generated from canvas: c2/
//=========  (Tue Jun  8 10:31:43 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.64375,1.25,50.79375);
   c2_1->SetFillColor(0);
   c2_1->SetBorderSize(2);
   
   TH1F *ResoRow19 = new TH1F("ResoRow19","",100,-1,1);
   ResoRow19->SetBinContent(0,51);
   ResoRow19->SetBinContent(1,3);
   ResoRow19->SetBinContent(2,1);
   ResoRow19->SetBinContent(3,3);
   ResoRow19->SetBinContent(4,2);
   ResoRow19->SetBinContent(5,2);
   ResoRow19->SetBinContent(6,2);
   ResoRow19->SetBinContent(7,5);
   ResoRow19->SetBinContent(8,9);
   ResoRow19->SetBinContent(10,3);
   ResoRow19->SetBinContent(11,3);
   ResoRow19->SetBinContent(12,7);
   ResoRow19->SetBinContent(13,3);
   ResoRow19->SetBinContent(14,7);
   ResoRow19->SetBinContent(15,7);
   ResoRow19->SetBinContent(16,7);
   ResoRow19->SetBinContent(17,8);
   ResoRow19->SetBinContent(18,4);
   ResoRow19->SetBinContent(19,7);
   ResoRow19->SetBinContent(20,8);
   ResoRow19->SetBinContent(21,8);
   ResoRow19->SetBinContent(22,10);
   ResoRow19->SetBinContent(23,14);
   ResoRow19->SetBinContent(24,10);
   ResoRow19->SetBinContent(25,11);
   ResoRow19->SetBinContent(26,10);
   ResoRow19->SetBinContent(27,5);
   ResoRow19->SetBinContent(28,13);
   ResoRow19->SetBinContent(29,14);
   ResoRow19->SetBinContent(30,16);
   ResoRow19->SetBinContent(31,23);
   ResoRow19->SetBinContent(32,26);
   ResoRow19->SetBinContent(33,19);
   ResoRow19->SetBinContent(34,14);
   ResoRow19->SetBinContent(35,19);
   ResoRow19->SetBinContent(36,23);
   ResoRow19->SetBinContent(37,23);
   ResoRow19->SetBinContent(38,27);
   ResoRow19->SetBinContent(39,28);
   ResoRow19->SetBinContent(40,31);
   ResoRow19->SetBinContent(41,28);
   ResoRow19->SetBinContent(42,23);
   ResoRow19->SetBinContent(43,22);
   ResoRow19->SetBinContent(44,33);
   ResoRow19->SetBinContent(45,24);
   ResoRow19->SetBinContent(46,24);
   ResoRow19->SetBinContent(47,36);
   ResoRow19->SetBinContent(48,43);
   ResoRow19->SetBinContent(49,31);
   ResoRow19->SetBinContent(50,25);
   ResoRow19->SetBinContent(51,30);
   ResoRow19->SetBinContent(52,37);
   ResoRow19->SetBinContent(53,42);
   ResoRow19->SetBinContent(54,22);
   ResoRow19->SetBinContent(55,36);
   ResoRow19->SetBinContent(56,32);
   ResoRow19->SetBinContent(57,17);
   ResoRow19->SetBinContent(58,31);
   ResoRow19->SetBinContent(59,29);
   ResoRow19->SetBinContent(60,30);
   ResoRow19->SetBinContent(61,16);
   ResoRow19->SetBinContent(62,14);
   ResoRow19->SetBinContent(63,23);
   ResoRow19->SetBinContent(64,21);
   ResoRow19->SetBinContent(65,21);
   ResoRow19->SetBinContent(66,14);
   ResoRow19->SetBinContent(67,18);
   ResoRow19->SetBinContent(68,17);
   ResoRow19->SetBinContent(69,22);
   ResoRow19->SetBinContent(70,20);
   ResoRow19->SetBinContent(71,17);
   ResoRow19->SetBinContent(72,10);
   ResoRow19->SetBinContent(73,15);
   ResoRow19->SetBinContent(74,16);
   ResoRow19->SetBinContent(75,13);
   ResoRow19->SetBinContent(76,12);
   ResoRow19->SetBinContent(77,15);
   ResoRow19->SetBinContent(78,11);
   ResoRow19->SetBinContent(79,9);
   ResoRow19->SetBinContent(80,8);
   ResoRow19->SetBinContent(81,9);
   ResoRow19->SetBinContent(82,4);
   ResoRow19->SetBinContent(83,3);
   ResoRow19->SetBinContent(84,6);
   ResoRow19->SetBinContent(85,9);
   ResoRow19->SetBinContent(86,6);
   ResoRow19->SetBinContent(87,4);
   ResoRow19->SetBinContent(88,6);
   ResoRow19->SetBinContent(89,2);
   ResoRow19->SetBinContent(90,5);
   ResoRow19->SetBinContent(91,4);
   ResoRow19->SetBinContent(92,3);
   ResoRow19->SetBinContent(93,3);
   ResoRow19->SetBinContent(94,2);
   ResoRow19->SetBinContent(95,3);
   ResoRow19->SetBinContent(96,4);
   ResoRow19->SetBinContent(97,2);
   ResoRow19->SetBinContent(98,4);
   ResoRow19->SetBinContent(99,3);
   ResoRow19->SetBinContent(100,1);
   ResoRow19->SetBinContent(101,61);
   ResoRow19->SetEntries(1537);
   
   TF1 *ResoRowFit19 = new TF1("ResoRowFit19","gaus",-1,1);
   ResoRowFit19->SetFillColor(19);
   ResoRowFit19->SetFillStyle(0);
   ResoRowFit19->SetLineWidth(3);
   ResoRowFit19->SetChisquare(106.2061);
   ResoRowFit19->SetNDF(96);
   ResoRowFit19->SetParameter(0,27.66145);
   ResoRowFit19->SetParError(0,1.011863);
   ResoRowFit19->SetParLimits(0,0,0);
   ResoRowFit19->SetParameter(1,-0.006146855);
   ResoRowFit19->SetParError(1,0.01104339);
   ResoRowFit19->SetParLimits(1,0,0);
   ResoRowFit19->SetParameter(2,0.3848093);
   ResoRowFit19->SetParError(2,0.01006037);
   ResoRowFit19->SetParLimits(2,0,3.805032);
   ResoRow19->GetListOfFunctions()->Add(ResoRowFit19);
   
   TPaveStats *ptstats = new TPaveStats(0.62,0.635,0.98,0.995,"brNDC");
   ptstats->SetName("stats");
   ptstats->SetBorderSize(2);
   ptstats->SetFillColor(19);
   ptstats->SetTextAlign(12);
   TText *text = ptstats->AddText("ResoRow19");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1537   ");
   text = ptstats->AddText("Mean  = -0.005941");
   text = ptstats->AddText("RMS   = 0.3805");
   text = ptstats->AddText("#chi^{2} / ndf = 106.2 / 96");
   text = ptstats->AddText("Constant = 27.66 #pm 1.01 ");
   text = ptstats->AddText("Mean     = -0.006147 #pm 0.011043 ");
   text = ptstats->AddText("Sigma    = 0.3848 #pm 0.0101 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow19->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow19->GetListOfFunctions());
   ResoRow19->GetXaxis()->SetTitle("residual / mm");
   ResoRow19->GetYaxis()->SetTitle("counts");
   ResoRow19->Draw("");
   c2_1->Modified();
   c2->cd();
  
// ------------>Primitives in pad: c2_2
   c2_2 = new TPad("c2_2", "c2_2",0.3433333,0.51,0.6566667,0.99);
   c2_2->Draw();
   c2_2->cd();
   c2_2->Range(-1.25,-5.38125,1.25,48.43125);
   c2_2->SetFillColor(0);
   c2_2->SetBorderSize(2);
   
   TH1F *ResoRow20 = new TH1F("ResoRow20","",100,-1,1);
   ResoRow20->SetBinContent(0,51);
   ResoRow20->SetBinContent(1,4);
   ResoRow20->SetBinContent(2,2);
   ResoRow20->SetBinContent(3,5);
   ResoRow20->SetBinContent(4,4);
   ResoRow20->SetBinContent(5,3);
   ResoRow20->SetBinContent(6,1);
   ResoRow20->SetBinContent(7,4);
   ResoRow20->SetBinContent(8,4);
   ResoRow20->SetBinContent(9,4);
   ResoRow20->SetBinContent(10,2);
   ResoRow20->SetBinContent(11,6);
   ResoRow20->SetBinContent(12,8);
   ResoRow20->SetBinContent(13,6);
   ResoRow20->SetBinContent(14,8);
   ResoRow20->SetBinContent(15,7);
   ResoRow20->SetBinContent(16,3);
   ResoRow20->SetBinContent(17,6);
   ResoRow20->SetBinContent(18,7);
   ResoRow20->SetBinContent(19,9);
   ResoRow20->SetBinContent(20,9);
   ResoRow20->SetBinContent(21,11);
   ResoRow20->SetBinContent(22,10);
   ResoRow20->SetBinContent(23,9);
   ResoRow20->SetBinContent(24,12);
   ResoRow20->SetBinContent(25,7);
   ResoRow20->SetBinContent(26,12);
   ResoRow20->SetBinContent(27,13);
   ResoRow20->SetBinContent(28,16);
   ResoRow20->SetBinContent(29,17);
   ResoRow20->SetBinContent(30,12);
   ResoRow20->SetBinContent(31,24);
   ResoRow20->SetBinContent(32,18);
   ResoRow20->SetBinContent(33,19);
   ResoRow20->SetBinContent(34,15);
   ResoRow20->SetBinContent(35,15);
   ResoRow20->SetBinContent(36,31);
   ResoRow20->SetBinContent(37,21);
   ResoRow20->SetBinContent(38,18);
   ResoRow20->SetBinContent(39,22);
   ResoRow20->SetBinContent(40,28);
   ResoRow20->SetBinContent(41,31);
   ResoRow20->SetBinContent(42,19);
   ResoRow20->SetBinContent(43,37);
   ResoRow20->SetBinContent(44,28);
   ResoRow20->SetBinContent(45,22);
   ResoRow20->SetBinContent(46,24);
   ResoRow20->SetBinContent(47,31);
   ResoRow20->SetBinContent(48,25);
   ResoRow20->SetBinContent(49,31);
   ResoRow20->SetBinContent(50,32);
   ResoRow20->SetBinContent(51,41);
   ResoRow20->SetBinContent(52,31);
   ResoRow20->SetBinContent(53,28);
   ResoRow20->SetBinContent(54,24);
   ResoRow20->SetBinContent(55,27);
   ResoRow20->SetBinContent(56,31);
   ResoRow20->SetBinContent(57,25);
   ResoRow20->SetBinContent(58,25);
   ResoRow20->SetBinContent(59,35);
   ResoRow20->SetBinContent(60,22);
   ResoRow20->SetBinContent(61,26);
   ResoRow20->SetBinContent(62,18);
   ResoRow20->SetBinContent(63,18);
   ResoRow20->SetBinContent(64,20);
   ResoRow20->SetBinContent(65,19);
   ResoRow20->SetBinContent(66,11);
   ResoRow20->SetBinContent(67,25);
   ResoRow20->SetBinContent(68,18);
   ResoRow20->SetBinContent(69,22);
   ResoRow20->SetBinContent(70,20);
   ResoRow20->SetBinContent(71,18);
   ResoRow20->SetBinContent(72,15);
   ResoRow20->SetBinContent(73,16);
   ResoRow20->SetBinContent(74,11);
   ResoRow20->SetBinContent(75,18);
   ResoRow20->SetBinContent(76,7);
   ResoRow20->SetBinContent(77,12);
   ResoRow20->SetBinContent(78,7);
   ResoRow20->SetBinContent(79,11);
   ResoRow20->SetBinContent(80,9);
   ResoRow20->SetBinContent(81,13);
   ResoRow20->SetBinContent(82,12);
   ResoRow20->SetBinContent(83,4);
   ResoRow20->SetBinContent(84,6);
   ResoRow20->SetBinContent(85,9);
   ResoRow20->SetBinContent(86,3);
   ResoRow20->SetBinContent(87,3);
   ResoRow20->SetBinContent(88,9);
   ResoRow20->SetBinContent(89,7);
   ResoRow20->SetBinContent(90,5);
   ResoRow20->SetBinContent(91,7);
   ResoRow20->SetBinContent(92,2);
   ResoRow20->SetBinContent(93,5);
   ResoRow20->SetBinContent(94,3);
   ResoRow20->SetBinContent(95,4);
   ResoRow20->SetBinContent(96,3);
   ResoRow20->SetBinContent(97,1);
   ResoRow20->SetBinContent(98,2);
   ResoRow20->SetBinContent(99,2);
   ResoRow20->SetBinContent(100,3);
   ResoRow20->SetBinContent(101,61);
   ResoRow20->SetEntries(1537);
   
   TF1 *ResoRowFit20 = new TF1("ResoRowFit20","gaus",-1,1);
   ResoRowFit20->SetFillColor(19);
   ResoRowFit20->SetFillStyle(0);
   ResoRowFit20->SetLineWidth(3);
   ResoRowFit20->SetChisquare(94.32366);
   ResoRowFit20->SetNDF(97);
   ResoRowFit20->SetParameter(0,26.94767);
   ResoRowFit20->SetParError(0,0.9726772);
   ResoRowFit20->SetParLimits(0,0,0);
   ResoRowFit20->SetParameter(1,-0.00384245);
   ResoRowFit20->SetParError(1,0.01144526);
   ResoRowFit20->SetParLimits(1,0,0);
   ResoRowFit20->SetParameter(2,0.3988475);
   ResoRowFit20->SetParError(2,0.01025842);
   ResoRowFit20->SetParLimits(2,0,3.957055);
   ResoRow20->GetListOfFunctions()->Add(ResoRowFit20);
   
   ptstats = new TPaveStats(0.62,0.635,0.98,0.995,"brNDC");
   ptstats->SetName("stats");
   ptstats->SetBorderSize(2);
   ptstats->SetFillColor(19);
   ptstats->SetTextAlign(12);
   text = ptstats->AddText("ResoRow20");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1537   ");
   text = ptstats->AddText("Mean  = -0.001752");
   text = ptstats->AddText("RMS   = 0.3955");
   text = ptstats->AddText("#chi^{2} / ndf = 94.32 / 97");
   text = ptstats->AddText("Constant = 26.95 #pm 0.97 ");
   text = ptstats->AddText("Mean     = -0.003842 #pm 0.011445 ");
   text = ptstats->AddText("Sigma    = 0.3988 #pm 0.0103 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow20->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow20->GetListOfFunctions());
   ResoRow20->GetXaxis()->SetTitle("residual / mm");
   ResoRow20->GetYaxis()->SetTitle("counts");
   ResoRow20->Draw("");
   c2_2->Modified();
   c2->cd();
  
// ------------>Primitives in pad: c2_3
   c2_3 = new TPad("c2_3", "c2_3",0.6766667,0.51,0.99,0.99);
   c2_3->Draw();
   c2_3->cd();
   c2_3->Range(-1.25,-4.85625,1.25,43.70625);
   c2_3->SetFillColor(0);
   c2_3->SetBorderSize(2);
   
   TH1F *ResoRow21 = new TH1F("ResoRow21","",100,-1,1);
   ResoRow21->SetBinContent(0,57);
   ResoRow21->SetBinContent(1,7);
   ResoRow21->SetBinContent(2,3);
   ResoRow21->SetBinContent(3,1);
   ResoRow21->SetBinContent(4,2);
   ResoRow21->SetBinContent(5,3);
   ResoRow21->SetBinContent(6,4);
   ResoRow21->SetBinContent(7,3);
   ResoRow21->SetBinContent(8,1);
   ResoRow21->SetBinContent(9,5);
   ResoRow21->SetBinContent(10,5);
   ResoRow21->SetBinContent(11,2);
   ResoRow21->SetBinContent(12,5);
   ResoRow21->SetBinContent(13,3);
   ResoRow21->SetBinContent(14,12);
   ResoRow21->SetBinContent(15,7);
   ResoRow21->SetBinContent(16,8);
   ResoRow21->SetBinContent(17,10);
   ResoRow21->SetBinContent(18,7);
   ResoRow21->SetBinContent(19,10);
   ResoRow21->SetBinContent(20,10);
   ResoRow21->SetBinContent(21,9);
   ResoRow21->SetBinContent(22,9);
   ResoRow21->SetBinContent(23,12);
   ResoRow21->SetBinContent(24,17);
   ResoRow21->SetBinContent(25,7);
   ResoRow21->SetBinContent(26,11);
   ResoRow21->SetBinContent(27,16);
   ResoRow21->SetBinContent(28,14);
   ResoRow21->SetBinContent(29,22);
   ResoRow21->SetBinContent(30,14);
   ResoRow21->SetBinContent(31,20);
   ResoRow21->SetBinContent(32,11);
   ResoRow21->SetBinContent(33,17);
   ResoRow21->SetBinContent(34,19);
   ResoRow21->SetBinContent(35,22);
   ResoRow21->SetBinContent(36,18);
   ResoRow21->SetBinContent(37,25);
   ResoRow21->SetBinContent(38,17);
   ResoRow21->SetBinContent(39,32);
   ResoRow21->SetBinContent(40,24);
   ResoRow21->SetBinContent(41,17);
   ResoRow21->SetBinContent(42,37);
   ResoRow21->SetBinContent(43,20);
   ResoRow21->SetBinContent(44,26);
   ResoRow21->SetBinContent(45,25);
   ResoRow21->SetBinContent(46,37);
   ResoRow21->SetBinContent(47,26);
   ResoRow21->SetBinContent(48,36);
   ResoRow21->SetBinContent(49,22);
   ResoRow21->SetBinContent(50,30);
   ResoRow21->SetBinContent(51,30);
   ResoRow21->SetBinContent(52,23);
   ResoRow21->SetBinContent(53,25);
   ResoRow21->SetBinContent(54,32);
   ResoRow21->SetBinContent(55,32);
   ResoRow21->SetBinContent(56,29);
   ResoRow21->SetBinContent(57,28);
   ResoRow21->SetBinContent(58,25);
   ResoRow21->SetBinContent(59,19);
   ResoRow21->SetBinContent(60,31);
   ResoRow21->SetBinContent(61,31);
   ResoRow21->SetBinContent(62,21);
   ResoRow21->SetBinContent(63,28);
   ResoRow21->SetBinContent(64,15);
   ResoRow21->SetBinContent(65,19);
   ResoRow21->SetBinContent(66,18);
   ResoRow21->SetBinContent(67,18);
   ResoRow21->SetBinContent(68,20);
   ResoRow21->SetBinContent(69,19);
   ResoRow21->SetBinContent(70,19);
   ResoRow21->SetBinContent(71,18);
   ResoRow21->SetBinContent(72,11);
   ResoRow21->SetBinContent(73,14);
   ResoRow21->SetBinContent(74,15);
   ResoRow21->SetBinContent(75,11);
   ResoRow21->SetBinContent(76,17);
   ResoRow21->SetBinContent(77,10);
   ResoRow21->SetBinContent(78,13);
   ResoRow21->SetBinContent(79,7);
   ResoRow21->SetBinContent(80,9);
   ResoRow21->SetBinContent(81,6);
   ResoRow21->SetBinContent(82,8);
   ResoRow21->SetBinContent(83,1);
   ResoRow21->SetBinContent(84,10);
   ResoRow21->SetBinContent(85,2);
   ResoRow21->SetBinContent(86,7);
   ResoRow21->SetBinContent(87,4);
   ResoRow21->SetBinContent(88,6);
   ResoRow21->SetBinContent(89,4);
   ResoRow21->SetBinContent(90,5);
   ResoRow21->SetBinContent(91,3);
   ResoRow21->SetBinContent(92,8);
   ResoRow21->SetBinContent(93,4);
   ResoRow21->SetBinContent(94,4);
   ResoRow21->SetBinContent(95,3);
   ResoRow21->SetBinContent(96,4);
   ResoRow21->SetBinContent(97,1);
   ResoRow21->SetBinContent(98,4);
   ResoRow21->SetBinContent(99,3);
   ResoRow21->SetBinContent(100,4);
   ResoRow21->SetBinContent(101,62);
   ResoRow21->SetEntries(1537);
   
   TF1 *ResoRowFit21 = new TF1("ResoRowFit21","gaus",-1,1);
   ResoRowFit21->SetFillColor(19);
   ResoRowFit21->SetFillStyle(0);
   ResoRowFit21->SetLineWidth(3);
   ResoRowFit21->SetChisquare(124.6788);
   ResoRowFit21->SetNDF(97);
   ResoRowFit21->SetParameter(0,27.22901);
   ResoRowFit21->SetParError(0,0.9882795);
   ResoRowFit21->SetParLimits(0,0,0);
   ResoRowFit21->SetParameter(1,-0.02130482);
   ResoRowFit21->SetParError(1,0.01105642);
   ResoRowFit21->SetParLimits(1,0,0);
   ResoRowFit21->SetParameter(2,0.3824298);
   ResoRowFit21->SetParError(2,0.009585169);
   ResoRowFit21->SetParLimits(2,0,3.975302);
   ResoRow21->GetListOfFunctions()->Add(ResoRowFit21);
   
   ptstats = new TPaveStats(0.62,0.635,0.98,0.995,"brNDC");
   ptstats->SetName("stats");
   ptstats->SetBorderSize(2);
   ptstats->SetFillColor(19);
   ptstats->SetTextAlign(12);
   text = ptstats->AddText("ResoRow21");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1537   ");
   text = ptstats->AddText("Mean  = -0.008277");
   text = ptstats->AddText("RMS   = 0.3977");
   text = ptstats->AddText("#chi^{2} / ndf = 124.7 / 97");
   text = ptstats->AddText("Constant = 27.23 #pm 0.99 ");
   text = ptstats->AddText("Mean     = -0.0213 #pm 0.0111 ");
   text = ptstats->AddText("Sigma    = 0.3824 #pm 0.0096 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow21->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow21->GetListOfFunctions());
   ResoRow21->GetXaxis()->SetTitle("residual / mm");
   ResoRow21->GetYaxis()->SetTitle("counts");
   ResoRow21->Draw("");
   c2_3->Modified();
   c2->cd();
  
// ------------>Primitives in pad: c2_4
   c2_4 = new TPad("c2_4", "c2_4",0.01,0.01,0.3233333,0.49);
   c2_4->Draw();
   c2_4->cd();
   c2_4->Range(-1.25,-5.5125,1.25,49.6125);
   c2_4->SetFillColor(0);
   c2_4->SetBorderSize(2);
   
   TH1F *ResoRow22 = new TH1F("ResoRow22","",100,-1,1);
   ResoRow22->SetBinContent(0,49);
   ResoRow22->SetBinContent(1,1);
   ResoRow22->SetBinContent(2,1);
   ResoRow22->SetBinContent(3,4);
   ResoRow22->SetBinContent(4,3);
   ResoRow22->SetBinContent(5,2);
   ResoRow22->SetBinContent(6,5);
   ResoRow22->SetBinContent(8,5);
   ResoRow22->SetBinContent(9,4);
   ResoRow22->SetBinContent(10,6);
   ResoRow22->SetBinContent(11,10);
   ResoRow22->SetBinContent(12,6);
   ResoRow22->SetBinContent(13,3);
   ResoRow22->SetBinContent(14,5);
   ResoRow22->SetBinContent(15,4);
   ResoRow22->SetBinContent(16,3);
   ResoRow22->SetBinContent(17,16);
   ResoRow22->SetBinContent(18,13);
   ResoRow22->SetBinContent(19,7);
   ResoRow22->SetBinContent(20,7);
   ResoRow22->SetBinContent(21,12);
   ResoRow22->SetBinContent(22,7);
   ResoRow22->SetBinContent(23,12);
   ResoRow22->SetBinContent(24,13);
   ResoRow22->SetBinContent(25,10);
   ResoRow22->SetBinContent(26,14);
   ResoRow22->SetBinContent(27,18);
   ResoRow22->SetBinContent(28,12);
   ResoRow22->SetBinContent(29,12);
   ResoRow22->SetBinContent(30,19);
   ResoRow22->SetBinContent(31,16);
   ResoRow22->SetBinContent(32,22);
   ResoRow22->SetBinContent(33,17);
   ResoRow22->SetBinContent(34,20);
   ResoRow22->SetBinContent(35,15);
   ResoRow22->SetBinContent(36,18);
   ResoRow22->SetBinContent(37,24);
   ResoRow22->SetBinContent(38,15);
   ResoRow22->SetBinContent(39,22);
   ResoRow22->SetBinContent(40,22);
   ResoRow22->SetBinContent(41,32);
   ResoRow22->SetBinContent(42,21);
   ResoRow22->SetBinContent(43,32);
   ResoRow22->SetBinContent(44,21);
   ResoRow22->SetBinContent(45,25);
   ResoRow22->SetBinContent(46,26);
   ResoRow22->SetBinContent(47,26);
   ResoRow22->SetBinContent(48,28);
   ResoRow22->SetBinContent(49,31);
   ResoRow22->SetBinContent(50,26);
   ResoRow22->SetBinContent(51,31);
   ResoRow22->SetBinContent(52,32);
   ResoRow22->SetBinContent(53,36);
   ResoRow22->SetBinContent(54,16);
   ResoRow22->SetBinContent(55,31);
   ResoRow22->SetBinContent(56,42);
   ResoRow22->SetBinContent(57,31);
   ResoRow22->SetBinContent(58,29);
   ResoRow22->SetBinContent(59,25);
   ResoRow22->SetBinContent(60,34);
   ResoRow22->SetBinContent(61,22);
   ResoRow22->SetBinContent(62,28);
   ResoRow22->SetBinContent(63,24);
   ResoRow22->SetBinContent(64,20);
   ResoRow22->SetBinContent(65,23);
   ResoRow22->SetBinContent(66,23);
   ResoRow22->SetBinContent(67,17);
   ResoRow22->SetBinContent(68,16);
   ResoRow22->SetBinContent(69,14);
   ResoRow22->SetBinContent(70,17);
   ResoRow22->SetBinContent(71,10);
   ResoRow22->SetBinContent(72,13);
   ResoRow22->SetBinContent(73,15);
   ResoRow22->SetBinContent(74,12);
   ResoRow22->SetBinContent(75,6);
   ResoRow22->SetBinContent(76,7);
   ResoRow22->SetBinContent(77,8);
   ResoRow22->SetBinContent(78,15);
   ResoRow22->SetBinContent(79,12);
   ResoRow22->SetBinContent(80,9);
   ResoRow22->SetBinContent(81,13);
   ResoRow22->SetBinContent(82,11);
   ResoRow22->SetBinContent(83,13);
   ResoRow22->SetBinContent(84,4);
   ResoRow22->SetBinContent(85,6);
   ResoRow22->SetBinContent(86,6);
   ResoRow22->SetBinContent(87,5);
   ResoRow22->SetBinContent(88,4);
   ResoRow22->SetBinContent(89,9);
   ResoRow22->SetBinContent(90,8);
   ResoRow22->SetBinContent(91,7);
   ResoRow22->SetBinContent(92,3);
   ResoRow22->SetBinContent(93,3);
   ResoRow22->SetBinContent(94,1);
   ResoRow22->SetBinContent(95,2);
   ResoRow22->SetBinContent(96,1);
   ResoRow22->SetBinContent(97,5);
   ResoRow22->SetBinContent(98,5);
   ResoRow22->SetBinContent(99,4);
   ResoRow22->SetBinContent(100,3);
   ResoRow22->SetBinContent(101,64);
   ResoRow22->SetEntries(1537);
   
   TF1 *ResoRowFit22 = new TF1("ResoRowFit22","gaus",-1,1);
   ResoRowFit22->SetFillColor(19);
   ResoRowFit22->SetFillStyle(0);
   ResoRowFit22->SetLineWidth(3);
   ResoRowFit22->SetChisquare(108.6951);
   ResoRowFit22->SetNDF(96);
   ResoRowFit22->SetParameter(0,26.64488);
   ResoRowFit22->SetParError(0,0.9682649);
   ResoRowFit22->SetParLimits(0,0,0);
   ResoRowFit22->SetParameter(1,-0.006138929);
   ResoRowFit22->SetParError(1,0.01159489);
   ResoRowFit22->SetParLimits(1,0,0);
   ResoRowFit22->SetParameter(2,0.3995654);
   ResoRowFit22->SetParError(2,0.01045655);
   ResoRowFit22->SetParLimits(2,0,3.985809);
   ResoRow22->GetListOfFunctions()->Add(ResoRowFit22);
   
   ptstats = new TPaveStats(0.62,0.635,0.98,0.995,"brNDC");
   ptstats->SetName("stats");
   ptstats->SetBorderSize(2);
   ptstats->SetFillColor(19);
   ptstats->SetTextAlign(12);
   text = ptstats->AddText("ResoRow22");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1537   ");
   text = ptstats->AddText("Mean  = 0.002442");
   text = ptstats->AddText("RMS   = 0.3988");
   text = ptstats->AddText("#chi^{2} / ndf = 108.7 / 96");
   text = ptstats->AddText("Constant = 26.64 #pm 0.97 ");
   text = ptstats->AddText("Mean     = -0.006139 #pm 0.011595 ");
   text = ptstats->AddText("Sigma    = 0.3996 #pm 0.0105 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow22->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow22->GetListOfFunctions());
   ResoRow22->GetXaxis()->SetTitle("residual / mm");
   ResoRow22->GetYaxis()->SetTitle("counts");
   ResoRow22->Draw("");
   c2_4->Modified();
   c2->cd();
  
// ------------>Primitives in pad: c2_5
   c2_5 = new TPad("c2_5", "c2_5",0.3433333,0.01,0.6566667,0.49);
   c2_5->Draw();
   c2_5->cd();
   c2_5->Range(-1.25,-5.5125,1.25,49.6125);
   c2_5->SetFillColor(0);
   c2_5->SetBorderSize(2);
   c2_5->Modified();
   c2->cd();
  
// ------------>Primitives in pad: c2_6
   c2_6 = new TPad("c2_6", "c2_6",0.6766667,0.01,0.99,0.49);
   c2_6->Draw();
   c2_6->cd();
   c2_6->Range(-1.25,-4.9875,1.25,44.8875);
   c2_6->SetFillColor(0);
   c2_6->SetBorderSize(2);
   c2_6->Modified();
   c2->cd();
   c2->Modified();
   c2->cd();
   c2->SetSelected(c2);
}
