{
//=========Macro generated from canvas: c2/
//=========  (Fri Jun 11 10:34:42 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,-9.975,1.25,89.775);
   c2_1->SetFillColor(0);
   c2_1->SetBorderSize(2);
   
   TH1F *ResoRow13 = new TH1F("ResoRow13","",100,-1,1);
   ResoRow13->SetBinContent(0,2);
   ResoRow13->SetBinContent(2,1);
   ResoRow13->SetBinContent(5,1);
   ResoRow13->SetBinContent(17,2);
   ResoRow13->SetBinContent(18,1);
   ResoRow13->SetBinContent(22,1);
   ResoRow13->SetBinContent(23,1);
   ResoRow13->SetBinContent(24,1);
   ResoRow13->SetBinContent(25,1);
   ResoRow13->SetBinContent(26,1);
   ResoRow13->SetBinContent(27,1);
   ResoRow13->SetBinContent(28,3);
   ResoRow13->SetBinContent(30,6);
   ResoRow13->SetBinContent(32,2);
   ResoRow13->SetBinContent(33,2);
   ResoRow13->SetBinContent(34,4);
   ResoRow13->SetBinContent(36,13);
   ResoRow13->SetBinContent(37,6);
   ResoRow13->SetBinContent(38,5);
   ResoRow13->SetBinContent(39,16);
   ResoRow13->SetBinContent(40,13);
   ResoRow13->SetBinContent(41,21);
   ResoRow13->SetBinContent(42,18);
   ResoRow13->SetBinContent(43,33);
   ResoRow13->SetBinContent(44,30);
   ResoRow13->SetBinContent(45,54);
   ResoRow13->SetBinContent(46,44);
   ResoRow13->SetBinContent(47,49);
   ResoRow13->SetBinContent(48,67);
   ResoRow13->SetBinContent(49,76);
   ResoRow13->SetBinContent(50,75);
   ResoRow13->SetBinContent(51,75);
   ResoRow13->SetBinContent(52,72);
   ResoRow13->SetBinContent(53,60);
   ResoRow13->SetBinContent(54,61);
   ResoRow13->SetBinContent(55,66);
   ResoRow13->SetBinContent(56,51);
   ResoRow13->SetBinContent(57,37);
   ResoRow13->SetBinContent(58,27);
   ResoRow13->SetBinContent(59,24);
   ResoRow13->SetBinContent(60,22);
   ResoRow13->SetBinContent(61,9);
   ResoRow13->SetBinContent(62,16);
   ResoRow13->SetBinContent(63,11);
   ResoRow13->SetBinContent(64,6);
   ResoRow13->SetBinContent(65,4);
   ResoRow13->SetBinContent(66,4);
   ResoRow13->SetBinContent(67,5);
   ResoRow13->SetBinContent(69,3);
   ResoRow13->SetBinContent(70,2);
   ResoRow13->SetBinContent(71,2);
   ResoRow13->SetBinContent(72,1);
   ResoRow13->SetBinContent(73,1);
   ResoRow13->SetBinContent(80,1);
   ResoRow13->SetBinContent(89,1);
   ResoRow13->SetBinContent(92,1);
   ResoRow13->SetBinContent(101,7);
   ResoRow13->SetEntries(1119);
   
   TF1 *ResoRowFit13 = new TF1("ResoRowFit13","gaus",-1,1);
   ResoRowFit13->SetFillColor(19);
   ResoRowFit13->SetFillStyle(0);
   ResoRowFit13->SetLineWidth(3);
   ResoRowFit13->SetChisquare(68.07398);
   ResoRowFit13->SetNDF(52);
   ResoRowFit13->SetParameter(0,68.88546);
   ResoRowFit13->SetParError(0,2.914726);
   ResoRowFit13->SetParLimits(0,0,0);
   ResoRowFit13->SetParameter(1,0.003681034);
   ResoRowFit13->SetParError(1,0.003813709);
   ResoRowFit13->SetParLimits(1,0,0);
   ResoRowFit13->SetParameter(2,0.1211615);
   ResoRowFit13->SetParError(2,0.003588389);
   ResoRowFit13->SetParLimits(2,0,1.52034);
   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 = 1119   ");
   text = ptstats->AddText("Mean  = -0.003416");
   text = ptstats->AddText("RMS   =  0.152");
   text = ptstats->AddText("#chi^{2} / ndf = 68.07 / 52");
   text = ptstats->AddText("Constant = 68.89 #pm 2.91 ");
   text = ptstats->AddText("Mean     = 0.003681 #pm 0.003814 ");
   text = ptstats->AddText("Sigma    = 0.1212 #pm 0.0036 ");
   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,-9.58125,1.25,86.23125);
   c2_2->SetFillColor(0);
   c2_2->SetBorderSize(2);
   
   TH1F *ResoRow15 = new TH1F("ResoRow15","",100,-1,1);
   ResoRow15->SetBinContent(2,1);
   ResoRow15->SetBinContent(5,1);
   ResoRow15->SetBinContent(11,1);
   ResoRow15->SetBinContent(18,1);
   ResoRow15->SetBinContent(19,1);
   ResoRow15->SetBinContent(22,1);
   ResoRow15->SetBinContent(26,2);
   ResoRow15->SetBinContent(29,2);
   ResoRow15->SetBinContent(30,3);
   ResoRow15->SetBinContent(31,3);
   ResoRow15->SetBinContent(32,3);
   ResoRow15->SetBinContent(33,7);
   ResoRow15->SetBinContent(34,3);
   ResoRow15->SetBinContent(35,3);
   ResoRow15->SetBinContent(36,12);
   ResoRow15->SetBinContent(37,9);
   ResoRow15->SetBinContent(38,12);
   ResoRow15->SetBinContent(39,9);
   ResoRow15->SetBinContent(40,14);
   ResoRow15->SetBinContent(41,22);
   ResoRow15->SetBinContent(42,35);
   ResoRow15->SetBinContent(43,32);
   ResoRow15->SetBinContent(44,36);
   ResoRow15->SetBinContent(45,33);
   ResoRow15->SetBinContent(46,47);
   ResoRow15->SetBinContent(47,64);
   ResoRow15->SetBinContent(48,70);
   ResoRow15->SetBinContent(49,66);
   ResoRow15->SetBinContent(50,70);
   ResoRow15->SetBinContent(51,68);
   ResoRow15->SetBinContent(52,70);
   ResoRow15->SetBinContent(53,72);
   ResoRow15->SetBinContent(54,73);
   ResoRow15->SetBinContent(55,57);
   ResoRow15->SetBinContent(56,46);
   ResoRow15->SetBinContent(57,24);
   ResoRow15->SetBinContent(58,25);
   ResoRow15->SetBinContent(59,28);
   ResoRow15->SetBinContent(60,15);
   ResoRow15->SetBinContent(61,10);
   ResoRow15->SetBinContent(62,9);
   ResoRow15->SetBinContent(63,14);
   ResoRow15->SetBinContent(64,9);
   ResoRow15->SetBinContent(65,6);
   ResoRow15->SetBinContent(66,2);
   ResoRow15->SetBinContent(67,5);
   ResoRow15->SetBinContent(68,7);
   ResoRow15->SetBinContent(69,1);
   ResoRow15->SetBinContent(70,4);
   ResoRow15->SetBinContent(72,2);
   ResoRow15->SetBinContent(75,1);
   ResoRow15->SetBinContent(77,1);
   ResoRow15->SetBinContent(81,2);
   ResoRow15->SetBinContent(86,1);
   ResoRow15->SetBinContent(92,1);
   ResoRow15->SetBinContent(101,3);
   ResoRow15->SetEntries(1119);
   
   TF1 *ResoRowFit15 = new TF1("ResoRowFit15","gaus",-1,1);
   ResoRowFit15->SetFillColor(19);
   ResoRowFit15->SetFillStyle(0);
   ResoRowFit15->SetLineWidth(3);
   ResoRowFit15->SetChisquare(80.8648);
   ResoRowFit15->SetNDF(52);
   ResoRowFit15->SetParameter(0,66.04168);
   ResoRowFit15->SetParError(0,2.837435);
   ResoRowFit15->SetParLimits(0,0,0);
   ResoRowFit15->SetParameter(1,-0.005477787);
   ResoRowFit15->SetParError(1,0.003922372);
   ResoRowFit15->SetParLimits(1,0,0);
   ResoRowFit15->SetParameter(2,0.1251383);
   ResoRowFit15->SetParError(2,0.003737803);
   ResoRowFit15->SetParLimits(2,0,1.562041);
   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 = 1119   ");
   text = ptstats->AddText("Mean  = -0.006476");
   text = ptstats->AddText("RMS   = 0.1563");
   text = ptstats->AddText("#chi^{2} / ndf = 80.86 / 52");
   text = ptstats->AddText("Constant = 66.04 #pm 2.84 ");
   text = ptstats->AddText("Mean     = -0.005478 #pm 0.003922 ");
   text = ptstats->AddText("Sigma    = 0.1251 #pm 0.0037 ");
   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_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 *ResoRow16 = new TH1F("ResoRow16","",100,-1,1);
   ResoRow16->SetBinContent(3,1);
   ResoRow16->SetBinContent(13,2);
   ResoRow16->SetBinContent(19,1);
   ResoRow16->SetBinContent(23,2);
   ResoRow16->SetBinContent(24,2);
   ResoRow16->SetBinContent(26,1);
   ResoRow16->SetBinContent(27,1);
   ResoRow16->SetBinContent(29,2);
   ResoRow16->SetBinContent(30,3);
   ResoRow16->SetBinContent(31,2);
   ResoRow16->SetBinContent(32,1);
   ResoRow16->SetBinContent(33,3);
   ResoRow16->SetBinContent(34,4);
   ResoRow16->SetBinContent(35,5);
   ResoRow16->SetBinContent(36,7);
   ResoRow16->SetBinContent(37,8);
   ResoRow16->SetBinContent(38,16);
   ResoRow16->SetBinContent(39,9);
   ResoRow16->SetBinContent(40,11);
   ResoRow16->SetBinContent(41,18);
   ResoRow16->SetBinContent(42,29);
   ResoRow16->SetBinContent(43,29);
   ResoRow16->SetBinContent(44,37);
   ResoRow16->SetBinContent(45,48);
   ResoRow16->SetBinContent(46,57);
   ResoRow16->SetBinContent(47,61);
   ResoRow16->SetBinContent(48,57);
   ResoRow16->SetBinContent(49,66);
   ResoRow16->SetBinContent(50,76);
   ResoRow16->SetBinContent(51,62);
   ResoRow16->SetBinContent(52,86);
   ResoRow16->SetBinContent(53,68);
   ResoRow16->SetBinContent(54,63);
   ResoRow16->SetBinContent(55,57);
   ResoRow16->SetBinContent(56,38);
   ResoRow16->SetBinContent(57,37);
   ResoRow16->SetBinContent(58,28);
   ResoRow16->SetBinContent(59,28);
   ResoRow16->SetBinContent(60,21);
   ResoRow16->SetBinContent(61,12);
   ResoRow16->SetBinContent(62,14);
   ResoRow16->SetBinContent(63,7);
   ResoRow16->SetBinContent(64,5);
   ResoRow16->SetBinContent(65,7);
   ResoRow16->SetBinContent(66,5);
   ResoRow16->SetBinContent(67,4);
   ResoRow16->SetBinContent(68,2);
   ResoRow16->SetBinContent(69,2);
   ResoRow16->SetBinContent(70,2);
   ResoRow16->SetBinContent(71,1);
   ResoRow16->SetBinContent(73,1);
   ResoRow16->SetBinContent(75,1);
   ResoRow16->SetBinContent(78,1);
   ResoRow16->SetBinContent(81,1);
   ResoRow16->SetBinContent(101,7);
   ResoRow16->SetEntries(1119);
   
   TF1 *ResoRowFit16 = new TF1("ResoRowFit16","gaus",-1,1);
   ResoRowFit16->SetFillColor(19);
   ResoRowFit16->SetFillStyle(0);
   ResoRowFit16->SetLineWidth(3);
   ResoRowFit16->SetChisquare(50.09591);
   ResoRowFit16->SetNDF(51);
   ResoRowFit16->SetParameter(0,67.71851);
   ResoRowFit16->SetParError(0,2.806177);
   ResoRowFit16->SetParLimits(0,0,0);
   ResoRowFit16->SetParameter(1,-0.000684287);
   ResoRowFit16->SetParError(1,0.003853969);
   ResoRowFit16->SetParLimits(1,0,0);
   ResoRowFit16->SetParameter(2,0.1251643);
   ResoRowFit16->SetParError(2,0.003500321);
   ResoRowFit16->SetParLimits(2,0,1.47051);
   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 = 1119   ");
   text = ptstats->AddText("Mean  = -0.006269");
   text = ptstats->AddText("RMS   =  0.147");
   text = ptstats->AddText("#chi^{2} / ndf =  50.1 / 51");
   text = ptstats->AddText("Constant = 67.72 #pm 2.81 ");
   text = ptstats->AddText("Mean     = -0.0006843 #pm 0.0038540 ");
   text = ptstats->AddText("Sigma    = 0.1252 #pm 0.0035 ");
   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_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,-9.84375,1.25,88.59375);
   c2_4->SetFillColor(0);
   c2_4->SetBorderSize(2);
   
   TH1F *ResoRow17 = new TH1F("ResoRow17","",100,-1,1);
   ResoRow17->SetBinContent(0,2);
   ResoRow17->SetBinContent(17,1);
   ResoRow17->SetBinContent(19,1);
   ResoRow17->SetBinContent(20,1);
   ResoRow17->SetBinContent(21,1);
   ResoRow17->SetBinContent(28,1);
   ResoRow17->SetBinContent(29,1);
   ResoRow17->SetBinContent(30,1);
   ResoRow17->SetBinContent(31,3);
   ResoRow17->SetBinContent(32,2);
   ResoRow17->SetBinContent(33,5);
   ResoRow17->SetBinContent(34,5);
   ResoRow17->SetBinContent(35,7);
   ResoRow17->SetBinContent(36,7);
   ResoRow17->SetBinContent(37,11);
   ResoRow17->SetBinContent(38,9);
   ResoRow17->SetBinContent(39,17);
   ResoRow17->SetBinContent(40,14);
   ResoRow17->SetBinContent(41,25);
   ResoRow17->SetBinContent(42,26);
   ResoRow17->SetBinContent(43,34);
   ResoRow17->SetBinContent(44,37);
   ResoRow17->SetBinContent(45,48);
   ResoRow17->SetBinContent(46,46);
   ResoRow17->SetBinContent(47,61);
   ResoRow17->SetBinContent(48,75);
   ResoRow17->SetBinContent(49,66);
   ResoRow17->SetBinContent(50,69);
   ResoRow17->SetBinContent(51,68);
   ResoRow17->SetBinContent(52,71);
   ResoRow17->SetBinContent(53,63);
   ResoRow17->SetBinContent(54,55);
   ResoRow17->SetBinContent(55,52);
   ResoRow17->SetBinContent(56,47);
   ResoRow17->SetBinContent(57,41);
   ResoRow17->SetBinContent(58,22);
   ResoRow17->SetBinContent(59,24);
   ResoRow17->SetBinContent(60,21);
   ResoRow17->SetBinContent(61,15);
   ResoRow17->SetBinContent(62,10);
   ResoRow17->SetBinContent(63,13);
   ResoRow17->SetBinContent(64,10);
   ResoRow17->SetBinContent(65,3);
   ResoRow17->SetBinContent(66,4);
   ResoRow17->SetBinContent(67,5);
   ResoRow17->SetBinContent(68,3);
   ResoRow17->SetBinContent(69,3);
   ResoRow17->SetBinContent(70,1);
   ResoRow17->SetBinContent(71,1);
   ResoRow17->SetBinContent(72,1);
   ResoRow17->SetBinContent(74,1);
   ResoRow17->SetBinContent(75,1);
   ResoRow17->SetBinContent(80,1);
   ResoRow17->SetBinContent(82,1);
   ResoRow17->SetBinContent(86,1);
   ResoRow17->SetBinContent(101,5);
   ResoRow17->SetEntries(1119);
   
   TF1 *ResoRowFit17 = new TF1("ResoRowFit17","gaus",-1,1);
   ResoRowFit17->SetFillColor(19);
   ResoRowFit17->SetFillStyle(0);
   ResoRowFit17->SetLineWidth(3);
   ResoRowFit17->SetChisquare(38.864);
   ResoRowFit17->SetNDF(51);
   ResoRowFit17->SetParameter(0,65.14638);
   ResoRowFit17->SetParError(0,2.672602);
   ResoRowFit17->SetParLimits(0,0,0);
   ResoRowFit17->SetParameter(1,-0.006524066);
   ResoRowFit17->SetParError(1,0.004036322);
   ResoRowFit17->SetParLimits(1,0,0);
   ResoRowFit17->SetParameter(2,0.1314954);
   ResoRowFit17->SetParError(2,0.003624625);
   ResoRowFit17->SetParLimits(2,0,1.459714);
   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 = 1119   ");
   text = ptstats->AddText("Mean  = -0.006066");
   text = ptstats->AddText("RMS   = 0.1458");
   text = ptstats->AddText("#chi^{2} / ndf = 38.86 / 51");
   text = ptstats->AddText("Constant = 65.15 #pm 2.67 ");
   text = ptstats->AddText("Mean     = -0.006524 #pm 0.004036 ");
   text = ptstats->AddText("Sigma    = 0.1315 #pm 0.0036 ");
   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_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,-11.2875,1.25,101.5875);
   c2_5->SetFillColor(0);
   c2_5->SetBorderSize(2);
   
   TH1F *ResoRow18 = new TH1F("ResoRow18","",100,-1,1);
   ResoRow18->SetBinContent(0,1);
   ResoRow18->SetBinContent(13,1);
   ResoRow18->SetBinContent(15,1);
   ResoRow18->SetBinContent(16,1);
   ResoRow18->SetBinContent(17,2);
   ResoRow18->SetBinContent(20,2);
   ResoRow18->SetBinContent(22,1);
   ResoRow18->SetBinContent(23,1);
   ResoRow18->SetBinContent(24,1);
   ResoRow18->SetBinContent(26,3);
   ResoRow18->SetBinContent(30,1);
   ResoRow18->SetBinContent(31,2);
   ResoRow18->SetBinContent(32,1);
   ResoRow18->SetBinContent(33,3);
   ResoRow18->SetBinContent(34,3);
   ResoRow18->SetBinContent(35,3);
   ResoRow18->SetBinContent(36,6);
   ResoRow18->SetBinContent(37,6);
   ResoRow18->SetBinContent(38,12);
   ResoRow18->SetBinContent(39,8);
   ResoRow18->SetBinContent(40,13);
   ResoRow18->SetBinContent(41,23);
   ResoRow18->SetBinContent(42,18);
   ResoRow18->SetBinContent(43,23);
   ResoRow18->SetBinContent(44,29);
   ResoRow18->SetBinContent(45,42);
   ResoRow18->SetBinContent(46,58);
   ResoRow18->SetBinContent(47,66);
   ResoRow18->SetBinContent(48,69);
   ResoRow18->SetBinContent(49,69);
   ResoRow18->SetBinContent(50,74);
   ResoRow18->SetBinContent(51,86);
   ResoRow18->SetBinContent(52,67);
   ResoRow18->SetBinContent(53,79);
   ResoRow18->SetBinContent(54,72);
   ResoRow18->SetBinContent(55,47);
   ResoRow18->SetBinContent(56,43);
   ResoRow18->SetBinContent(57,48);
   ResoRow18->SetBinContent(58,18);
   ResoRow18->SetBinContent(59,27);
   ResoRow18->SetBinContent(60,18);
   ResoRow18->SetBinContent(61,13);
   ResoRow18->SetBinContent(62,14);
   ResoRow18->SetBinContent(63,9);
   ResoRow18->SetBinContent(64,5);
   ResoRow18->SetBinContent(65,7);
   ResoRow18->SetBinContent(66,7);
   ResoRow18->SetBinContent(67,2);
   ResoRow18->SetBinContent(68,1);
   ResoRow18->SetBinContent(69,3);
   ResoRow18->SetBinContent(70,2);
   ResoRow18->SetBinContent(71,1);
   ResoRow18->SetBinContent(73,2);
   ResoRow18->SetBinContent(101,5);
   ResoRow18->SetEntries(1119);
   
   TF1 *ResoRowFit18 = new TF1("ResoRowFit18","gaus",-1,1);
   ResoRowFit18->SetFillColor(19);
   ResoRowFit18->SetFillStyle(0);
   ResoRowFit18->SetLineWidth(3);
   ResoRowFit18->SetChisquare(66.26846);
   ResoRowFit18->SetNDF(49);
   ResoRowFit18->SetParameter(0,70.91715);
   ResoRowFit18->SetParError(0,3.042608);
   ResoRowFit18->SetParLimits(0,0,0);
   ResoRowFit18->SetParameter(1,0.002601882);
   ResoRowFit18->SetParError(1,0.003648502);
   ResoRowFit18->SetParLimits(1,0,0);
   ResoRowFit18->SetParameter(2,0.1178017);
   ResoRowFit18->SetParError(2,0.003517988);
   ResoRowFit18->SetParLimits(2,0,1.414988);
   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 = 1119   ");
   text = ptstats->AddText("Mean  = -0.002623");
   text = ptstats->AddText("RMS   = 0.1416");
   text = ptstats->AddText("#chi^{2} / ndf = 66.27 / 49");
   text = ptstats->AddText("Constant = 70.92 #pm 3.04 ");
   text = ptstats->AddText("Mean     = 0.002602 #pm 0.003649 ");
   text = ptstats->AddText("Sigma    = 0.1178 #pm 0.0035 ");
   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_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,-10.7625,1.25,96.8625);
   c2_6->SetFillColor(0);
   c2_6->SetBorderSize(2);
   
   TH1F *ResoRow19 = new TH1F("ResoRow19","",100,-1,1);
   ResoRow19->SetBinContent(0,2);
   ResoRow19->SetBinContent(14,1);
   ResoRow19->SetBinContent(17,1);
   ResoRow19->SetBinContent(20,2);
   ResoRow19->SetBinContent(29,1);
   ResoRow19->SetBinContent(30,1);
   ResoRow19->SetBinContent(31,4);
   ResoRow19->SetBinContent(32,4);
   ResoRow19->SetBinContent(33,3);
   ResoRow19->SetBinContent(34,4);
   ResoRow19->SetBinContent(35,5);
   ResoRow19->SetBinContent(36,6);
   ResoRow19->SetBinContent(37,8);
   ResoRow19->SetBinContent(38,6);
   ResoRow19->SetBinContent(39,13);
   ResoRow19->SetBinContent(40,13);
   ResoRow19->SetBinContent(41,26);
   ResoRow19->SetBinContent(42,27);
   ResoRow19->SetBinContent(43,29);
   ResoRow19->SetBinContent(44,37);
   ResoRow19->SetBinContent(45,52);
   ResoRow19->SetBinContent(46,55);
   ResoRow19->SetBinContent(47,52);
   ResoRow19->SetBinContent(48,77);
   ResoRow19->SetBinContent(49,81);
   ResoRow19->SetBinContent(50,66);
   ResoRow19->SetBinContent(51,75);
   ResoRow19->SetBinContent(52,82);
   ResoRow19->SetBinContent(53,62);
   ResoRow19->SetBinContent(54,56);
   ResoRow19->SetBinContent(55,44);
   ResoRow19->SetBinContent(56,39);
   ResoRow19->SetBinContent(57,40);
   ResoRow19->SetBinContent(58,30);
   ResoRow19->SetBinContent(59,20);
   ResoRow19->SetBinContent(60,17);
   ResoRow19->SetBinContent(61,16);
   ResoRow19->SetBinContent(62,10);
   ResoRow19->SetBinContent(63,10);
   ResoRow19->SetBinContent(64,9);
   ResoRow19->SetBinContent(65,5);
   ResoRow19->SetBinContent(66,4);
   ResoRow19->SetBinContent(67,6);
   ResoRow19->SetBinContent(68,2);
   ResoRow19->SetBinContent(69,4);
   ResoRow19->SetBinContent(70,3);
   ResoRow19->SetBinContent(71,4);
   ResoRow19->SetBinContent(72,2);
   ResoRow19->SetBinContent(73,1);
   ResoRow19->SetBinContent(74,1);
   ResoRow19->SetBinContent(75,1);
   ResoRow19->SetEntries(1119);
   
   TF1 *ResoRowFit19 = new TF1("ResoRowFit19","gaus",-1,1);
   ResoRowFit19->SetFillColor(19);
   ResoRowFit19->SetFillStyle(0);
   ResoRowFit19->SetLineWidth(3);
   ResoRowFit19->SetChisquare(51.065);
   ResoRowFit19->SetNDF(47);
   ResoRowFit19->SetParameter(0,67.73756);
   ResoRowFit19->SetParError(0,2.861511);
   ResoRowFit19->SetParLimits(0,0,0);
   ResoRowFit19->SetParameter(1,-0.004012656);
   ResoRowFit19->SetParError(1,0.003866652);
   ResoRowFit19->SetParLimits(1,0,0);
   ResoRowFit19->SetParameter(2,0.1255928);
   ResoRowFit19->SetParError(2,0.003666489);
   ResoRowFit19->SetParLimits(2,0,1.423535);
   ResoRow19->GetListOfFunctions()->Add(ResoRowFit19);
   
   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("ResoRow19");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1119   ");
   text = ptstats->AddText("Mean  = -0.003574");
   text = ptstats->AddText("RMS   = 0.1424");
   text = ptstats->AddText("#chi^{2} / ndf = 51.07 / 47");
   text = ptstats->AddText("Constant = 67.74 #pm 2.86 ");
   text = ptstats->AddText("Mean     = -0.004013 #pm 0.003867 ");
   text = ptstats->AddText("Sigma    = 0.1256 #pm 0.0037 ");
   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_6->Modified();
   c2->cd();
   c2->Modified();
   c2->cd();
   c2->SetSelected(c2);
}
