{
//=========Macro generated from canvas: c2/
//=========  (Tue Jun  8 09:30:05 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.775,1.25,51.975);
   c2_1->SetFillColor(0);
   c2_1->SetBorderSize(2);
   
   TH1F *ResoRow13 = new TH1F("ResoRow13","",100,-1,1);
   ResoRow13->SetBinContent(0,22);
   ResoRow13->SetBinContent(1,7);
   ResoRow13->SetBinContent(2,2);
   ResoRow13->SetBinContent(3,1);
   ResoRow13->SetBinContent(4,1);
   ResoRow13->SetBinContent(5,1);
   ResoRow13->SetBinContent(6,3);
   ResoRow13->SetBinContent(7,3);
   ResoRow13->SetBinContent(8,2);
   ResoRow13->SetBinContent(9,2);
   ResoRow13->SetBinContent(10,4);
   ResoRow13->SetBinContent(12,1);
   ResoRow13->SetBinContent(13,2);
   ResoRow13->SetBinContent(14,9);
   ResoRow13->SetBinContent(15,2);
   ResoRow13->SetBinContent(16,3);
   ResoRow13->SetBinContent(17,4);
   ResoRow13->SetBinContent(18,11);
   ResoRow13->SetBinContent(19,11);
   ResoRow13->SetBinContent(20,14);
   ResoRow13->SetBinContent(21,7);
   ResoRow13->SetBinContent(22,10);
   ResoRow13->SetBinContent(23,4);
   ResoRow13->SetBinContent(24,9);
   ResoRow13->SetBinContent(25,10);
   ResoRow13->SetBinContent(26,12);
   ResoRow13->SetBinContent(27,22);
   ResoRow13->SetBinContent(28,14);
   ResoRow13->SetBinContent(29,15);
   ResoRow13->SetBinContent(30,21);
   ResoRow13->SetBinContent(31,20);
   ResoRow13->SetBinContent(32,19);
   ResoRow13->SetBinContent(33,23);
   ResoRow13->SetBinContent(34,17);
   ResoRow13->SetBinContent(35,19);
   ResoRow13->SetBinContent(36,22);
   ResoRow13->SetBinContent(37,29);
   ResoRow13->SetBinContent(38,35);
   ResoRow13->SetBinContent(39,25);
   ResoRow13->SetBinContent(40,34);
   ResoRow13->SetBinContent(41,29);
   ResoRow13->SetBinContent(42,29);
   ResoRow13->SetBinContent(43,34);
   ResoRow13->SetBinContent(44,38);
   ResoRow13->SetBinContent(45,34);
   ResoRow13->SetBinContent(46,25);
   ResoRow13->SetBinContent(47,32);
   ResoRow13->SetBinContent(48,28);
   ResoRow13->SetBinContent(49,42);
   ResoRow13->SetBinContent(50,44);
   ResoRow13->SetBinContent(51,39);
   ResoRow13->SetBinContent(52,40);
   ResoRow13->SetBinContent(53,40);
   ResoRow13->SetBinContent(54,42);
   ResoRow13->SetBinContent(55,34);
   ResoRow13->SetBinContent(56,26);
   ResoRow13->SetBinContent(57,26);
   ResoRow13->SetBinContent(58,21);
   ResoRow13->SetBinContent(59,23);
   ResoRow13->SetBinContent(60,39);
   ResoRow13->SetBinContent(61,31);
   ResoRow13->SetBinContent(62,21);
   ResoRow13->SetBinContent(63,27);
   ResoRow13->SetBinContent(64,17);
   ResoRow13->SetBinContent(65,25);
   ResoRow13->SetBinContent(66,22);
   ResoRow13->SetBinContent(67,14);
   ResoRow13->SetBinContent(68,21);
   ResoRow13->SetBinContent(69,20);
   ResoRow13->SetBinContent(70,15);
   ResoRow13->SetBinContent(71,12);
   ResoRow13->SetBinContent(72,19);
   ResoRow13->SetBinContent(73,18);
   ResoRow13->SetBinContent(74,12);
   ResoRow13->SetBinContent(75,11);
   ResoRow13->SetBinContent(76,15);
   ResoRow13->SetBinContent(77,7);
   ResoRow13->SetBinContent(78,10);
   ResoRow13->SetBinContent(79,14);
   ResoRow13->SetBinContent(80,14);
   ResoRow13->SetBinContent(81,7);
   ResoRow13->SetBinContent(82,7);
   ResoRow13->SetBinContent(83,3);
   ResoRow13->SetBinContent(84,5);
   ResoRow13->SetBinContent(85,2);
   ResoRow13->SetBinContent(86,6);
   ResoRow13->SetBinContent(87,3);
   ResoRow13->SetBinContent(88,4);
   ResoRow13->SetBinContent(89,4);
   ResoRow13->SetBinContent(90,2);
   ResoRow13->SetBinContent(91,5);
   ResoRow13->SetBinContent(92,3);
   ResoRow13->SetBinContent(93,2);
   ResoRow13->SetBinContent(94,4);
   ResoRow13->SetBinContent(95,2);
   ResoRow13->SetBinContent(96,3);
   ResoRow13->SetBinContent(97,1);
   ResoRow13->SetBinContent(98,4);
   ResoRow13->SetBinContent(99,2);
   ResoRow13->SetBinContent(100,2);
   ResoRow13->SetBinContent(101,42);
   ResoRow13->SetEntries(1595);
   
   TF1 *ResoRowFit13 = new TF1("ResoRowFit13","gaus",-1,1);
   ResoRowFit13->SetFillColor(19);
   ResoRowFit13->SetFillStyle(0);
   ResoRowFit13->SetLineWidth(3);
   ResoRowFit13->SetChisquare(110.0603);
   ResoRowFit13->SetNDF(96);
   ResoRowFit13->SetParameter(0,33.17786);
   ResoRowFit13->SetParError(0,1.141168);
   ResoRowFit13->SetParLimits(0,0,0);
   ResoRowFit13->SetParameter(1,-0.004764749);
   ResoRowFit13->SetParError(1,0.009375889);
   ResoRowFit13->SetParLimits(1,0,0);
   ResoRowFit13->SetParameter(2,0.3435408);
   ResoRowFit13->SetParError(2,0.007834086);
   ResoRowFit13->SetParLimits(2,0,3.600769);
   ResoRow13->GetListOfFunctions()->Add(ResoRowFit13);
   
   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("ResoRow13");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1595   ");
   text = ptstats->AddText("Mean  = -0.006915");
   text = ptstats->AddText("RMS   = 0.3599");
   text = ptstats->AddText("#chi^{2} / ndf = 110.1 / 96");
   text = ptstats->AddText("Constant = 33.18 #pm 1.14 ");
   text = ptstats->AddText("Mean     = -0.004765 #pm 0.009376 ");
   text = ptstats->AddText("Sigma    = 0.3435 #pm 0.0078 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow13->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow13->GetListOfFunctions());
   ResoRow13->GetXaxis()->SetTitle("residual / mm");
   ResoRow13->GetYaxis()->SetTitle("counts");
   ResoRow13->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 *ResoRow14 = new TH1F("ResoRow14","",100,-1,1);
   ResoRow14->SetBinContent(0,34);
   ResoRow14->SetBinContent(1,3);
   ResoRow14->SetBinContent(2,2);
   ResoRow14->SetBinContent(3,5);
   ResoRow14->SetBinContent(4,1);
   ResoRow14->SetBinContent(5,5);
   ResoRow14->SetBinContent(6,2);
   ResoRow14->SetBinContent(7,2);
   ResoRow14->SetBinContent(8,3);
   ResoRow14->SetBinContent(9,5);
   ResoRow14->SetBinContent(10,4);
   ResoRow14->SetBinContent(11,3);
   ResoRow14->SetBinContent(12,7);
   ResoRow14->SetBinContent(13,5);
   ResoRow14->SetBinContent(14,3);
   ResoRow14->SetBinContent(15,5);
   ResoRow14->SetBinContent(16,6);
   ResoRow14->SetBinContent(17,5);
   ResoRow14->SetBinContent(18,5);
   ResoRow14->SetBinContent(19,13);
   ResoRow14->SetBinContent(20,10);
   ResoRow14->SetBinContent(21,7);
   ResoRow14->SetBinContent(22,9);
   ResoRow14->SetBinContent(23,13);
   ResoRow14->SetBinContent(24,15);
   ResoRow14->SetBinContent(25,11);
   ResoRow14->SetBinContent(26,9);
   ResoRow14->SetBinContent(27,10);
   ResoRow14->SetBinContent(28,12);
   ResoRow14->SetBinContent(29,15);
   ResoRow14->SetBinContent(30,17);
   ResoRow14->SetBinContent(31,12);
   ResoRow14->SetBinContent(32,16);
   ResoRow14->SetBinContent(33,15);
   ResoRow14->SetBinContent(34,23);
   ResoRow14->SetBinContent(35,22);
   ResoRow14->SetBinContent(36,18);
   ResoRow14->SetBinContent(37,24);
   ResoRow14->SetBinContent(38,22);
   ResoRow14->SetBinContent(39,40);
   ResoRow14->SetBinContent(40,25);
   ResoRow14->SetBinContent(41,33);
   ResoRow14->SetBinContent(42,24);
   ResoRow14->SetBinContent(43,31);
   ResoRow14->SetBinContent(44,36);
   ResoRow14->SetBinContent(45,36);
   ResoRow14->SetBinContent(46,43);
   ResoRow14->SetBinContent(47,18);
   ResoRow14->SetBinContent(48,39);
   ResoRow14->SetBinContent(49,29);
   ResoRow14->SetBinContent(50,26);
   ResoRow14->SetBinContent(51,18);
   ResoRow14->SetBinContent(52,40);
   ResoRow14->SetBinContent(53,40);
   ResoRow14->SetBinContent(54,39);
   ResoRow14->SetBinContent(55,39);
   ResoRow14->SetBinContent(56,31);
   ResoRow14->SetBinContent(57,33);
   ResoRow14->SetBinContent(58,27);
   ResoRow14->SetBinContent(59,35);
   ResoRow14->SetBinContent(60,34);
   ResoRow14->SetBinContent(61,35);
   ResoRow14->SetBinContent(62,22);
   ResoRow14->SetBinContent(63,25);
   ResoRow14->SetBinContent(64,25);
   ResoRow14->SetBinContent(65,23);
   ResoRow14->SetBinContent(66,20);
   ResoRow14->SetBinContent(67,19);
   ResoRow14->SetBinContent(68,19);
   ResoRow14->SetBinContent(69,22);
   ResoRow14->SetBinContent(70,15);
   ResoRow14->SetBinContent(71,21);
   ResoRow14->SetBinContent(72,19);
   ResoRow14->SetBinContent(73,10);
   ResoRow14->SetBinContent(74,12);
   ResoRow14->SetBinContent(75,14);
   ResoRow14->SetBinContent(76,12);
   ResoRow14->SetBinContent(77,11);
   ResoRow14->SetBinContent(78,10);
   ResoRow14->SetBinContent(79,8);
   ResoRow14->SetBinContent(80,11);
   ResoRow14->SetBinContent(81,11);
   ResoRow14->SetBinContent(82,8);
   ResoRow14->SetBinContent(83,5);
   ResoRow14->SetBinContent(84,4);
   ResoRow14->SetBinContent(85,3);
   ResoRow14->SetBinContent(86,8);
   ResoRow14->SetBinContent(87,2);
   ResoRow14->SetBinContent(88,10);
   ResoRow14->SetBinContent(89,3);
   ResoRow14->SetBinContent(90,3);
   ResoRow14->SetBinContent(91,3);
   ResoRow14->SetBinContent(92,1);
   ResoRow14->SetBinContent(93,5);
   ResoRow14->SetBinContent(94,1);
   ResoRow14->SetBinContent(95,1);
   ResoRow14->SetBinContent(96,4);
   ResoRow14->SetBinContent(98,2);
   ResoRow14->SetBinContent(99,5);
   ResoRow14->SetBinContent(100,5);
   ResoRow14->SetBinContent(101,44);
   ResoRow14->SetEntries(1595);
   
   TF1 *ResoRowFit14 = new TF1("ResoRowFit14","gaus",-1,1);
   ResoRowFit14->SetFillColor(19);
   ResoRowFit14->SetFillStyle(0);
   ResoRowFit14->SetLineWidth(3);
   ResoRowFit14->SetChisquare(108.5132);
   ResoRowFit14->SetNDF(96);
   ResoRowFit14->SetParameter(0,31.04357);
   ResoRowFit14->SetParError(0,1.078211);
   ResoRowFit14->SetParLimits(0,0,0);
   ResoRowFit14->SetParameter(1,6.700456e-05);
   ResoRowFit14->SetParError(1,0.01009651);
   ResoRowFit14->SetParLimits(1,0,0);
   ResoRowFit14->SetParameter(2,0.3645345);
   ResoRowFit14->SetParError(2,0.008595485);
   ResoRowFit14->SetParLimits(2,0,3.723856);
   ResoRow14->GetListOfFunctions()->Add(ResoRowFit14);
   
   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("ResoRow14");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1595   ");
   text = ptstats->AddText("Mean  = 0.001758");
   text = ptstats->AddText("RMS   = 0.3724");
   text = ptstats->AddText("#chi^{2} / ndf = 108.5 / 96");
   text = ptstats->AddText("Constant = 31.04 #pm 1.08 ");
   text = ptstats->AddText("Mean     = 6.7e-05 #pm 1.0e-02 ");
   text = ptstats->AddText("Sigma    = 0.3645 #pm 0.0086 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow14->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow14->GetListOfFunctions());
   ResoRow14->GetXaxis()->SetTitle("residual / mm");
   ResoRow14->GetYaxis()->SetTitle("counts");
   ResoRow14->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,-6.43125,1.25,57.88125);
   c2_3->SetFillColor(0);
   c2_3->SetBorderSize(2);
   
   TH1F *ResoRow15 = new TH1F("ResoRow15","",100,-1,1);
   ResoRow15->SetBinContent(0,34);
   ResoRow15->SetBinContent(1,3);
   ResoRow15->SetBinContent(2,3);
   ResoRow15->SetBinContent(3,1);
   ResoRow15->SetBinContent(4,1);
   ResoRow15->SetBinContent(5,1);
   ResoRow15->SetBinContent(6,3);
   ResoRow15->SetBinContent(7,3);
   ResoRow15->SetBinContent(8,1);
   ResoRow15->SetBinContent(9,5);
   ResoRow15->SetBinContent(10,1);
   ResoRow15->SetBinContent(11,2);
   ResoRow15->SetBinContent(12,3);
   ResoRow15->SetBinContent(13,7);
   ResoRow15->SetBinContent(14,6);
   ResoRow15->SetBinContent(15,3);
   ResoRow15->SetBinContent(16,6);
   ResoRow15->SetBinContent(17,5);
   ResoRow15->SetBinContent(18,3);
   ResoRow15->SetBinContent(19,14);
   ResoRow15->SetBinContent(20,7);
   ResoRow15->SetBinContent(21,6);
   ResoRow15->SetBinContent(22,5);
   ResoRow15->SetBinContent(23,21);
   ResoRow15->SetBinContent(24,11);
   ResoRow15->SetBinContent(25,9);
   ResoRow15->SetBinContent(26,15);
   ResoRow15->SetBinContent(27,12);
   ResoRow15->SetBinContent(28,14);
   ResoRow15->SetBinContent(29,20);
   ResoRow15->SetBinContent(30,11);
   ResoRow15->SetBinContent(31,11);
   ResoRow15->SetBinContent(32,19);
   ResoRow15->SetBinContent(33,11);
   ResoRow15->SetBinContent(34,21);
   ResoRow15->SetBinContent(35,18);
   ResoRow15->SetBinContent(36,28);
   ResoRow15->SetBinContent(37,25);
   ResoRow15->SetBinContent(38,32);
   ResoRow15->SetBinContent(39,21);
   ResoRow15->SetBinContent(40,28);
   ResoRow15->SetBinContent(41,29);
   ResoRow15->SetBinContent(42,30);
   ResoRow15->SetBinContent(43,33);
   ResoRow15->SetBinContent(44,38);
   ResoRow15->SetBinContent(45,34);
   ResoRow15->SetBinContent(46,41);
   ResoRow15->SetBinContent(47,39);
   ResoRow15->SetBinContent(48,39);
   ResoRow15->SetBinContent(49,49);
   ResoRow15->SetBinContent(50,26);
   ResoRow15->SetBinContent(51,31);
   ResoRow15->SetBinContent(52,34);
   ResoRow15->SetBinContent(53,39);
   ResoRow15->SetBinContent(54,28);
   ResoRow15->SetBinContent(55,36);
   ResoRow15->SetBinContent(56,23);
   ResoRow15->SetBinContent(57,30);
   ResoRow15->SetBinContent(58,29);
   ResoRow15->SetBinContent(59,33);
   ResoRow15->SetBinContent(60,32);
   ResoRow15->SetBinContent(61,31);
   ResoRow15->SetBinContent(62,29);
   ResoRow15->SetBinContent(63,31);
   ResoRow15->SetBinContent(64,22);
   ResoRow15->SetBinContent(65,26);
   ResoRow15->SetBinContent(66,22);
   ResoRow15->SetBinContent(67,14);
   ResoRow15->SetBinContent(68,23);
   ResoRow15->SetBinContent(69,27);
   ResoRow15->SetBinContent(70,8);
   ResoRow15->SetBinContent(71,10);
   ResoRow15->SetBinContent(72,16);
   ResoRow15->SetBinContent(73,8);
   ResoRow15->SetBinContent(74,12);
   ResoRow15->SetBinContent(75,11);
   ResoRow15->SetBinContent(76,10);
   ResoRow15->SetBinContent(77,13);
   ResoRow15->SetBinContent(78,12);
   ResoRow15->SetBinContent(79,11);
   ResoRow15->SetBinContent(80,9);
   ResoRow15->SetBinContent(81,9);
   ResoRow15->SetBinContent(82,4);
   ResoRow15->SetBinContent(83,8);
   ResoRow15->SetBinContent(84,8);
   ResoRow15->SetBinContent(85,6);
   ResoRow15->SetBinContent(86,7);
   ResoRow15->SetBinContent(87,2);
   ResoRow15->SetBinContent(88,7);
   ResoRow15->SetBinContent(89,3);
   ResoRow15->SetBinContent(90,1);
   ResoRow15->SetBinContent(91,1);
   ResoRow15->SetBinContent(92,4);
   ResoRow15->SetBinContent(93,3);
   ResoRow15->SetBinContent(94,6);
   ResoRow15->SetBinContent(95,4);
   ResoRow15->SetBinContent(96,2);
   ResoRow15->SetBinContent(97,3);
   ResoRow15->SetBinContent(98,1);
   ResoRow15->SetBinContent(99,1);
   ResoRow15->SetBinContent(100,4);
   ResoRow15->SetBinContent(101,43);
   ResoRow15->SetEntries(1595);
   
   TF1 *ResoRowFit15 = new TF1("ResoRowFit15","gaus",-1,1);
   ResoRowFit15->SetFillColor(19);
   ResoRowFit15->SetFillStyle(0);
   ResoRowFit15->SetLineWidth(3);
   ResoRowFit15->SetChisquare(123.5753);
   ResoRowFit15->SetNDF(97);
   ResoRowFit15->SetParameter(0,32.65961);
   ResoRowFit15->SetParError(0,1.154106);
   ResoRowFit15->SetParLimits(0,0,0);
   ResoRowFit15->SetParameter(1,-0.0008150122);
   ResoRowFit15->SetParError(1,0.009315638);
   ResoRowFit15->SetParLimits(1,0,0);
   ResoRowFit15->SetParameter(2,0.3418368);
   ResoRowFit15->SetParError(2,0.008142398);
   ResoRowFit15->SetParLimits(2,0,3.611079);
   ResoRow15->GetListOfFunctions()->Add(ResoRowFit15);
   
   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("ResoRow15");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1595   ");
   text = ptstats->AddText("Mean  = 0.001864");
   text = ptstats->AddText("RMS   = 0.3612");
   text = ptstats->AddText("#chi^{2} / ndf = 123.6 / 97");
   text = ptstats->AddText("Constant = 32.66 #pm 1.15 ");
   text = ptstats->AddText("Mean     = -0.000815 #pm 0.009316 ");
   text = ptstats->AddText("Sigma    = 0.3418 #pm 0.0081 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow15->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow15->GetListOfFunctions());
   ResoRow15->GetXaxis()->SetTitle("residual / mm");
   ResoRow15->GetYaxis()->SetTitle("counts");
   ResoRow15->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.90625,1.25,53.15625);
   c2_4->SetFillColor(0);
   c2_4->SetBorderSize(2);
   
   TH1F *ResoRow16 = new TH1F("ResoRow16","",100,-1,1);
   ResoRow16->SetBinContent(0,33);
   ResoRow16->SetBinContent(1,1);
   ResoRow16->SetBinContent(2,4);
   ResoRow16->SetBinContent(3,3);
   ResoRow16->SetBinContent(4,1);
   ResoRow16->SetBinContent(5,2);
   ResoRow16->SetBinContent(6,4);
   ResoRow16->SetBinContent(7,3);
   ResoRow16->SetBinContent(8,4);
   ResoRow16->SetBinContent(9,2);
   ResoRow16->SetBinContent(10,3);
   ResoRow16->SetBinContent(11,3);
   ResoRow16->SetBinContent(12,1);
   ResoRow16->SetBinContent(13,2);
   ResoRow16->SetBinContent(14,3);
   ResoRow16->SetBinContent(15,4);
   ResoRow16->SetBinContent(16,8);
   ResoRow16->SetBinContent(17,2);
   ResoRow16->SetBinContent(18,9);
   ResoRow16->SetBinContent(19,8);
   ResoRow16->SetBinContent(20,10);
   ResoRow16->SetBinContent(21,3);
   ResoRow16->SetBinContent(22,8);
   ResoRow16->SetBinContent(23,8);
   ResoRow16->SetBinContent(24,8);
   ResoRow16->SetBinContent(25,7);
   ResoRow16->SetBinContent(26,14);
   ResoRow16->SetBinContent(27,18);
   ResoRow16->SetBinContent(28,15);
   ResoRow16->SetBinContent(29,18);
   ResoRow16->SetBinContent(30,13);
   ResoRow16->SetBinContent(31,15);
   ResoRow16->SetBinContent(32,17);
   ResoRow16->SetBinContent(33,18);
   ResoRow16->SetBinContent(34,27);
   ResoRow16->SetBinContent(35,30);
   ResoRow16->SetBinContent(36,22);
   ResoRow16->SetBinContent(37,34);
   ResoRow16->SetBinContent(38,31);
   ResoRow16->SetBinContent(39,27);
   ResoRow16->SetBinContent(40,23);
   ResoRow16->SetBinContent(41,34);
   ResoRow16->SetBinContent(42,24);
   ResoRow16->SetBinContent(43,29);
   ResoRow16->SetBinContent(44,29);
   ResoRow16->SetBinContent(45,31);
   ResoRow16->SetBinContent(46,34);
   ResoRow16->SetBinContent(47,43);
   ResoRow16->SetBinContent(48,33);
   ResoRow16->SetBinContent(49,41);
   ResoRow16->SetBinContent(50,40);
   ResoRow16->SetBinContent(51,33);
   ResoRow16->SetBinContent(52,42);
   ResoRow16->SetBinContent(53,35);
   ResoRow16->SetBinContent(54,27);
   ResoRow16->SetBinContent(55,45);
   ResoRow16->SetBinContent(56,26);
   ResoRow16->SetBinContent(57,35);
   ResoRow16->SetBinContent(58,24);
   ResoRow16->SetBinContent(59,29);
   ResoRow16->SetBinContent(60,33);
   ResoRow16->SetBinContent(61,21);
   ResoRow16->SetBinContent(62,28);
   ResoRow16->SetBinContent(63,22);
   ResoRow16->SetBinContent(64,32);
   ResoRow16->SetBinContent(65,29);
   ResoRow16->SetBinContent(66,21);
   ResoRow16->SetBinContent(67,14);
   ResoRow16->SetBinContent(68,22);
   ResoRow16->SetBinContent(69,19);
   ResoRow16->SetBinContent(70,21);
   ResoRow16->SetBinContent(71,17);
   ResoRow16->SetBinContent(72,11);
   ResoRow16->SetBinContent(73,18);
   ResoRow16->SetBinContent(74,12);
   ResoRow16->SetBinContent(75,8);
   ResoRow16->SetBinContent(76,12);
   ResoRow16->SetBinContent(77,15);
   ResoRow16->SetBinContent(78,6);
   ResoRow16->SetBinContent(79,7);
   ResoRow16->SetBinContent(80,7);
   ResoRow16->SetBinContent(81,11);
   ResoRow16->SetBinContent(82,3);
   ResoRow16->SetBinContent(83,5);
   ResoRow16->SetBinContent(84,6);
   ResoRow16->SetBinContent(85,3);
   ResoRow16->SetBinContent(86,4);
   ResoRow16->SetBinContent(87,7);
   ResoRow16->SetBinContent(88,5);
   ResoRow16->SetBinContent(89,2);
   ResoRow16->SetBinContent(90,6);
   ResoRow16->SetBinContent(91,6);
   ResoRow16->SetBinContent(92,3);
   ResoRow16->SetBinContent(93,1);
   ResoRow16->SetBinContent(94,2);
   ResoRow16->SetBinContent(95,3);
   ResoRow16->SetBinContent(96,5);
   ResoRow16->SetBinContent(98,4);
   ResoRow16->SetBinContent(99,2);
   ResoRow16->SetBinContent(100,2);
   ResoRow16->SetBinContent(101,40);
   ResoRow16->SetEntries(1595);
   
   TF1 *ResoRowFit16 = new TF1("ResoRowFit16","gaus",-1,1);
   ResoRowFit16->SetFillColor(19);
   ResoRowFit16->SetFillStyle(0);
   ResoRowFit16->SetLineWidth(3);
   ResoRowFit16->SetChisquare(103.7486);
   ResoRowFit16->SetNDF(96);
   ResoRowFit16->SetParameter(0,33.68482);
   ResoRowFit16->SetParError(0,1.172696);
   ResoRowFit16->SetParLimits(0,0,0);
   ResoRowFit16->SetParameter(1,0.001178591);
   ResoRowFit16->SetParError(1,0.009147288);
   ResoRowFit16->SetParLimits(1,0,0);
   ResoRowFit16->SetParameter(2,0.3371324);
   ResoRowFit16->SetParError(2,0.007845369);
   ResoRowFit16->SetParLimits(2,0,3.575215);
   ResoRow16->GetListOfFunctions()->Add(ResoRowFit16);
   
   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("ResoRow16");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1595   ");
   text = ptstats->AddText("Mean  = 0.0004803");
   text = ptstats->AddText("RMS   = 0.3573");
   text = ptstats->AddText("#chi^{2} / ndf = 103.7 / 96");
   text = ptstats->AddText("Constant = 33.68 #pm 1.17 ");
   text = ptstats->AddText("Mean     = 0.001179 #pm 0.009147 ");
   text = ptstats->AddText("Sigma    = 0.3371 #pm 0.0078 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow16->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow16->GetListOfFunctions());
   ResoRow16->GetXaxis()->SetTitle("residual / mm");
   ResoRow16->GetYaxis()->SetTitle("counts");
   ResoRow16->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.38125,1.25,48.43125);
   c2_5->SetFillColor(0);
   c2_5->SetBorderSize(2);
   
   TH1F *ResoRow17 = new TH1F("ResoRow17","",100,-1,1);
   ResoRow17->SetBinContent(0,30);
   ResoRow17->SetBinContent(1,1);
   ResoRow17->SetBinContent(2,2);
   ResoRow17->SetBinContent(3,4);
   ResoRow17->SetBinContent(4,2);
   ResoRow17->SetBinContent(5,2);
   ResoRow17->SetBinContent(6,4);
   ResoRow17->SetBinContent(8,6);
   ResoRow17->SetBinContent(9,2);
   ResoRow17->SetBinContent(11,6);
   ResoRow17->SetBinContent(12,3);
   ResoRow17->SetBinContent(13,3);
   ResoRow17->SetBinContent(14,6);
   ResoRow17->SetBinContent(15,5);
   ResoRow17->SetBinContent(16,7);
   ResoRow17->SetBinContent(17,5);
   ResoRow17->SetBinContent(18,8);
   ResoRow17->SetBinContent(19,8);
   ResoRow17->SetBinContent(20,10);
   ResoRow17->SetBinContent(21,11);
   ResoRow17->SetBinContent(22,11);
   ResoRow17->SetBinContent(23,17);
   ResoRow17->SetBinContent(24,6);
   ResoRow17->SetBinContent(25,9);
   ResoRow17->SetBinContent(26,6);
   ResoRow17->SetBinContent(27,14);
   ResoRow17->SetBinContent(28,18);
   ResoRow17->SetBinContent(29,11);
   ResoRow17->SetBinContent(30,28);
   ResoRow17->SetBinContent(31,19);
   ResoRow17->SetBinContent(32,16);
   ResoRow17->SetBinContent(33,13);
   ResoRow17->SetBinContent(34,25);
   ResoRow17->SetBinContent(35,29);
   ResoRow17->SetBinContent(36,24);
   ResoRow17->SetBinContent(37,31);
   ResoRow17->SetBinContent(38,23);
   ResoRow17->SetBinContent(39,20);
   ResoRow17->SetBinContent(40,28);
   ResoRow17->SetBinContent(41,24);
   ResoRow17->SetBinContent(42,32);
   ResoRow17->SetBinContent(43,31);
   ResoRow17->SetBinContent(44,32);
   ResoRow17->SetBinContent(45,41);
   ResoRow17->SetBinContent(46,33);
   ResoRow17->SetBinContent(47,25);
   ResoRow17->SetBinContent(48,28);
   ResoRow17->SetBinContent(49,32);
   ResoRow17->SetBinContent(50,38);
   ResoRow17->SetBinContent(51,33);
   ResoRow17->SetBinContent(52,28);
   ResoRow17->SetBinContent(53,36);
   ResoRow17->SetBinContent(54,40);
   ResoRow17->SetBinContent(55,39);
   ResoRow17->SetBinContent(56,24);
   ResoRow17->SetBinContent(57,23);
   ResoRow17->SetBinContent(58,26);
   ResoRow17->SetBinContent(59,30);
   ResoRow17->SetBinContent(60,33);
   ResoRow17->SetBinContent(61,26);
   ResoRow17->SetBinContent(62,24);
   ResoRow17->SetBinContent(63,37);
   ResoRow17->SetBinContent(64,18);
   ResoRow17->SetBinContent(65,32);
   ResoRow17->SetBinContent(66,26);
   ResoRow17->SetBinContent(67,16);
   ResoRow17->SetBinContent(68,27);
   ResoRow17->SetBinContent(69,18);
   ResoRow17->SetBinContent(70,16);
   ResoRow17->SetBinContent(71,18);
   ResoRow17->SetBinContent(72,19);
   ResoRow17->SetBinContent(73,14);
   ResoRow17->SetBinContent(74,8);
   ResoRow17->SetBinContent(75,8);
   ResoRow17->SetBinContent(76,13);
   ResoRow17->SetBinContent(77,8);
   ResoRow17->SetBinContent(78,10);
   ResoRow17->SetBinContent(79,5);
   ResoRow17->SetBinContent(80,9);
   ResoRow17->SetBinContent(81,12);
   ResoRow17->SetBinContent(82,9);
   ResoRow17->SetBinContent(83,6);
   ResoRow17->SetBinContent(84,9);
   ResoRow17->SetBinContent(85,7);
   ResoRow17->SetBinContent(86,3);
   ResoRow17->SetBinContent(87,1);
   ResoRow17->SetBinContent(88,7);
   ResoRow17->SetBinContent(89,7);
   ResoRow17->SetBinContent(90,1);
   ResoRow17->SetBinContent(91,6);
   ResoRow17->SetBinContent(92,2);
   ResoRow17->SetBinContent(93,3);
   ResoRow17->SetBinContent(94,4);
   ResoRow17->SetBinContent(95,4);
   ResoRow17->SetBinContent(96,5);
   ResoRow17->SetBinContent(97,4);
   ResoRow17->SetBinContent(98,2);
   ResoRow17->SetBinContent(99,1);
   ResoRow17->SetBinContent(100,3);
   ResoRow17->SetBinContent(101,46);
   ResoRow17->SetEntries(1595);
   
   TF1 *ResoRowFit17 = new TF1("ResoRowFit17","gaus",-1,1);
   ResoRowFit17->SetFillColor(19);
   ResoRowFit17->SetFillStyle(0);
   ResoRowFit17->SetLineWidth(3);
   ResoRowFit17->SetChisquare(119.0764);
   ResoRowFit17->SetNDF(95);
   ResoRowFit17->SetParameter(0,31.31697);
   ResoRowFit17->SetParError(0,1.105086);
   ResoRowFit17->SetParLimits(0,0,0);
   ResoRowFit17->SetParameter(1,-0.00925143);
   ResoRowFit17->SetParError(1,0.009993545);
   ResoRowFit17->SetParLimits(1,0,0);
   ResoRowFit17->SetParameter(2,0.3597554);
   ResoRowFit17->SetParError(2,0.008829819);
   ResoRowFit17->SetParLimits(2,0,3.722479);
   ResoRow17->GetListOfFunctions()->Add(ResoRowFit17);
   
   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("ResoRow17");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1595   ");
   text = ptstats->AddText("Mean  = 0.00189");
   text = ptstats->AddText("RMS   =  0.372");
   text = ptstats->AddText("#chi^{2} / ndf = 119.1 / 95");
   text = ptstats->AddText("Constant = 31.32 #pm 1.11 ");
   text = ptstats->AddText("Mean     = -0.009251 #pm 0.009994 ");
   text = ptstats->AddText("Sigma    = 0.3598 #pm 0.0088 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow17->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow17->GetListOfFunctions());
   ResoRow17->GetXaxis()->SetTitle("residual / mm");
   ResoRow17->GetYaxis()->SetTitle("counts");
   ResoRow17->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,-5.5125,1.25,49.6125);
   c2_6->SetFillColor(0);
   c2_6->SetBorderSize(2);
   
   TH1F *ResoRow18 = new TH1F("ResoRow18","",100,-1,1);
   ResoRow18->SetBinContent(0,36);
   ResoRow18->SetBinContent(1,2);
   ResoRow18->SetBinContent(2,2);
   ResoRow18->SetBinContent(3,2);
   ResoRow18->SetBinContent(4,2);
   ResoRow18->SetBinContent(5,2);
   ResoRow18->SetBinContent(6,1);
   ResoRow18->SetBinContent(7,5);
   ResoRow18->SetBinContent(8,4);
   ResoRow18->SetBinContent(10,4);
   ResoRow18->SetBinContent(11,1);
   ResoRow18->SetBinContent(12,2);
   ResoRow18->SetBinContent(13,2);
   ResoRow18->SetBinContent(14,4);
   ResoRow18->SetBinContent(15,6);
   ResoRow18->SetBinContent(16,8);
   ResoRow18->SetBinContent(17,5);
   ResoRow18->SetBinContent(18,11);
   ResoRow18->SetBinContent(19,15);
   ResoRow18->SetBinContent(20,11);
   ResoRow18->SetBinContent(21,7);
   ResoRow18->SetBinContent(22,8);
   ResoRow18->SetBinContent(23,6);
   ResoRow18->SetBinContent(24,9);
   ResoRow18->SetBinContent(25,13);
   ResoRow18->SetBinContent(26,9);
   ResoRow18->SetBinContent(27,12);
   ResoRow18->SetBinContent(28,14);
   ResoRow18->SetBinContent(29,18);
   ResoRow18->SetBinContent(30,16);
   ResoRow18->SetBinContent(31,15);
   ResoRow18->SetBinContent(32,17);
   ResoRow18->SetBinContent(33,23);
   ResoRow18->SetBinContent(34,22);
   ResoRow18->SetBinContent(35,25);
   ResoRow18->SetBinContent(36,25);
   ResoRow18->SetBinContent(37,31);
   ResoRow18->SetBinContent(38,26);
   ResoRow18->SetBinContent(39,20);
   ResoRow18->SetBinContent(40,26);
   ResoRow18->SetBinContent(41,24);
   ResoRow18->SetBinContent(42,22);
   ResoRow18->SetBinContent(43,33);
   ResoRow18->SetBinContent(44,37);
   ResoRow18->SetBinContent(45,32);
   ResoRow18->SetBinContent(46,38);
   ResoRow18->SetBinContent(47,34);
   ResoRow18->SetBinContent(48,37);
   ResoRow18->SetBinContent(49,34);
   ResoRow18->SetBinContent(50,42);
   ResoRow18->SetBinContent(51,42);
   ResoRow18->SetBinContent(52,39);
   ResoRow18->SetBinContent(53,28);
   ResoRow18->SetBinContent(54,36);
   ResoRow18->SetBinContent(55,37);
   ResoRow18->SetBinContent(56,31);
   ResoRow18->SetBinContent(57,40);
   ResoRow18->SetBinContent(58,27);
   ResoRow18->SetBinContent(59,25);
   ResoRow18->SetBinContent(60,31);
   ResoRow18->SetBinContent(61,28);
   ResoRow18->SetBinContent(62,24);
   ResoRow18->SetBinContent(63,23);
   ResoRow18->SetBinContent(64,17);
   ResoRow18->SetBinContent(65,36);
   ResoRow18->SetBinContent(66,14);
   ResoRow18->SetBinContent(67,18);
   ResoRow18->SetBinContent(68,24);
   ResoRow18->SetBinContent(69,23);
   ResoRow18->SetBinContent(70,18);
   ResoRow18->SetBinContent(71,6);
   ResoRow18->SetBinContent(72,19);
   ResoRow18->SetBinContent(73,13);
   ResoRow18->SetBinContent(74,11);
   ResoRow18->SetBinContent(75,12);
   ResoRow18->SetBinContent(76,14);
   ResoRow18->SetBinContent(77,7);
   ResoRow18->SetBinContent(78,9);
   ResoRow18->SetBinContent(79,12);
   ResoRow18->SetBinContent(80,11);
   ResoRow18->SetBinContent(81,8);
   ResoRow18->SetBinContent(82,5);
   ResoRow18->SetBinContent(83,1);
   ResoRow18->SetBinContent(84,7);
   ResoRow18->SetBinContent(85,7);
   ResoRow18->SetBinContent(86,4);
   ResoRow18->SetBinContent(87,7);
   ResoRow18->SetBinContent(88,4);
   ResoRow18->SetBinContent(89,3);
   ResoRow18->SetBinContent(90,3);
   ResoRow18->SetBinContent(91,3);
   ResoRow18->SetBinContent(92,5);
   ResoRow18->SetBinContent(93,4);
   ResoRow18->SetBinContent(94,2);
   ResoRow18->SetBinContent(95,1);
   ResoRow18->SetBinContent(96,2);
   ResoRow18->SetBinContent(97,2);
   ResoRow18->SetBinContent(98,3);
   ResoRow18->SetBinContent(99,3);
   ResoRow18->SetBinContent(100,1);
   ResoRow18->SetBinContent(101,45);
   ResoRow18->SetEntries(1595);
   
   TF1 *ResoRowFit18 = new TF1("ResoRowFit18","gaus",-1,1);
   ResoRowFit18->SetFillColor(19);
   ResoRowFit18->SetFillStyle(0);
   ResoRowFit18->SetLineWidth(3);
   ResoRowFit18->SetChisquare(116.3783);
   ResoRowFit18->SetNDF(96);
   ResoRowFit18->SetParameter(0,32.90222);
   ResoRowFit18->SetParError(0,1.16483);
   ResoRowFit18->SetParLimits(0,0,0);
   ResoRowFit18->SetParameter(1,-0.01695497);
   ResoRowFit18->SetParError(1,0.009287984);
   ResoRowFit18->SetParLimits(1,0,0);
   ResoRowFit18->SetParameter(2,0.3405287);
   ResoRowFit18->SetParError(2,0.008207855);
   ResoRowFit18->SetParLimits(2,0,3.594424);
   ResoRow18->GetListOfFunctions()->Add(ResoRowFit18);
   
   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("ResoRow18");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1595   ");
   text = ptstats->AddText("Mean  = -0.003383");
   text = ptstats->AddText("RMS   = 0.3592");
   text = ptstats->AddText("#chi^{2} / ndf = 116.4 / 96");
   text = ptstats->AddText("Constant =  32.9 #pm 1.2 ");
   text = ptstats->AddText("Mean     = -0.01695 #pm 0.00929 ");
   text = ptstats->AddText("Sigma    = 0.3405 #pm 0.0082 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow18->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow18->GetListOfFunctions());
   ResoRow18->GetXaxis()->SetTitle("residual / mm");
   ResoRow18->GetYaxis()->SetTitle("counts");
   ResoRow18->Draw("");
   c2_6->Modified();
   c2->cd();
   c2->Modified();
   c2->cd();
   c2->SetSelected(c2);
}
