{
//=========Macro generated from canvas: c2/
//=========  (Tue Jun  8 19:06:34 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,-12.8625,1.25,115.7625);
   c2_1->SetFillColor(0);
   c2_1->SetBorderSize(2);
   
   TH1F *ResoRow18 = new TH1F("ResoRow18","",100,-1,1);
   ResoRow18->SetBinContent(0,4);
   ResoRow18->SetBinContent(3,1);
   ResoRow18->SetBinContent(20,1);
   ResoRow18->SetBinContent(21,1);
   ResoRow18->SetBinContent(31,1);
   ResoRow18->SetBinContent(32,4);
   ResoRow18->SetBinContent(33,1);
   ResoRow18->SetBinContent(34,3);
   ResoRow18->SetBinContent(35,2);
   ResoRow18->SetBinContent(36,4);
   ResoRow18->SetBinContent(37,4);
   ResoRow18->SetBinContent(38,9);
   ResoRow18->SetBinContent(39,10);
   ResoRow18->SetBinContent(40,17);
   ResoRow18->SetBinContent(41,13);
   ResoRow18->SetBinContent(42,34);
   ResoRow18->SetBinContent(43,37);
   ResoRow18->SetBinContent(44,28);
   ResoRow18->SetBinContent(45,50);
   ResoRow18->SetBinContent(46,53);
   ResoRow18->SetBinContent(47,63);
   ResoRow18->SetBinContent(48,72);
   ResoRow18->SetBinContent(49,92);
   ResoRow18->SetBinContent(50,88);
   ResoRow18->SetBinContent(51,98);
   ResoRow18->SetBinContent(52,63);
   ResoRow18->SetBinContent(53,77);
   ResoRow18->SetBinContent(54,51);
   ResoRow18->SetBinContent(55,55);
   ResoRow18->SetBinContent(56,40);
   ResoRow18->SetBinContent(57,31);
   ResoRow18->SetBinContent(58,32);
   ResoRow18->SetBinContent(59,22);
   ResoRow18->SetBinContent(60,13);
   ResoRow18->SetBinContent(61,14);
   ResoRow18->SetBinContent(62,13);
   ResoRow18->SetBinContent(63,8);
   ResoRow18->SetBinContent(64,3);
   ResoRow18->SetBinContent(65,2);
   ResoRow18->SetBinContent(66,5);
   ResoRow18->SetBinContent(67,2);
   ResoRow18->SetBinContent(70,1);
   ResoRow18->SetBinContent(71,1);
   ResoRow18->SetBinContent(72,1);
   ResoRow18->SetBinContent(73,2);
   ResoRow18->SetBinContent(78,1);
   ResoRow18->SetBinContent(86,1);
   ResoRow18->SetBinContent(101,3);
   ResoRow18->SetEntries(1131);
   
   TF1 *ResoRowFit18 = new TF1("ResoRowFit18","gaus",-1,1);
   ResoRowFit18->SetFillColor(19);
   ResoRowFit18->SetFillStyle(0);
   ResoRowFit18->SetLineWidth(3);
   ResoRowFit18->SetChisquare(51.61111);
   ResoRowFit18->SetNDF(43);
   ResoRowFit18->SetParameter(0,76.46664);
   ResoRowFit18->SetParError(0,3.073182);
   ResoRowFit18->SetParLimits(0,0,0);
   ResoRowFit18->SetParameter(1,-0.004820851);
   ResoRowFit18->SetParError(1,0.003438499);
   ResoRowFit18->SetParLimits(1,0,0);
   ResoRowFit18->SetParameter(2,0.1120046);
   ResoRowFit18->SetParError(2,0.002955363);
   ResoRowFit18->SetParLimits(2,0,1.271313);
   ResoRow18->GetListOfFunctions()->Add(ResoRowFit18);
   
   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("ResoRow18");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1131   ");
   text = ptstats->AddText("Mean  = -0.005324");
   text = ptstats->AddText("RMS   =  0.127");
   text = ptstats->AddText("#chi^{2} / ndf = 51.61 / 43");
   text = ptstats->AddText("Constant = 76.47 #pm 3.07 ");
   text = ptstats->AddText("Mean     = -0.004821 #pm 0.003438 ");
   text = ptstats->AddText("Sigma    = 0.112 #pm 0.003 ");
   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_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,-12.6,1.25,113.4);
   c2_2->SetFillColor(0);
   c2_2->SetBorderSize(2);
   
   TH1F *ResoRow19 = new TH1F("ResoRow19","",100,-1,1);
   ResoRow19->SetBinContent(0,5);
   ResoRow19->SetBinContent(4,1);
   ResoRow19->SetBinContent(21,1);
   ResoRow19->SetBinContent(32,2);
   ResoRow19->SetBinContent(34,3);
   ResoRow19->SetBinContent(35,1);
   ResoRow19->SetBinContent(36,8);
   ResoRow19->SetBinContent(37,7);
   ResoRow19->SetBinContent(38,9);
   ResoRow19->SetBinContent(39,15);
   ResoRow19->SetBinContent(40,13);
   ResoRow19->SetBinContent(41,24);
   ResoRow19->SetBinContent(42,27);
   ResoRow19->SetBinContent(43,29);
   ResoRow19->SetBinContent(44,39);
   ResoRow19->SetBinContent(45,43);
   ResoRow19->SetBinContent(46,57);
   ResoRow19->SetBinContent(47,68);
   ResoRow19->SetBinContent(48,96);
   ResoRow19->SetBinContent(49,68);
   ResoRow19->SetBinContent(50,92);
   ResoRow19->SetBinContent(51,74);
   ResoRow19->SetBinContent(52,66);
   ResoRow19->SetBinContent(53,70);
   ResoRow19->SetBinContent(54,58);
   ResoRow19->SetBinContent(55,55);
   ResoRow19->SetBinContent(56,49);
   ResoRow19->SetBinContent(57,43);
   ResoRow19->SetBinContent(58,23);
   ResoRow19->SetBinContent(59,19);
   ResoRow19->SetBinContent(60,19);
   ResoRow19->SetBinContent(61,11);
   ResoRow19->SetBinContent(62,5);
   ResoRow19->SetBinContent(63,4);
   ResoRow19->SetBinContent(64,6);
   ResoRow19->SetBinContent(65,6);
   ResoRow19->SetBinContent(66,2);
   ResoRow19->SetBinContent(67,2);
   ResoRow19->SetBinContent(68,1);
   ResoRow19->SetBinContent(72,2);
   ResoRow19->SetBinContent(74,2);
   ResoRow19->SetBinContent(82,3);
   ResoRow19->SetBinContent(89,1);
   ResoRow19->SetBinContent(101,2);
   ResoRow19->SetEntries(1131);
   
   TF1 *ResoRowFit19 = new TF1("ResoRowFit19","gaus",-1,1);
   ResoRowFit19->SetFillColor(19);
   ResoRowFit19->SetFillStyle(0);
   ResoRowFit19->SetLineWidth(3);
   ResoRowFit19->SetChisquare(42.99413);
   ResoRowFit19->SetNDF(39);
   ResoRowFit19->SetParameter(0,76.91816);
   ResoRowFit19->SetParError(0,3.000378);
   ResoRowFit19->SetParLimits(0,0,0);
   ResoRowFit19->SetParameter(1,-0.008406071);
   ResoRowFit19->SetParError(1,0.003451497);
   ResoRowFit19->SetParLimits(1,0,0);
   ResoRowFit19->SetParameter(2,0.1123171);
   ResoRowFit19->SetParError(2,0.002789176);
   ResoRowFit19->SetParLimits(2,0,1.2891);
   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 = 1131   ");
   text = ptstats->AddText("Mean  = -0.006072");
   text = ptstats->AddText("RMS   = 0.1284");
   text = ptstats->AddText("#chi^{2} / ndf = 42.99 / 39");
   text = ptstats->AddText("Constant = 76.92 #pm 3.00 ");
   text = ptstats->AddText("Mean     = -0.008406 #pm 0.003451 ");
   text = ptstats->AddText("Sigma    = 0.1123 #pm 0.0028 ");
   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_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,-12.73125,1.25,114.5813);
   c2_3->SetFillColor(0);
   c2_3->SetBorderSize(2);
   
   TH1F *ResoRow20 = new TH1F("ResoRow20","",100,-1,1);
   ResoRow20->SetBinContent(0,6);
   ResoRow20->SetBinContent(4,1);
   ResoRow20->SetBinContent(9,1);
   ResoRow20->SetBinContent(10,1);
   ResoRow20->SetBinContent(25,1);
   ResoRow20->SetBinContent(26,1);
   ResoRow20->SetBinContent(28,1);
   ResoRow20->SetBinContent(30,1);
   ResoRow20->SetBinContent(31,2);
   ResoRow20->SetBinContent(32,1);
   ResoRow20->SetBinContent(33,3);
   ResoRow20->SetBinContent(34,1);
   ResoRow20->SetBinContent(35,5);
   ResoRow20->SetBinContent(36,3);
   ResoRow20->SetBinContent(37,5);
   ResoRow20->SetBinContent(38,10);
   ResoRow20->SetBinContent(39,8);
   ResoRow20->SetBinContent(40,13);
   ResoRow20->SetBinContent(41,12);
   ResoRow20->SetBinContent(42,23);
   ResoRow20->SetBinContent(43,26);
   ResoRow20->SetBinContent(44,36);
   ResoRow20->SetBinContent(45,39);
   ResoRow20->SetBinContent(46,45);
   ResoRow20->SetBinContent(47,78);
   ResoRow20->SetBinContent(48,70);
   ResoRow20->SetBinContent(49,97);
   ResoRow20->SetBinContent(50,79);
   ResoRow20->SetBinContent(51,84);
   ResoRow20->SetBinContent(52,92);
   ResoRow20->SetBinContent(53,67);
   ResoRow20->SetBinContent(54,56);
   ResoRow20->SetBinContent(55,54);
   ResoRow20->SetBinContent(56,46);
   ResoRow20->SetBinContent(57,43);
   ResoRow20->SetBinContent(58,20);
   ResoRow20->SetBinContent(59,23);
   ResoRow20->SetBinContent(60,25);
   ResoRow20->SetBinContent(61,14);
   ResoRow20->SetBinContent(62,9);
   ResoRow20->SetBinContent(63,4);
   ResoRow20->SetBinContent(64,4);
   ResoRow20->SetBinContent(65,4);
   ResoRow20->SetBinContent(66,3);
   ResoRow20->SetBinContent(67,1);
   ResoRow20->SetBinContent(68,1);
   ResoRow20->SetBinContent(70,1);
   ResoRow20->SetBinContent(72,1);
   ResoRow20->SetBinContent(77,1);
   ResoRow20->SetBinContent(79,1);
   ResoRow20->SetBinContent(84,1);
   ResoRow20->SetBinContent(86,1);
   ResoRow20->SetBinContent(88,1);
   ResoRow20->SetBinContent(93,1);
   ResoRow20->SetBinContent(101,4);
   ResoRow20->SetEntries(1131);
   
   TF1 *ResoRowFit20 = new TF1("ResoRowFit20","gaus",-1,1);
   ResoRowFit20->SetFillColor(19);
   ResoRowFit20->SetFillStyle(0);
   ResoRowFit20->SetLineWidth(3);
   ResoRowFit20->SetChisquare(54.87928);
   ResoRowFit20->SetNDF(50);
   ResoRowFit20->SetParameter(0,78.14597);
   ResoRowFit20->SetParError(0,3.193599);
   ResoRowFit20->SetParLimits(0,0,0);
   ResoRowFit20->SetParameter(1,0.0009093315);
   ResoRowFit20->SetParError(1,0.003343742);
   ResoRowFit20->SetParLimits(1,0,0);
   ResoRowFit20->SetParameter(2,0.1088921);
   ResoRowFit20->SetParError(2,0.002958134);
   ResoRowFit20->SetParLimits(2,0,1.350309);
   ResoRow20->GetListOfFunctions()->Add(ResoRowFit20);
   
   ptstats = new TPaveStats(0.62,0.635,0.98,0.995,"brNDC");
   ptstats->SetName("stats");
   ptstats->SetBorderSize(2);
   ptstats->SetFillColor(19);
   ptstats->SetTextAlign(12);
   text = ptstats->AddText("ResoRow20");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1131   ");
   text = ptstats->AddText("Mean  = -0.0006781");
   text = ptstats->AddText("RMS   = 0.1352");
   text = ptstats->AddText("#chi^{2} / ndf = 54.88 / 50");
   text = ptstats->AddText("Constant = 78.15 #pm 3.19 ");
   text = ptstats->AddText("Mean     = 0.0009093 #pm 0.0033437 ");
   text = ptstats->AddText("Sigma    = 0.1089 #pm 0.0030 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow20->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow20->GetListOfFunctions());
   ResoRow20->GetXaxis()->SetTitle("residual / mm");
   ResoRow20->GetYaxis()->SetTitle("counts");
   ResoRow20->Draw("");
   c2_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.2875,1.25,101.5875);
   c2_4->SetFillColor(0);
   c2_4->SetBorderSize(2);
   
   TH1F *ResoRow21 = new TH1F("ResoRow21","",100,-1,1);
   ResoRow21->SetBinContent(0,6);
   ResoRow21->SetBinContent(5,1);
   ResoRow21->SetBinContent(8,1);
   ResoRow21->SetBinContent(25,1);
   ResoRow21->SetBinContent(27,3);
   ResoRow21->SetBinContent(29,2);
   ResoRow21->SetBinContent(30,2);
   ResoRow21->SetBinContent(31,1);
   ResoRow21->SetBinContent(32,3);
   ResoRow21->SetBinContent(33,3);
   ResoRow21->SetBinContent(34,1);
   ResoRow21->SetBinContent(35,4);
   ResoRow21->SetBinContent(36,3);
   ResoRow21->SetBinContent(37,4);
   ResoRow21->SetBinContent(38,12);
   ResoRow21->SetBinContent(39,8);
   ResoRow21->SetBinContent(40,11);
   ResoRow21->SetBinContent(41,20);
   ResoRow21->SetBinContent(42,24);
   ResoRow21->SetBinContent(43,46);
   ResoRow21->SetBinContent(44,32);
   ResoRow21->SetBinContent(45,39);
   ResoRow21->SetBinContent(46,58);
   ResoRow21->SetBinContent(47,64);
   ResoRow21->SetBinContent(48,79);
   ResoRow21->SetBinContent(49,77);
   ResoRow21->SetBinContent(50,86);
   ResoRow21->SetBinContent(51,84);
   ResoRow21->SetBinContent(52,63);
   ResoRow21->SetBinContent(53,62);
   ResoRow21->SetBinContent(54,61);
   ResoRow21->SetBinContent(55,63);
   ResoRow21->SetBinContent(56,41);
   ResoRow21->SetBinContent(57,31);
   ResoRow21->SetBinContent(58,28);
   ResoRow21->SetBinContent(59,15);
   ResoRow21->SetBinContent(60,19);
   ResoRow21->SetBinContent(61,15);
   ResoRow21->SetBinContent(62,11);
   ResoRow21->SetBinContent(63,9);
   ResoRow21->SetBinContent(64,7);
   ResoRow21->SetBinContent(65,6);
   ResoRow21->SetBinContent(66,2);
   ResoRow21->SetBinContent(67,3);
   ResoRow21->SetBinContent(68,2);
   ResoRow21->SetBinContent(69,2);
   ResoRow21->SetBinContent(71,1);
   ResoRow21->SetBinContent(72,2);
   ResoRow21->SetBinContent(73,2);
   ResoRow21->SetBinContent(74,2);
   ResoRow21->SetBinContent(78,1);
   ResoRow21->SetBinContent(79,1);
   ResoRow21->SetBinContent(80,1);
   ResoRow21->SetBinContent(83,1);
   ResoRow21->SetBinContent(86,1);
   ResoRow21->SetBinContent(101,4);
   ResoRow21->SetEntries(1131);
   
   TF1 *ResoRowFit21 = new TF1("ResoRowFit21","gaus",-1,1);
   ResoRowFit21->SetFillColor(19);
   ResoRowFit21->SetFillStyle(0);
   ResoRowFit21->SetLineWidth(3);
   ResoRowFit21->SetChisquare(61.07211);
   ResoRowFit21->SetNDF(51);
   ResoRowFit21->SetParameter(0,73.43266);
   ResoRowFit21->SetParError(0,3.023816);
   ResoRowFit21->SetParLimits(0,0,0);
   ResoRowFit21->SetParameter(1,-0.003183712);
   ResoRowFit21->SetParError(1,0.003574731);
   ResoRowFit21->SetParLimits(1,0,0);
   ResoRowFit21->SetParameter(2,0.1151976);
   ResoRowFit21->SetParError(2,0.003168569);
   ResoRowFit21->SetParLimits(2,0,1.409232);
   ResoRow21->GetListOfFunctions()->Add(ResoRowFit21);
   
   ptstats = new TPaveStats(0.62,0.635,0.98,0.995,"brNDC");
   ptstats->SetName("stats");
   ptstats->SetBorderSize(2);
   ptstats->SetFillColor(19);
   ptstats->SetTextAlign(12);
   text = ptstats->AddText("ResoRow21");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1131   ");
   text = ptstats->AddText("Mean  = -0.003046");
   text = ptstats->AddText("RMS   = 0.1406");
   text = ptstats->AddText("#chi^{2} / ndf = 61.07 / 51");
   text = ptstats->AddText("Constant = 73.43 #pm 3.02 ");
   text = ptstats->AddText("Mean     = -0.003184 #pm 0.003575 ");
   text = ptstats->AddText("Sigma    = 0.1152 #pm 0.0032 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow21->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow21->GetListOfFunctions());
   ResoRow21->GetXaxis()->SetTitle("residual / mm");
   ResoRow21->GetYaxis()->SetTitle("counts");
   ResoRow21->Draw("");
   c2_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.55,1.25,103.95);
   c2_5->SetFillColor(0);
   c2_5->SetBorderSize(2);
   
   TH1F *ResoRow22 = new TH1F("ResoRow22","",100,-1,1);
   ResoRow22->SetBinContent(0,6);
   ResoRow22->SetBinContent(2,2);
   ResoRow22->SetBinContent(6,1);
   ResoRow22->SetBinContent(11,1);
   ResoRow22->SetBinContent(20,1);
   ResoRow22->SetBinContent(21,1);
   ResoRow22->SetBinContent(26,1);
   ResoRow22->SetBinContent(27,1);
   ResoRow22->SetBinContent(29,1);
   ResoRow22->SetBinContent(30,1);
   ResoRow22->SetBinContent(32,3);
   ResoRow22->SetBinContent(33,4);
   ResoRow22->SetBinContent(34,4);
   ResoRow22->SetBinContent(35,8);
   ResoRow22->SetBinContent(36,6);
   ResoRow22->SetBinContent(37,6);
   ResoRow22->SetBinContent(38,11);
   ResoRow22->SetBinContent(39,6);
   ResoRow22->SetBinContent(40,10);
   ResoRow22->SetBinContent(41,14);
   ResoRow22->SetBinContent(42,23);
   ResoRow22->SetBinContent(43,35);
   ResoRow22->SetBinContent(44,43);
   ResoRow22->SetBinContent(45,56);
   ResoRow22->SetBinContent(46,54);
   ResoRow22->SetBinContent(47,55);
   ResoRow22->SetBinContent(48,78);
   ResoRow22->SetBinContent(49,77);
   ResoRow22->SetBinContent(50,85);
   ResoRow22->SetBinContent(51,69);
   ResoRow22->SetBinContent(52,82);
   ResoRow22->SetBinContent(53,88);
   ResoRow22->SetBinContent(54,59);
   ResoRow22->SetBinContent(55,51);
   ResoRow22->SetBinContent(56,28);
   ResoRow22->SetBinContent(57,30);
   ResoRow22->SetBinContent(58,30);
   ResoRow22->SetBinContent(59,15);
   ResoRow22->SetBinContent(60,16);
   ResoRow22->SetBinContent(61,15);
   ResoRow22->SetBinContent(62,12);
   ResoRow22->SetBinContent(63,8);
   ResoRow22->SetBinContent(64,9);
   ResoRow22->SetBinContent(65,1);
   ResoRow22->SetBinContent(66,4);
   ResoRow22->SetBinContent(68,1);
   ResoRow22->SetBinContent(69,2);
   ResoRow22->SetBinContent(70,5);
   ResoRow22->SetBinContent(73,1);
   ResoRow22->SetBinContent(74,1);
   ResoRow22->SetBinContent(77,3);
   ResoRow22->SetBinContent(78,1);
   ResoRow22->SetBinContent(85,2);
   ResoRow22->SetBinContent(101,4);
   ResoRow22->SetEntries(1131);
   
   TF1 *ResoRowFit22 = new TF1("ResoRowFit22","gaus",-1,1);
   ResoRowFit22->SetFillColor(19);
   ResoRowFit22->SetFillStyle(0);
   ResoRowFit22->SetLineWidth(3);
   ResoRowFit22->SetChisquare(80.6977);
   ResoRowFit22->SetNDF(49);
   ResoRowFit22->SetParameter(0,75.22057);
   ResoRowFit22->SetParError(0,3.166792);
   ResoRowFit22->SetParLimits(0,0,0);
   ResoRowFit22->SetParameter(1,-0.006986356);
   ResoRowFit22->SetParError(1,0.003443188);
   ResoRowFit22->SetParLimits(1,0,0);
   ResoRowFit22->SetParameter(2,0.1104562);
   ResoRowFit22->SetParError(2,0.003174718);
   ResoRowFit22->SetParLimits(2,0,1.454793);
   ResoRow22->GetListOfFunctions()->Add(ResoRowFit22);
   
   ptstats = new TPaveStats(0.62,0.635,0.98,0.995,"brNDC");
   ptstats->SetName("stats");
   ptstats->SetBorderSize(2);
   ptstats->SetFillColor(19);
   ptstats->SetTextAlign(12);
   text = ptstats->AddText("ResoRow22");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1131   ");
   text = ptstats->AddText("Mean  = -0.00786");
   text = ptstats->AddText("RMS   = 0.1455");
   text = ptstats->AddText("#chi^{2} / ndf =  80.7 / 49");
   text = ptstats->AddText("Constant = 75.22 #pm 3.17 ");
   text = ptstats->AddText("Mean     = -0.006986 #pm 0.003443 ");
   text = ptstats->AddText("Sigma    = 0.1105 #pm 0.0032 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow22->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow22->GetListOfFunctions());
   ResoRow22->GetXaxis()->SetTitle("residual / mm");
   ResoRow22->GetYaxis()->SetTitle("counts");
   ResoRow22->Draw("");
   c2_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,-12.3375,1.25,111.0375);
   c2_6->SetFillColor(0);
   c2_6->SetBorderSize(2);
   c2_6->Modified();
   c2->cd();
   c2->Modified();
   c2->cd();
   c2->SetSelected(c2);
}
