{
//=========Macro generated from canvas: c2/
//=========  (Tue Jun  8 20:52:45 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,-10.63125,1.25,95.68125);
   c2_1->SetFillColor(0);
   c2_1->SetBorderSize(2);
   
   TH1F *ResoRow12 = new TH1F("ResoRow12","",100,-1,1);
   ResoRow12->SetBinContent(0,2);
   ResoRow12->SetBinContent(3,1);
   ResoRow12->SetBinContent(12,1);
   ResoRow12->SetBinContent(20,1);
   ResoRow12->SetBinContent(22,1);
   ResoRow12->SetBinContent(28,1);
   ResoRow12->SetBinContent(29,2);
   ResoRow12->SetBinContent(30,1);
   ResoRow12->SetBinContent(31,2);
   ResoRow12->SetBinContent(32,2);
   ResoRow12->SetBinContent(33,4);
   ResoRow12->SetBinContent(34,1);
   ResoRow12->SetBinContent(35,7);
   ResoRow12->SetBinContent(36,9);
   ResoRow12->SetBinContent(37,7);
   ResoRow12->SetBinContent(38,7);
   ResoRow12->SetBinContent(39,11);
   ResoRow12->SetBinContent(40,21);
   ResoRow12->SetBinContent(41,19);
   ResoRow12->SetBinContent(42,18);
   ResoRow12->SetBinContent(43,36);
   ResoRow12->SetBinContent(44,40);
   ResoRow12->SetBinContent(45,46);
   ResoRow12->SetBinContent(46,48);
   ResoRow12->SetBinContent(47,63);
   ResoRow12->SetBinContent(48,72);
   ResoRow12->SetBinContent(49,56);
   ResoRow12->SetBinContent(50,71);
   ResoRow12->SetBinContent(51,81);
   ResoRow12->SetBinContent(52,74);
   ResoRow12->SetBinContent(53,74);
   ResoRow12->SetBinContent(54,74);
   ResoRow12->SetBinContent(55,44);
   ResoRow12->SetBinContent(56,50);
   ResoRow12->SetBinContent(57,44);
   ResoRow12->SetBinContent(58,31);
   ResoRow12->SetBinContent(59,32);
   ResoRow12->SetBinContent(60,18);
   ResoRow12->SetBinContent(61,12);
   ResoRow12->SetBinContent(62,10);
   ResoRow12->SetBinContent(63,7);
   ResoRow12->SetBinContent(64,4);
   ResoRow12->SetBinContent(65,7);
   ResoRow12->SetBinContent(66,5);
   ResoRow12->SetBinContent(67,5);
   ResoRow12->SetBinContent(68,3);
   ResoRow12->SetBinContent(70,4);
   ResoRow12->SetBinContent(71,2);
   ResoRow12->SetBinContent(72,2);
   ResoRow12->SetBinContent(73,1);
   ResoRow12->SetBinContent(75,1);
   ResoRow12->SetBinContent(78,1);
   ResoRow12->SetBinContent(85,1);
   ResoRow12->SetBinContent(94,1);
   ResoRow12->SetBinContent(97,1);
   ResoRow12->SetEntries(1139);
   
   TF1 *ResoRowFit12 = new TF1("ResoRowFit12","gaus",-1,1);
   ResoRowFit12->SetFillColor(19);
   ResoRowFit12->SetFillStyle(0);
   ResoRowFit12->SetLineWidth(3);
   ResoRowFit12->SetChisquare(58.3399);
   ResoRowFit12->SetNDF(51);
   ResoRowFit12->SetParameter(0,70.65845);
   ResoRowFit12->SetParError(0,2.847705);
   ResoRowFit12->SetParLimits(0,0,0);
   ResoRowFit12->SetParameter(1,0.0007956037);
   ResoRowFit12->SetParError(1,0.003733595);
   ResoRowFit12->SetParLimits(1,0,0);
   ResoRowFit12->SetParameter(2,0.1219012);
   ResoRowFit12->SetParError(2,0.003241499);
   ResoRowFit12->SetParLimits(2,0,1.473966);
   ResoRow12->GetListOfFunctions()->Add(ResoRowFit12);
   
   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("ResoRow12");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1139   ");
   text = ptstats->AddText("Mean  = 0.001537");
   text = ptstats->AddText("RMS   = 0.1472");
   text = ptstats->AddText("#chi^{2} / ndf = 58.34 / 51");
   text = ptstats->AddText("Constant = 70.66 #pm 2.85 ");
   text = ptstats->AddText("Mean     = 0.0007956 #pm 0.0037336 ");
   text = ptstats->AddText("Sigma    = 0.1219 #pm 0.0032 ");
   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_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,-11.94375,1.25,107.4938);
   c2_2->SetFillColor(0);
   c2_2->SetBorderSize(2);
   
   TH1F *ResoRow13 = new TH1F("ResoRow13","",100,-1,1);
   ResoRow13->SetBinContent(0,2);
   ResoRow13->SetBinContent(2,1);
   ResoRow13->SetBinContent(11,1);
   ResoRow13->SetBinContent(12,1);
   ResoRow13->SetBinContent(20,1);
   ResoRow13->SetBinContent(21,1);
   ResoRow13->SetBinContent(22,1);
   ResoRow13->SetBinContent(23,1);
   ResoRow13->SetBinContent(27,1);
   ResoRow13->SetBinContent(28,1);
   ResoRow13->SetBinContent(30,1);
   ResoRow13->SetBinContent(32,1);
   ResoRow13->SetBinContent(33,1);
   ResoRow13->SetBinContent(34,3);
   ResoRow13->SetBinContent(35,3);
   ResoRow13->SetBinContent(36,1);
   ResoRow13->SetBinContent(37,10);
   ResoRow13->SetBinContent(38,11);
   ResoRow13->SetBinContent(39,20);
   ResoRow13->SetBinContent(40,16);
   ResoRow13->SetBinContent(41,16);
   ResoRow13->SetBinContent(42,31);
   ResoRow13->SetBinContent(43,40);
   ResoRow13->SetBinContent(44,35);
   ResoRow13->SetBinContent(45,51);
   ResoRow13->SetBinContent(46,54);
   ResoRow13->SetBinContent(47,71);
   ResoRow13->SetBinContent(48,60);
   ResoRow13->SetBinContent(49,74);
   ResoRow13->SetBinContent(50,91);
   ResoRow13->SetBinContent(51,75);
   ResoRow13->SetBinContent(52,75);
   ResoRow13->SetBinContent(53,66);
   ResoRow13->SetBinContent(54,60);
   ResoRow13->SetBinContent(55,49);
   ResoRow13->SetBinContent(56,40);
   ResoRow13->SetBinContent(57,23);
   ResoRow13->SetBinContent(58,31);
   ResoRow13->SetBinContent(59,30);
   ResoRow13->SetBinContent(60,20);
   ResoRow13->SetBinContent(61,14);
   ResoRow13->SetBinContent(62,10);
   ResoRow13->SetBinContent(63,5);
   ResoRow13->SetBinContent(64,8);
   ResoRow13->SetBinContent(65,3);
   ResoRow13->SetBinContent(66,8);
   ResoRow13->SetBinContent(67,2);
   ResoRow13->SetBinContent(68,6);
   ResoRow13->SetBinContent(69,1);
   ResoRow13->SetBinContent(70,1);
   ResoRow13->SetBinContent(72,1);
   ResoRow13->SetBinContent(73,2);
   ResoRow13->SetBinContent(76,2);
   ResoRow13->SetBinContent(80,1);
   ResoRow13->SetBinContent(82,1);
   ResoRow13->SetBinContent(86,1);
   ResoRow13->SetBinContent(87,1);
   ResoRow13->SetBinContent(97,1);
   ResoRow13->SetBinContent(101,1);
   ResoRow13->SetEntries(1139);
   
   TF1 *ResoRowFit13 = new TF1("ResoRowFit13","gaus",-1,1);
   ResoRowFit13->SetFillColor(19);
   ResoRowFit13->SetFillStyle(0);
   ResoRowFit13->SetLineWidth(3);
   ResoRowFit13->SetChisquare(68.49959);
   ResoRowFit13->SetNDF(54);
   ResoRowFit13->SetParameter(0,73.13579);
   ResoRowFit13->SetParError(0,2.873178);
   ResoRowFit13->SetParLimits(0,0,0);
   ResoRowFit13->SetParameter(1,-0.005979316);
   ResoRowFit13->SetParError(1,0.003631052);
   ResoRowFit13->SetParLimits(1,0,0);
   ResoRowFit13->SetParameter(2,0.1165252);
   ResoRowFit13->SetParError(2,0.002886355);
   ResoRowFit13->SetParLimits(2,0,1.482076);
   ResoRow13->GetListOfFunctions()->Add(ResoRowFit13);
   
   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("ResoRow13");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1139   ");
   text = ptstats->AddText("Mean  = -0.004801");
   text = ptstats->AddText("RMS   = 0.1483");
   text = ptstats->AddText("#chi^{2} / ndf =  68.5 / 54");
   text = ptstats->AddText("Constant = 73.14 #pm 2.87 ");
   text = ptstats->AddText("Mean     = -0.005979 #pm 0.003631 ");
   text = ptstats->AddText("Sigma    = 0.1165 #pm 0.0029 ");
   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_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,-11.2875,1.25,101.5875);
   c2_3->SetFillColor(0);
   c2_3->SetBorderSize(2);
   
   TH1F *ResoRow14 = new TH1F("ResoRow14","",100,-1,1);
   ResoRow14->SetBinContent(0,2);
   ResoRow14->SetBinContent(13,1);
   ResoRow14->SetBinContent(23,1);
   ResoRow14->SetBinContent(24,1);
   ResoRow14->SetBinContent(25,1);
   ResoRow14->SetBinContent(27,1);
   ResoRow14->SetBinContent(28,1);
   ResoRow14->SetBinContent(30,2);
   ResoRow14->SetBinContent(31,2);
   ResoRow14->SetBinContent(32,2);
   ResoRow14->SetBinContent(33,2);
   ResoRow14->SetBinContent(34,2);
   ResoRow14->SetBinContent(35,2);
   ResoRow14->SetBinContent(36,4);
   ResoRow14->SetBinContent(37,8);
   ResoRow14->SetBinContent(38,10);
   ResoRow14->SetBinContent(39,9);
   ResoRow14->SetBinContent(40,13);
   ResoRow14->SetBinContent(41,16);
   ResoRow14->SetBinContent(42,25);
   ResoRow14->SetBinContent(43,31);
   ResoRow14->SetBinContent(44,26);
   ResoRow14->SetBinContent(45,50);
   ResoRow14->SetBinContent(46,43);
   ResoRow14->SetBinContent(47,73);
   ResoRow14->SetBinContent(48,73);
   ResoRow14->SetBinContent(49,72);
   ResoRow14->SetBinContent(50,81);
   ResoRow14->SetBinContent(51,81);
   ResoRow14->SetBinContent(52,86);
   ResoRow14->SetBinContent(53,80);
   ResoRow14->SetBinContent(54,61);
   ResoRow14->SetBinContent(55,58);
   ResoRow14->SetBinContent(56,42);
   ResoRow14->SetBinContent(57,50);
   ResoRow14->SetBinContent(58,37);
   ResoRow14->SetBinContent(59,22);
   ResoRow14->SetBinContent(60,17);
   ResoRow14->SetBinContent(61,6);
   ResoRow14->SetBinContent(62,14);
   ResoRow14->SetBinContent(63,4);
   ResoRow14->SetBinContent(64,2);
   ResoRow14->SetBinContent(65,3);
   ResoRow14->SetBinContent(66,4);
   ResoRow14->SetBinContent(67,1);
   ResoRow14->SetBinContent(68,3);
   ResoRow14->SetBinContent(69,2);
   ResoRow14->SetBinContent(70,2);
   ResoRow14->SetBinContent(73,1);
   ResoRow14->SetBinContent(74,1);
   ResoRow14->SetBinContent(83,2);
   ResoRow14->SetBinContent(87,1);
   ResoRow14->SetBinContent(89,1);
   ResoRow14->SetBinContent(95,1);
   ResoRow14->SetBinContent(101,3);
   ResoRow14->SetEntries(1139);
   
   TF1 *ResoRowFit14 = new TF1("ResoRowFit14","gaus",-1,1);
   ResoRowFit14->SetFillColor(19);
   ResoRowFit14->SetFillStyle(0);
   ResoRowFit14->SetLineWidth(3);
   ResoRowFit14->SetChisquare(62.30088);
   ResoRowFit14->SetNDF(50);
   ResoRowFit14->SetParameter(0,78.60016);
   ResoRowFit14->SetParError(0,3.165385);
   ResoRowFit14->SetParLimits(0,0,0);
   ResoRowFit14->SetParameter(1,-9.594326e-05);
   ResoRowFit14->SetParError(1,0.003425397);
   ResoRowFit14->SetParLimits(1,0,0);
   ResoRowFit14->SetParameter(2,0.108804);
   ResoRowFit14->SetParError(2,0.002859617);
   ResoRowFit14->SetParLimits(2,0,1.353085);
   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 = 1139   ");
   text = ptstats->AddText("Mean  = 0.001496");
   text = ptstats->AddText("RMS   = 0.1352");
   text = ptstats->AddText("#chi^{2} / ndf =  62.3 / 50");
   text = ptstats->AddText("Constant =  78.6 #pm 3.2 ");
   text = ptstats->AddText("Mean     = -9.594e-05 #pm 3.425e-03 ");
   text = ptstats->AddText("Sigma    = 0.1088 #pm 0.0029 ");
   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_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,-11.025,1.25,99.225);
   c2_4->SetFillColor(0);
   c2_4->SetBorderSize(2);
   
   TH1F *ResoRow15 = new TH1F("ResoRow15","",100,-1,1);
   ResoRow15->SetBinContent(0,2);
   ResoRow15->SetBinContent(25,1);
   ResoRow15->SetBinContent(29,1);
   ResoRow15->SetBinContent(31,2);
   ResoRow15->SetBinContent(32,1);
   ResoRow15->SetBinContent(34,1);
   ResoRow15->SetBinContent(35,1);
   ResoRow15->SetBinContent(36,6);
   ResoRow15->SetBinContent(37,6);
   ResoRow15->SetBinContent(38,9);
   ResoRow15->SetBinContent(39,17);
   ResoRow15->SetBinContent(40,19);
   ResoRow15->SetBinContent(41,12);
   ResoRow15->SetBinContent(42,26);
   ResoRow15->SetBinContent(43,41);
   ResoRow15->SetBinContent(44,39);
   ResoRow15->SetBinContent(45,43);
   ResoRow15->SetBinContent(46,63);
   ResoRow15->SetBinContent(47,65);
   ResoRow15->SetBinContent(48,74);
   ResoRow15->SetBinContent(49,66);
   ResoRow15->SetBinContent(50,84);
   ResoRow15->SetBinContent(51,73);
   ResoRow15->SetBinContent(52,72);
   ResoRow15->SetBinContent(53,64);
   ResoRow15->SetBinContent(54,65);
   ResoRow15->SetBinContent(55,68);
   ResoRow15->SetBinContent(56,46);
   ResoRow15->SetBinContent(57,40);
   ResoRow15->SetBinContent(58,31);
   ResoRow15->SetBinContent(59,29);
   ResoRow15->SetBinContent(60,17);
   ResoRow15->SetBinContent(61,10);
   ResoRow15->SetBinContent(62,10);
   ResoRow15->SetBinContent(63,11);
   ResoRow15->SetBinContent(64,6);
   ResoRow15->SetBinContent(65,1);
   ResoRow15->SetBinContent(66,2);
   ResoRow15->SetBinContent(67,1);
   ResoRow15->SetBinContent(69,1);
   ResoRow15->SetBinContent(70,2);
   ResoRow15->SetBinContent(71,2);
   ResoRow15->SetBinContent(72,1);
   ResoRow15->SetBinContent(73,2);
   ResoRow15->SetBinContent(78,1);
   ResoRow15->SetBinContent(80,1);
   ResoRow15->SetBinContent(82,1);
   ResoRow15->SetBinContent(91,1);
   ResoRow15->SetBinContent(101,2);
   ResoRow15->SetEntries(1139);
   
   TF1 *ResoRowFit15 = new TF1("ResoRowFit15","gaus",-1,1);
   ResoRowFit15->SetFillColor(19);
   ResoRowFit15->SetFillStyle(0);
   ResoRowFit15->SetLineWidth(3);
   ResoRowFit15->SetChisquare(41.75624);
   ResoRowFit15->SetNDF(44);
   ResoRowFit15->SetParameter(0,76.77243);
   ResoRowFit15->SetParError(0,2.876981);
   ResoRowFit15->SetParLimits(0,0,0);
   ResoRowFit15->SetParameter(1,-0.002640297);
   ResoRowFit15->SetParError(1,0.00347506);
   ResoRowFit15->SetParLimits(1,0,0);
   ResoRowFit15->SetParameter(2,0.1137823);
   ResoRowFit15->SetParError(2,0.002550677);
   ResoRowFit15->SetParLimits(2,0,1.284784);
   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 = 1139   ");
   text = ptstats->AddText("Mean  = -2.707e-05");
   text = ptstats->AddText("RMS   = 0.1287");
   text = ptstats->AddText("#chi^{2} / ndf = 41.76 / 44");
   text = ptstats->AddText("Constant = 76.77 #pm 2.88 ");
   text = ptstats->AddText("Mean     = -0.00264 #pm 0.00348 ");
   text = ptstats->AddText("Sigma    = 0.1138 #pm 0.0026 ");
   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_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,-10.36875,1.25,93.31875);
   c2_5->SetFillColor(0);
   c2_5->SetBorderSize(2);
   
   TH1F *ResoRow16 = new TH1F("ResoRow16","",100,-1,1);
   ResoRow16->SetBinContent(0,1);
   ResoRow16->SetBinContent(15,1);
   ResoRow16->SetBinContent(28,1);
   ResoRow16->SetBinContent(31,2);
   ResoRow16->SetBinContent(32,1);
   ResoRow16->SetBinContent(34,4);
   ResoRow16->SetBinContent(35,5);
   ResoRow16->SetBinContent(36,6);
   ResoRow16->SetBinContent(37,7);
   ResoRow16->SetBinContent(38,9);
   ResoRow16->SetBinContent(39,8);
   ResoRow16->SetBinContent(40,14);
   ResoRow16->SetBinContent(41,22);
   ResoRow16->SetBinContent(42,30);
   ResoRow16->SetBinContent(43,29);
   ResoRow16->SetBinContent(44,37);
   ResoRow16->SetBinContent(45,44);
   ResoRow16->SetBinContent(46,63);
   ResoRow16->SetBinContent(47,72);
   ResoRow16->SetBinContent(48,71);
   ResoRow16->SetBinContent(49,79);
   ResoRow16->SetBinContent(50,75);
   ResoRow16->SetBinContent(51,79);
   ResoRow16->SetBinContent(52,73);
   ResoRow16->SetBinContent(53,67);
   ResoRow16->SetBinContent(54,68);
   ResoRow16->SetBinContent(55,47);
   ResoRow16->SetBinContent(56,46);
   ResoRow16->SetBinContent(57,37);
   ResoRow16->SetBinContent(58,30);
   ResoRow16->SetBinContent(59,21);
   ResoRow16->SetBinContent(60,25);
   ResoRow16->SetBinContent(61,12);
   ResoRow16->SetBinContent(62,16);
   ResoRow16->SetBinContent(63,7);
   ResoRow16->SetBinContent(64,4);
   ResoRow16->SetBinContent(65,3);
   ResoRow16->SetBinContent(66,5);
   ResoRow16->SetBinContent(67,3);
   ResoRow16->SetBinContent(68,3);
   ResoRow16->SetBinContent(69,3);
   ResoRow16->SetBinContent(71,1);
   ResoRow16->SetBinContent(72,2);
   ResoRow16->SetBinContent(75,1);
   ResoRow16->SetBinContent(76,1);
   ResoRow16->SetBinContent(87,1);
   ResoRow16->SetBinContent(88,1);
   ResoRow16->SetBinContent(94,1);
   ResoRow16->SetBinContent(100,1);
   ResoRow16->SetEntries(1139);
   
   TF1 *ResoRowFit16 = new TF1("ResoRowFit16","gaus",-1,1);
   ResoRowFit16->SetFillColor(19);
   ResoRowFit16->SetFillStyle(0);
   ResoRowFit16->SetLineWidth(3);
   ResoRowFit16->SetChisquare(35.78258);
   ResoRowFit16->SetNDF(45);
   ResoRowFit16->SetParameter(0,74.26812);
   ResoRowFit16->SetParError(0,2.958887);
   ResoRowFit16->SetParLimits(0,0,0);
   ResoRowFit16->SetParameter(1,-0.003218448);
   ResoRowFit16->SetParError(1,0.003599881);
   ResoRowFit16->SetParLimits(1,0,0);
   ResoRowFit16->SetParameter(2,0.1186085);
   ResoRowFit16->SetParError(2,0.003139579);
   ResoRowFit16->SetParLimits(2,0,1.371439);
   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 = 1139   ");
   text = ptstats->AddText("Mean  = 0.001333");
   text = ptstats->AddText("RMS   = 0.1367");
   text = ptstats->AddText("#chi^{2} / ndf = 35.78 / 45");
   text = ptstats->AddText("Constant = 74.27 #pm 2.96 ");
   text = ptstats->AddText("Mean     = -0.003218 #pm 0.003600 ");
   text = ptstats->AddText("Sigma    = 0.1186 #pm 0.0031 ");
   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_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,-11.15625,1.25,100.4063);
   c2_6->SetFillColor(0);
   c2_6->SetBorderSize(2);
   
   TH1F *ResoRow17 = new TH1F("ResoRow17","",100,-1,1);
   ResoRow17->SetBinContent(19,1);
   ResoRow17->SetBinContent(22,1);
   ResoRow17->SetBinContent(23,1);
   ResoRow17->SetBinContent(24,2);
   ResoRow17->SetBinContent(26,1);
   ResoRow17->SetBinContent(32,1);
   ResoRow17->SetBinContent(33,3);
   ResoRow17->SetBinContent(34,4);
   ResoRow17->SetBinContent(35,3);
   ResoRow17->SetBinContent(36,4);
   ResoRow17->SetBinContent(37,5);
   ResoRow17->SetBinContent(38,7);
   ResoRow17->SetBinContent(39,8);
   ResoRow17->SetBinContent(40,13);
   ResoRow17->SetBinContent(41,19);
   ResoRow17->SetBinContent(42,20);
   ResoRow17->SetBinContent(43,42);
   ResoRow17->SetBinContent(44,43);
   ResoRow17->SetBinContent(45,49);
   ResoRow17->SetBinContent(46,43);
   ResoRow17->SetBinContent(47,77);
   ResoRow17->SetBinContent(48,69);
   ResoRow17->SetBinContent(49,81);
   ResoRow17->SetBinContent(50,81);
   ResoRow17->SetBinContent(51,85);
   ResoRow17->SetBinContent(52,68);
   ResoRow17->SetBinContent(53,67);
   ResoRow17->SetBinContent(54,72);
   ResoRow17->SetBinContent(55,47);
   ResoRow17->SetBinContent(56,39);
   ResoRow17->SetBinContent(57,49);
   ResoRow17->SetBinContent(58,35);
   ResoRow17->SetBinContent(59,18);
   ResoRow17->SetBinContent(60,30);
   ResoRow17->SetBinContent(61,10);
   ResoRow17->SetBinContent(62,8);
   ResoRow17->SetBinContent(63,9);
   ResoRow17->SetBinContent(64,7);
   ResoRow17->SetBinContent(65,2);
   ResoRow17->SetBinContent(67,1);
   ResoRow17->SetBinContent(68,2);
   ResoRow17->SetBinContent(69,3);
   ResoRow17->SetBinContent(70,2);
   ResoRow17->SetBinContent(72,1);
   ResoRow17->SetBinContent(75,1);
   ResoRow17->SetBinContent(78,1);
   ResoRow17->SetBinContent(90,1);
   ResoRow17->SetBinContent(93,1);
   ResoRow17->SetBinContent(101,2);
   ResoRow17->SetEntries(1139);
   
   TF1 *ResoRowFit17 = new TF1("ResoRowFit17","gaus",-1,1);
   ResoRowFit17->SetFillColor(19);
   ResoRowFit17->SetFillStyle(0);
   ResoRowFit17->SetLineWidth(3);
   ResoRowFit17->SetChisquare(50.77729);
   ResoRowFit17->SetNDF(45);
   ResoRowFit17->SetParameter(0,76.3065);
   ResoRowFit17->SetParError(0,2.986148);
   ResoRowFit17->SetParLimits(0,0,0);
   ResoRowFit17->SetParameter(1,-0.002068944);
   ResoRowFit17->SetParError(1,0.003484981);
   ResoRowFit17->SetParLimits(1,0,0);
   ResoRowFit17->SetParameter(2,0.1138307);
   ResoRowFit17->SetParError(2,0.002863257);
   ResoRowFit17->SetParLimits(2,0,1.313126);
   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 = 1139   ");
   text = ptstats->AddText("Mean  = -0.0009347");
   text = ptstats->AddText("RMS   = 0.1314");
   text = ptstats->AddText("#chi^{2} / ndf = 50.78 / 45");
   text = ptstats->AddText("Constant = 76.31 #pm 2.99 ");
   text = ptstats->AddText("Mean     = -0.002069 #pm 0.003485 ");
   text = ptstats->AddText("Sigma    = 0.1138 #pm 0.0029 ");
   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_6->Modified();
   c2->cd();
   c2->Modified();
   c2->cd();
   c2->SetSelected(c2);
}
