{
//=========Macro generated from canvas: c2/
//=========  (Tue Jun  8 17:13:46 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,-7.21875,1.25,64.96875);
   c2_1->SetFillColor(0);
   c2_1->SetBorderSize(2);
   
   TH1F *ResoRow12 = new TH1F("ResoRow12","",100,-1,1);
   ResoRow12->SetBinContent(0,3);
   ResoRow12->SetBinContent(28,1);
   ResoRow12->SetBinContent(29,3);
   ResoRow12->SetBinContent(35,4);
   ResoRow12->SetBinContent(36,3);
   ResoRow12->SetBinContent(37,2);
   ResoRow12->SetBinContent(38,5);
   ResoRow12->SetBinContent(39,4);
   ResoRow12->SetBinContent(40,5);
   ResoRow12->SetBinContent(41,7);
   ResoRow12->SetBinContent(42,8);
   ResoRow12->SetBinContent(43,11);
   ResoRow12->SetBinContent(44,13);
   ResoRow12->SetBinContent(45,18);
   ResoRow12->SetBinContent(46,23);
   ResoRow12->SetBinContent(47,24);
   ResoRow12->SetBinContent(48,36);
   ResoRow12->SetBinContent(49,35);
   ResoRow12->SetBinContent(50,51);
   ResoRow12->SetBinContent(51,49);
   ResoRow12->SetBinContent(52,55);
   ResoRow12->SetBinContent(53,41);
   ResoRow12->SetBinContent(54,35);
   ResoRow12->SetBinContent(55,23);
   ResoRow12->SetBinContent(56,28);
   ResoRow12->SetBinContent(57,13);
   ResoRow12->SetBinContent(58,12);
   ResoRow12->SetBinContent(59,4);
   ResoRow12->SetBinContent(60,10);
   ResoRow12->SetBinContent(61,5);
   ResoRow12->SetBinContent(62,3);
   ResoRow12->SetBinContent(63,2);
   ResoRow12->SetBinContent(64,3);
   ResoRow12->SetBinContent(65,2);
   ResoRow12->SetBinContent(68,1);
   ResoRow12->SetBinContent(69,1);
   ResoRow12->SetBinContent(71,1);
   ResoRow12->SetBinContent(72,1);
   ResoRow12->SetBinContent(74,1);
   ResoRow12->SetBinContent(75,1);
   ResoRow12->SetBinContent(101,2);
   ResoRow12->SetEntries(549);
   
   TF1 *ResoRowFit12 = new TF1("ResoRowFit12","gaus",-1,1);
   ResoRowFit12->SetFillColor(19);
   ResoRowFit12->SetFillStyle(0);
   ResoRowFit12->SetLineWidth(3);
   ResoRowFit12->SetChisquare(47.24301);
   ResoRowFit12->SetNDF(36);
   ResoRowFit12->SetParameter(0,41.84296);
   ResoRowFit12->SetParError(0,2.745557);
   ResoRowFit12->SetParLimits(0,0,0);
   ResoRowFit12->SetParameter(1,0.002698455);
   ResoRowFit12->SetParError(1,0.004403915);
   ResoRowFit12->SetParLimits(1,0,0);
   ResoRowFit12->SetParameter(2,0.09481919);
   ResoRowFit12->SetParError(2,0.004587086);
   ResoRowFit12->SetParLimits(2,0,1.187015);
   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 = 549    ");
   text = ptstats->AddText("Mean  = 0.002402");
   text = ptstats->AddText("RMS   = 0.1185");
   text = ptstats->AddText("#chi^{2} / ndf = 47.24 / 36");
   text = ptstats->AddText("Constant = 41.84 #pm 2.75 ");
   text = ptstats->AddText("Mean     = 0.002698 #pm 0.004404 ");
   text = ptstats->AddText("Sigma    = 0.09482 #pm 0.00459 ");
   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,-6.43125,1.25,57.88125);
   c2_2->SetFillColor(0);
   c2_2->SetBorderSize(2);
   
   TH1F *ResoRow13 = new TH1F("ResoRow13","",100,-1,1);
   ResoRow13->SetBinContent(0,3);
   ResoRow13->SetBinContent(29,1);
   ResoRow13->SetBinContent(33,1);
   ResoRow13->SetBinContent(34,3);
   ResoRow13->SetBinContent(35,4);
   ResoRow13->SetBinContent(36,1);
   ResoRow13->SetBinContent(37,3);
   ResoRow13->SetBinContent(38,4);
   ResoRow13->SetBinContent(39,4);
   ResoRow13->SetBinContent(40,8);
   ResoRow13->SetBinContent(41,12);
   ResoRow13->SetBinContent(42,10);
   ResoRow13->SetBinContent(43,14);
   ResoRow13->SetBinContent(44,23);
   ResoRow13->SetBinContent(45,22);
   ResoRow13->SetBinContent(46,30);
   ResoRow13->SetBinContent(47,24);
   ResoRow13->SetBinContent(48,27);
   ResoRow13->SetBinContent(49,36);
   ResoRow13->SetBinContent(50,49);
   ResoRow13->SetBinContent(51,44);
   ResoRow13->SetBinContent(52,40);
   ResoRow13->SetBinContent(53,40);
   ResoRow13->SetBinContent(54,29);
   ResoRow13->SetBinContent(55,30);
   ResoRow13->SetBinContent(56,19);
   ResoRow13->SetBinContent(57,15);
   ResoRow13->SetBinContent(58,12);
   ResoRow13->SetBinContent(59,6);
   ResoRow13->SetBinContent(60,10);
   ResoRow13->SetBinContent(61,8);
   ResoRow13->SetBinContent(62,4);
   ResoRow13->SetBinContent(63,4);
   ResoRow13->SetBinContent(64,1);
   ResoRow13->SetBinContent(65,2);
   ResoRow13->SetBinContent(66,3);
   ResoRow13->SetBinContent(70,2);
   ResoRow13->SetBinContent(101,1);
   ResoRow13->SetEntries(549);
   
   TF1 *ResoRowFit13 = new TF1("ResoRowFit13","gaus",-1,1);
   ResoRowFit13->SetFillColor(19);
   ResoRowFit13->SetFillStyle(0);
   ResoRowFit13->SetLineWidth(3);
   ResoRowFit13->SetChisquare(30.74423);
   ResoRowFit13->SetNDF(33);
   ResoRowFit13->SetParameter(0,37.16104);
   ResoRowFit13->SetParError(0,2.172316);
   ResoRowFit13->SetParLimits(0,0,0);
   ResoRowFit13->SetParameter(1,-0.005824914);
   ResoRowFit13->SetParError(1,0.004955021);
   ResoRowFit13->SetParLimits(1,0,0);
   ResoRowFit13->SetParameter(2,0.1106486);
   ResoRowFit13->SetParError(2,0.004333562);
   ResoRowFit13->SetParLimits(2,0,1.191375);
   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 = 549    ");
   text = ptstats->AddText("Mean  = -0.005768");
   text = ptstats->AddText("RMS   = 0.1191");
   text = ptstats->AddText("#chi^{2} / ndf = 30.74 / 33");
   text = ptstats->AddText("Constant = 37.16 #pm 2.17 ");
   text = ptstats->AddText("Mean     = -0.005825 #pm 0.004955 ");
   text = ptstats->AddText("Sigma    = 0.1106 #pm 0.0043 ");
   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,-7.35,1.25,66.15);
   c2_3->SetFillColor(0);
   c2_3->SetBorderSize(2);
   
   TH1F *ResoRow14 = new TH1F("ResoRow14","",100,-1,1);
   ResoRow14->SetBinContent(0,1);
   ResoRow14->SetBinContent(27,1);
   ResoRow14->SetBinContent(33,1);
   ResoRow14->SetBinContent(35,2);
   ResoRow14->SetBinContent(37,1);
   ResoRow14->SetBinContent(38,1);
   ResoRow14->SetBinContent(39,3);
   ResoRow14->SetBinContent(40,4);
   ResoRow14->SetBinContent(41,5);
   ResoRow14->SetBinContent(42,9);
   ResoRow14->SetBinContent(43,7);
   ResoRow14->SetBinContent(44,22);
   ResoRow14->SetBinContent(45,19);
   ResoRow14->SetBinContent(46,38);
   ResoRow14->SetBinContent(47,24);
   ResoRow14->SetBinContent(48,38);
   ResoRow14->SetBinContent(49,44);
   ResoRow14->SetBinContent(50,56);
   ResoRow14->SetBinContent(51,39);
   ResoRow14->SetBinContent(52,41);
   ResoRow14->SetBinContent(53,44);
   ResoRow14->SetBinContent(54,32);
   ResoRow14->SetBinContent(55,29);
   ResoRow14->SetBinContent(56,28);
   ResoRow14->SetBinContent(57,15);
   ResoRow14->SetBinContent(58,9);
   ResoRow14->SetBinContent(59,7);
   ResoRow14->SetBinContent(60,8);
   ResoRow14->SetBinContent(61,5);
   ResoRow14->SetBinContent(62,4);
   ResoRow14->SetBinContent(63,2);
   ResoRow14->SetBinContent(64,1);
   ResoRow14->SetBinContent(66,1);
   ResoRow14->SetBinContent(67,1);
   ResoRow14->SetBinContent(68,2);
   ResoRow14->SetBinContent(81,1);
   ResoRow14->SetBinContent(101,4);
   ResoRow14->SetEntries(549);
   
   TF1 *ResoRowFit14 = new TF1("ResoRowFit14","gaus",-1,1);
   ResoRowFit14->SetFillColor(19);
   ResoRowFit14->SetFillStyle(0);
   ResoRowFit14->SetLineWidth(3);
   ResoRowFit14->SetChisquare(29.43851);
   ResoRowFit14->SetNDF(32);
   ResoRowFit14->SetParameter(0,43.78469);
   ResoRowFit14->SetParError(0,2.529638);
   ResoRowFit14->SetParLimits(0,0,0);
   ResoRowFit14->SetParameter(1,0.003193061);
   ResoRowFit14->SetParError(1,0.004178467);
   ResoRowFit14->SetParLimits(1,0,0);
   ResoRowFit14->SetParameter(2,0.09393106);
   ResoRowFit14->SetParError(2,0.003564041);
   ResoRowFit14->SetParLimits(2,0,1.054341);
   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 = 549    ");
   text = ptstats->AddText("Mean  = 0.003175");
   text = ptstats->AddText("RMS   = 0.1055");
   text = ptstats->AddText("#chi^{2} / ndf = 29.44 / 32");
   text = ptstats->AddText("Constant = 43.78 #pm 2.53 ");
   text = ptstats->AddText("Mean     = 0.003193 #pm 0.004178 ");
   text = ptstats->AddText("Sigma    = 0.09393 #pm 0.00356 ");
   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,-7.74375,1.25,69.69375);
   c2_4->SetFillColor(0);
   c2_4->SetBorderSize(2);
   
   TH1F *ResoRow15 = new TH1F("ResoRow15","",100,-1,1);
   ResoRow15->SetBinContent(0,2);
   ResoRow15->SetBinContent(29,1);
   ResoRow15->SetBinContent(33,2);
   ResoRow15->SetBinContent(36,2);
   ResoRow15->SetBinContent(37,4);
   ResoRow15->SetBinContent(38,1);
   ResoRow15->SetBinContent(39,2);
   ResoRow15->SetBinContent(40,9);
   ResoRow15->SetBinContent(41,2);
   ResoRow15->SetBinContent(42,14);
   ResoRow15->SetBinContent(43,19);
   ResoRow15->SetBinContent(44,15);
   ResoRow15->SetBinContent(45,16);
   ResoRow15->SetBinContent(46,27);
   ResoRow15->SetBinContent(47,38);
   ResoRow15->SetBinContent(48,31);
   ResoRow15->SetBinContent(49,45);
   ResoRow15->SetBinContent(50,45);
   ResoRow15->SetBinContent(51,59);
   ResoRow15->SetBinContent(52,47);
   ResoRow15->SetBinContent(53,31);
   ResoRow15->SetBinContent(54,30);
   ResoRow15->SetBinContent(55,26);
   ResoRow15->SetBinContent(56,15);
   ResoRow15->SetBinContent(57,14);
   ResoRow15->SetBinContent(58,15);
   ResoRow15->SetBinContent(59,5);
   ResoRow15->SetBinContent(60,9);
   ResoRow15->SetBinContent(61,9);
   ResoRow15->SetBinContent(62,2);
   ResoRow15->SetBinContent(63,3);
   ResoRow15->SetBinContent(64,3);
   ResoRow15->SetBinContent(65,3);
   ResoRow15->SetBinContent(67,1);
   ResoRow15->SetBinContent(73,1);
   ResoRow15->SetBinContent(101,1);
   ResoRow15->SetEntries(549);
   
   TF1 *ResoRowFit15 = new TF1("ResoRowFit15","gaus",-1,1);
   ResoRowFit15->SetFillColor(19);
   ResoRowFit15->SetFillStyle(0);
   ResoRowFit15->SetLineWidth(3);
   ResoRowFit15->SetChisquare(50.6155);
   ResoRowFit15->SetNDF(31);
   ResoRowFit15->SetParameter(0,42.70143);
   ResoRowFit15->SetParError(0,2.601962);
   ResoRowFit15->SetParLimits(0,0,0);
   ResoRowFit15->SetParameter(1,-0.0005009767);
   ResoRowFit15->SetParError(1,0.004245855);
   ResoRowFit15->SetParLimits(1,0,0);
   ResoRowFit15->SetParameter(2,0.09265227);
   ResoRowFit15->SetParError(2,0.003853173);
   ResoRowFit15->SetParLimits(2,0,1.092047);
   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 = 549    ");
   text = ptstats->AddText("Mean  = -0.002579");
   text = ptstats->AddText("RMS   = 0.1094");
   text = ptstats->AddText("#chi^{2} / ndf = 50.62 / 31");
   text = ptstats->AddText("Constant =  42.7 #pm 2.6 ");
   text = ptstats->AddText("Mean     = -0.000501 #pm 0.004246 ");
   text = ptstats->AddText("Sigma    = 0.09265 #pm 0.00385 ");
   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,-7.875,1.25,70.875);
   c2_5->SetFillColor(0);
   c2_5->SetBorderSize(2);
   
   TH1F *ResoRow16 = new TH1F("ResoRow16","",100,-1,1);
   ResoRow16->SetBinContent(0,1);
   ResoRow16->SetBinContent(32,2);
   ResoRow16->SetBinContent(33,1);
   ResoRow16->SetBinContent(34,1);
   ResoRow16->SetBinContent(36,2);
   ResoRow16->SetBinContent(39,5);
   ResoRow16->SetBinContent(40,6);
   ResoRow16->SetBinContent(41,7);
   ResoRow16->SetBinContent(42,15);
   ResoRow16->SetBinContent(43,7);
   ResoRow16->SetBinContent(44,21);
   ResoRow16->SetBinContent(45,19);
   ResoRow16->SetBinContent(46,25);
   ResoRow16->SetBinContent(47,31);
   ResoRow16->SetBinContent(48,33);
   ResoRow16->SetBinContent(49,44);
   ResoRow16->SetBinContent(50,60);
   ResoRow16->SetBinContent(51,38);
   ResoRow16->SetBinContent(52,49);
   ResoRow16->SetBinContent(53,37);
   ResoRow16->SetBinContent(54,35);
   ResoRow16->SetBinContent(55,21);
   ResoRow16->SetBinContent(56,26);
   ResoRow16->SetBinContent(57,14);
   ResoRow16->SetBinContent(58,9);
   ResoRow16->SetBinContent(59,16);
   ResoRow16->SetBinContent(60,6);
   ResoRow16->SetBinContent(61,4);
   ResoRow16->SetBinContent(62,1);
   ResoRow16->SetBinContent(63,4);
   ResoRow16->SetBinContent(65,1);
   ResoRow16->SetBinContent(68,1);
   ResoRow16->SetBinContent(70,1);
   ResoRow16->SetBinContent(75,1);
   ResoRow16->SetBinContent(101,5);
   ResoRow16->SetEntries(549);
   
   TF1 *ResoRowFit16 = new TF1("ResoRowFit16","gaus",-1,1);
   ResoRowFit16->SetFillColor(19);
   ResoRowFit16->SetFillStyle(0);
   ResoRowFit16->SetLineWidth(3);
   ResoRowFit16->SetChisquare(38.0843);
   ResoRowFit16->SetNDF(30);
   ResoRowFit16->SetParameter(0,42.66096);
   ResoRowFit16->SetParError(0,2.55603);
   ResoRowFit16->SetParLimits(0,0,0);
   ResoRowFit16->SetParameter(1,-0.001277029);
   ResoRowFit16->SetParError(1,0.004426247);
   ResoRowFit16->SetParLimits(1,0,0);
   ResoRowFit16->SetParameter(2,0.09508328);
   ResoRowFit16->SetParError(2,0.004015095);
   ResoRowFit16->SetParLimits(2,0,1.060384);
   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 = 549    ");
   text = ptstats->AddText("Mean  = -0.001161");
   text = ptstats->AddText("RMS   = 0.1058");
   text = ptstats->AddText("#chi^{2} / ndf = 38.08 / 30");
   text = ptstats->AddText("Constant = 42.66 #pm 2.56 ");
   text = ptstats->AddText("Mean     = -0.001277 #pm 0.004426 ");
   text = ptstats->AddText("Sigma    = 0.09508 #pm 0.00402 ");
   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,-7.48125,1.25,67.33125);
   c2_6->SetFillColor(0);
   c2_6->SetBorderSize(2);
   
   TH1F *ResoRow17 = new TH1F("ResoRow17","",100,-1,1);
   ResoRow17->SetBinContent(0,1);
   ResoRow17->SetBinContent(12,1);
   ResoRow17->SetBinContent(32,1);
   ResoRow17->SetBinContent(34,1);
   ResoRow17->SetBinContent(36,1);
   ResoRow17->SetBinContent(37,4);
   ResoRow17->SetBinContent(38,1);
   ResoRow17->SetBinContent(39,8);
   ResoRow17->SetBinContent(40,6);
   ResoRow17->SetBinContent(41,3);
   ResoRow17->SetBinContent(42,7);
   ResoRow17->SetBinContent(43,16);
   ResoRow17->SetBinContent(44,18);
   ResoRow17->SetBinContent(45,27);
   ResoRow17->SetBinContent(46,23);
   ResoRow17->SetBinContent(47,33);
   ResoRow17->SetBinContent(48,37);
   ResoRow17->SetBinContent(49,41);
   ResoRow17->SetBinContent(50,42);
   ResoRow17->SetBinContent(51,40);
   ResoRow17->SetBinContent(52,57);
   ResoRow17->SetBinContent(53,40);
   ResoRow17->SetBinContent(54,41);
   ResoRow17->SetBinContent(55,17);
   ResoRow17->SetBinContent(56,14);
   ResoRow17->SetBinContent(57,18);
   ResoRow17->SetBinContent(58,18);
   ResoRow17->SetBinContent(59,9);
   ResoRow17->SetBinContent(60,8);
   ResoRow17->SetBinContent(61,3);
   ResoRow17->SetBinContent(62,6);
   ResoRow17->SetBinContent(63,2);
   ResoRow17->SetBinContent(64,1);
   ResoRow17->SetBinContent(66,1);
   ResoRow17->SetBinContent(69,1);
   ResoRow17->SetBinContent(101,2);
   ResoRow17->SetEntries(549);
   
   TF1 *ResoRowFit17 = new TF1("ResoRowFit17","gaus",-1,1);
   ResoRowFit17->SetFillColor(19);
   ResoRowFit17->SetFillStyle(0);
   ResoRowFit17->SetLineWidth(3);
   ResoRowFit17->SetChisquare(40.53329);
   ResoRowFit17->SetNDF(31);
   ResoRowFit17->SetParameter(0,41.82405);
   ResoRowFit17->SetParError(0,2.45752);
   ResoRowFit17->SetParLimits(0,0,0);
   ResoRowFit17->SetParameter(1,-0.0008913668);
   ResoRowFit17->SetParError(1,0.004364864);
   ResoRowFit17->SetParLimits(1,0,0);
   ResoRowFit17->SetParameter(2,0.09661541);
   ResoRowFit17->SetParError(2,0.00377868);
   ResoRowFit17->SetParLimits(2,0,1.094685);
   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 = 549    ");
   text = ptstats->AddText("Mean  = -0.003667");
   text = ptstats->AddText("RMS   = 0.1097");
   text = ptstats->AddText("#chi^{2} / ndf = 40.53 / 31");
   text = ptstats->AddText("Constant = 41.82 #pm 2.46 ");
   text = ptstats->AddText("Mean     = -0.0008914 #pm 0.0043649 ");
   text = ptstats->AddText("Sigma    = 0.09662 #pm 0.00378 ");
   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);
}
