{
//=========Macro generated from canvas: c2/
//=========  (Tue Jun  8 17:13:46 2010) by ROOT version5.25/04
   TCanvas *c2 = new TCanvas("c2", "",0,0,900,600);
   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.35,1.25,66.15);
   c2_1->SetFillColor(0);
   c2_1->SetBorderSize(2);
   
   TH1F *ResoRow01 = new TH1F("ResoRow01","",100,-1,1);
   ResoRow01->SetBinContent(3,1);
   ResoRow01->SetBinContent(25,1);
   ResoRow01->SetBinContent(27,1);
   ResoRow01->SetBinContent(30,1);
   ResoRow01->SetBinContent(34,1);
   ResoRow01->SetBinContent(35,1);
   ResoRow01->SetBinContent(36,1);
   ResoRow01->SetBinContent(37,1);
   ResoRow01->SetBinContent(38,3);
   ResoRow01->SetBinContent(39,2);
   ResoRow01->SetBinContent(40,5);
   ResoRow01->SetBinContent(41,5);
   ResoRow01->SetBinContent(42,6);
   ResoRow01->SetBinContent(43,5);
   ResoRow01->SetBinContent(44,17);
   ResoRow01->SetBinContent(45,22);
   ResoRow01->SetBinContent(46,22);
   ResoRow01->SetBinContent(47,36);
   ResoRow01->SetBinContent(48,40);
   ResoRow01->SetBinContent(49,56);
   ResoRow01->SetBinContent(50,56);
   ResoRow01->SetBinContent(51,48);
   ResoRow01->SetBinContent(52,46);
   ResoRow01->SetBinContent(53,34);
   ResoRow01->SetBinContent(54,31);
   ResoRow01->SetBinContent(55,23);
   ResoRow01->SetBinContent(56,21);
   ResoRow01->SetBinContent(57,9);
   ResoRow01->SetBinContent(58,17);
   ResoRow01->SetBinContent(59,8);
   ResoRow01->SetBinContent(60,4);
   ResoRow01->SetBinContent(61,5);
   ResoRow01->SetBinContent(62,1);
   ResoRow01->SetBinContent(64,3);
   ResoRow01->SetBinContent(65,2);
   ResoRow01->SetBinContent(66,2);
   ResoRow01->SetBinContent(67,3);
   ResoRow01->SetBinContent(68,1);
   ResoRow01->SetBinContent(69,1);
   ResoRow01->SetBinContent(70,2);
   ResoRow01->SetBinContent(71,1);
   ResoRow01->SetBinContent(74,1);
   ResoRow01->SetBinContent(78,1);
   ResoRow01->SetBinContent(87,1);
   ResoRow01->SetBinContent(91,1);
   ResoRow01->SetEntries(549);
   
   TF1 *ResoRowFit01 = new TF1("ResoRowFit01","gaus",-1,1);
   ResoRowFit01->SetFillColor(19);
   ResoRowFit01->SetFillStyle(0);
   ResoRowFit01->SetLineWidth(3);
   ResoRowFit01->SetChisquare(49.77832);
   ResoRowFit01->SetNDF(42);
   ResoRowFit01->SetParameter(0,47.11377);
   ResoRowFit01->SetParError(0,2.924505);
   ResoRowFit01->SetParLimits(0,0,0);
   ResoRowFit01->SetParameter(1,-0.0009445785);
   ResoRowFit01->SetParError(1,0.003834079);
   ResoRowFit01->SetParLimits(1,0,0);
   ResoRowFit01->SetParameter(2,0.08464551);
   ResoRowFit01->SetParError(2,0.003675783);
   ResoRowFit01->SetParLimits(2,0,1.294553);
   ResoRow01->GetListOfFunctions()->Add(ResoRowFit01);
   
   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("ResoRow01");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 549    ");
   text = ptstats->AddText("Mean  = 0.005142");
   text = ptstats->AddText("RMS   = 0.1295");
   text = ptstats->AddText("#chi^{2} / ndf = 49.78 / 42");
   text = ptstats->AddText("Constant = 47.11 #pm 2.92 ");
   text = ptstats->AddText("Mean     = -0.0009446 #pm 0.0038341 ");
   text = ptstats->AddText("Sigma    = 0.08465 #pm 0.00368 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow01->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow01->GetListOfFunctions());
   ResoRow01->GetXaxis()->SetTitle("residual / mm");
   ResoRow01->GetYaxis()->SetTitle("counts");
   ResoRow01->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.90625,1.25,53.15625);
   c2_2->SetFillColor(0);
   c2_2->SetBorderSize(2);
   
   TH1F *ResoRow02 = new TH1F("ResoRow02","",100,-1,1);
   ResoRow02->SetBinContent(0,2);
   ResoRow02->SetBinContent(14,1);
   ResoRow02->SetBinContent(22,1);
   ResoRow02->SetBinContent(27,1);
   ResoRow02->SetBinContent(30,1);
   ResoRow02->SetBinContent(31,2);
   ResoRow02->SetBinContent(33,4);
   ResoRow02->SetBinContent(35,3);
   ResoRow02->SetBinContent(36,2);
   ResoRow02->SetBinContent(37,2);
   ResoRow02->SetBinContent(38,2);
   ResoRow02->SetBinContent(39,3);
   ResoRow02->SetBinContent(40,8);
   ResoRow02->SetBinContent(41,8);
   ResoRow02->SetBinContent(42,9);
   ResoRow02->SetBinContent(43,13);
   ResoRow02->SetBinContent(44,17);
   ResoRow02->SetBinContent(45,16);
   ResoRow02->SetBinContent(46,32);
   ResoRow02->SetBinContent(47,44);
   ResoRow02->SetBinContent(48,38);
   ResoRow02->SetBinContent(49,39);
   ResoRow02->SetBinContent(50,45);
   ResoRow02->SetBinContent(51,35);
   ResoRow02->SetBinContent(52,38);
   ResoRow02->SetBinContent(53,43);
   ResoRow02->SetBinContent(54,34);
   ResoRow02->SetBinContent(55,27);
   ResoRow02->SetBinContent(56,23);
   ResoRow02->SetBinContent(57,19);
   ResoRow02->SetBinContent(58,6);
   ResoRow02->SetBinContent(59,9);
   ResoRow02->SetBinContent(60,5);
   ResoRow02->SetBinContent(61,1);
   ResoRow02->SetBinContent(62,3);
   ResoRow02->SetBinContent(63,1);
   ResoRow02->SetBinContent(64,2);
   ResoRow02->SetBinContent(65,1);
   ResoRow02->SetBinContent(69,1);
   ResoRow02->SetBinContent(71,1);
   ResoRow02->SetBinContent(72,1);
   ResoRow02->SetBinContent(73,1);
   ResoRow02->SetBinContent(80,1);
   ResoRow02->SetBinContent(90,1);
   ResoRow02->SetBinContent(101,3);
   ResoRow02->SetEntries(549);
   
   TF1 *ResoRowFit02 = new TF1("ResoRowFit02","gaus",-1,1);
   ResoRowFit02->SetFillColor(19);
   ResoRowFit02->SetFillStyle(0);
   ResoRowFit02->SetLineWidth(3);
   ResoRowFit02->SetChisquare(43.20666);
   ResoRowFit02->SetNDF(40);
   ResoRowFit02->SetParameter(0,42.46147);
   ResoRowFit02->SetParError(0,2.447111);
   ResoRowFit02->SetParLimits(0,0,0);
   ResoRowFit02->SetParameter(1,-0.008868793);
   ResoRowFit02->SetParError(1,0.004360933);
   ResoRowFit02->SetParLimits(1,0,0);
   ResoRowFit02->SetParameter(2,0.09417734);
   ResoRowFit02->SetParError(2,0.003456675);
   ResoRowFit02->SetParLimits(2,0,1.287185);
   ResoRow02->GetListOfFunctions()->Add(ResoRowFit02);
   
   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("ResoRow02");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 549    ");
   text = ptstats->AddText("Mean  = -0.01056");
   text = ptstats->AddText("RMS   = 0.1286");
   text = ptstats->AddText("#chi^{2} / ndf = 43.21 / 40");
   text = ptstats->AddText("Constant = 42.46 #pm 2.45 ");
   text = ptstats->AddText("Mean     = -0.008869 #pm 0.004361 ");
   text = ptstats->AddText("Sigma    = 0.09418 #pm 0.00346 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow02->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow02->GetListOfFunctions());
   ResoRow02->GetXaxis()->SetTitle("residual / mm");
   ResoRow02->GetYaxis()->SetTitle("counts");
   ResoRow02->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,-5.775,1.25,51.975);
   c2_3->SetFillColor(0);
   c2_3->SetBorderSize(2);
   
   TH1F *ResoRow03 = new TH1F("ResoRow03","",100,-1,1);
   ResoRow03->SetBinContent(0,2);
   ResoRow03->SetBinContent(15,1);
   ResoRow03->SetBinContent(19,1);
   ResoRow03->SetBinContent(25,1);
   ResoRow03->SetBinContent(30,2);
   ResoRow03->SetBinContent(32,2);
   ResoRow03->SetBinContent(33,2);
   ResoRow03->SetBinContent(34,3);
   ResoRow03->SetBinContent(35,3);
   ResoRow03->SetBinContent(36,1);
   ResoRow03->SetBinContent(38,4);
   ResoRow03->SetBinContent(39,4);
   ResoRow03->SetBinContent(40,7);
   ResoRow03->SetBinContent(41,10);
   ResoRow03->SetBinContent(42,16);
   ResoRow03->SetBinContent(43,16);
   ResoRow03->SetBinContent(44,10);
   ResoRow03->SetBinContent(45,18);
   ResoRow03->SetBinContent(46,23);
   ResoRow03->SetBinContent(47,31);
   ResoRow03->SetBinContent(48,39);
   ResoRow03->SetBinContent(49,34);
   ResoRow03->SetBinContent(50,44);
   ResoRow03->SetBinContent(51,38);
   ResoRow03->SetBinContent(52,39);
   ResoRow03->SetBinContent(53,40);
   ResoRow03->SetBinContent(54,33);
   ResoRow03->SetBinContent(55,20);
   ResoRow03->SetBinContent(56,22);
   ResoRow03->SetBinContent(57,17);
   ResoRow03->SetBinContent(58,13);
   ResoRow03->SetBinContent(59,7);
   ResoRow03->SetBinContent(60,13);
   ResoRow03->SetBinContent(61,8);
   ResoRow03->SetBinContent(62,5);
   ResoRow03->SetBinContent(63,2);
   ResoRow03->SetBinContent(64,3);
   ResoRow03->SetBinContent(65,1);
   ResoRow03->SetBinContent(66,2);
   ResoRow03->SetBinContent(67,2);
   ResoRow03->SetBinContent(68,1);
   ResoRow03->SetBinContent(69,1);
   ResoRow03->SetBinContent(70,1);
   ResoRow03->SetBinContent(71,1);
   ResoRow03->SetBinContent(72,1);
   ResoRow03->SetBinContent(73,1);
   ResoRow03->SetBinContent(76,2);
   ResoRow03->SetBinContent(77,1);
   ResoRow03->SetBinContent(87,1);
   ResoRow03->SetEntries(549);
   
   TF1 *ResoRowFit03 = new TF1("ResoRowFit03","gaus",-1,1);
   ResoRowFit03->SetFillColor(19);
   ResoRowFit03->SetFillStyle(0);
   ResoRowFit03->SetLineWidth(3);
   ResoRowFit03->SetChisquare(45.96146);
   ResoRowFit03->SetNDF(45);
   ResoRowFit03->SetParameter(0,35.75194);
   ResoRowFit03->SetParError(0,2.208866);
   ResoRowFit03->SetParLimits(0,0,0);
   ResoRowFit03->SetParameter(1,0.000492864);
   ResoRowFit03->SetParError(1,0.005112657);
   ResoRowFit03->SetParLimits(1,0,0);
   ResoRowFit03->SetParameter(2,0.1122868);
   ResoRowFit03->SetParError(2,0.004905701);
   ResoRowFit03->SetParLimits(2,0,1.434873);
   ResoRow03->GetListOfFunctions()->Add(ResoRowFit03);
   
   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("ResoRow03");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 549    ");
   text = ptstats->AddText("Mean  = 0.0009972");
   text = ptstats->AddText("RMS   = 0.1433");
   text = ptstats->AddText("#chi^{2} / ndf = 45.96 / 45");
   text = ptstats->AddText("Constant = 35.75 #pm 2.21 ");
   text = ptstats->AddText("Mean     = 0.0004929 #pm 0.0051127 ");
   text = ptstats->AddText("Sigma    = 0.1123 #pm 0.0049 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow03->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow03->GetListOfFunctions());
   ResoRow03->GetXaxis()->SetTitle("residual / mm");
   ResoRow03->GetYaxis()->SetTitle("counts");
   ResoRow03->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.5125,1.25,49.6125);
   c2_4->SetFillColor(0);
   c2_4->SetBorderSize(2);
   
   TH1F *ResoRow09 = new TH1F("ResoRow09","",100,-1,1);
   ResoRow09->SetBinContent(0,3);
   ResoRow09->SetBinContent(25,1);
   ResoRow09->SetBinContent(31,2);
   ResoRow09->SetBinContent(32,1);
   ResoRow09->SetBinContent(33,1);
   ResoRow09->SetBinContent(34,2);
   ResoRow09->SetBinContent(35,1);
   ResoRow09->SetBinContent(36,4);
   ResoRow09->SetBinContent(37,4);
   ResoRow09->SetBinContent(38,4);
   ResoRow09->SetBinContent(39,10);
   ResoRow09->SetBinContent(40,8);
   ResoRow09->SetBinContent(41,10);
   ResoRow09->SetBinContent(42,14);
   ResoRow09->SetBinContent(43,19);
   ResoRow09->SetBinContent(44,19);
   ResoRow09->SetBinContent(45,35);
   ResoRow09->SetBinContent(46,33);
   ResoRow09->SetBinContent(47,27);
   ResoRow09->SetBinContent(48,33);
   ResoRow09->SetBinContent(49,27);
   ResoRow09->SetBinContent(50,42);
   ResoRow09->SetBinContent(51,40);
   ResoRow09->SetBinContent(52,24);
   ResoRow09->SetBinContent(53,42);
   ResoRow09->SetBinContent(54,23);
   ResoRow09->SetBinContent(55,32);
   ResoRow09->SetBinContent(56,19);
   ResoRow09->SetBinContent(57,15);
   ResoRow09->SetBinContent(58,8);
   ResoRow09->SetBinContent(59,8);
   ResoRow09->SetBinContent(60,6);
   ResoRow09->SetBinContent(61,3);
   ResoRow09->SetBinContent(62,7);
   ResoRow09->SetBinContent(63,3);
   ResoRow09->SetBinContent(64,2);
   ResoRow09->SetBinContent(65,4);
   ResoRow09->SetBinContent(66,1);
   ResoRow09->SetBinContent(67,1);
   ResoRow09->SetBinContent(69,3);
   ResoRow09->SetBinContent(70,1);
   ResoRow09->SetBinContent(73,1);
   ResoRow09->SetBinContent(76,1);
   ResoRow09->SetBinContent(77,1);
   ResoRow09->SetBinContent(78,1);
   ResoRow09->SetBinContent(101,3);
   ResoRow09->SetEntries(549);
   
   TF1 *ResoRowFit09 = new TF1("ResoRowFit09","gaus",-1,1);
   ResoRowFit09->SetFillColor(19);
   ResoRowFit09->SetFillStyle(0);
   ResoRowFit09->SetLineWidth(3);
   ResoRowFit09->SetChisquare(40.85117);
   ResoRowFit09->SetNDF(41);
   ResoRowFit09->SetParameter(0,34.05874);
   ResoRowFit09->SetParError(0,1.984666);
   ResoRowFit09->SetParLimits(0,0,0);
   ResoRowFit09->SetParameter(1,-0.02036147);
   ResoRowFit09->SetParError(1,0.005291108);
   ResoRowFit09->SetParLimits(1,0,0);
   ResoRowFit09->SetParameter(2,0.1177837);
   ResoRowFit09->SetParError(2,0.004470706);
   ResoRowFit09->SetParLimits(2,0,1.347082);
   ResoRow09->GetListOfFunctions()->Add(ResoRowFit09);
   
   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("ResoRow09");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 549    ");
   text = ptstats->AddText("Mean  = -0.01328");
   text = ptstats->AddText("RMS   = 0.1346");
   text = ptstats->AddText("#chi^{2} / ndf = 40.85 / 41");
   text = ptstats->AddText("Constant = 34.06 #pm 1.98 ");
   text = ptstats->AddText("Mean     = -0.02036 #pm 0.00529 ");
   text = ptstats->AddText("Sigma    = 0.1178 #pm 0.0045 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow09->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow09->GetListOfFunctions());
   ResoRow09->GetXaxis()->SetTitle("residual / mm");
   ResoRow09->GetYaxis()->SetTitle("counts");
   ResoRow09->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,-6.5625,1.25,59.0625);
   c2_5->SetFillColor(0);
   c2_5->SetBorderSize(2);
   
   TH1F *ResoRow10 = new TH1F("ResoRow10","",100,-1,1);
   ResoRow10->SetBinContent(0,3);
   ResoRow10->SetBinContent(19,1);
   ResoRow10->SetBinContent(29,1);
   ResoRow10->SetBinContent(34,1);
   ResoRow10->SetBinContent(36,2);
   ResoRow10->SetBinContent(37,2);
   ResoRow10->SetBinContent(38,1);
   ResoRow10->SetBinContent(40,6);
   ResoRow10->SetBinContent(41,7);
   ResoRow10->SetBinContent(42,10);
   ResoRow10->SetBinContent(43,12);
   ResoRow10->SetBinContent(44,20);
   ResoRow10->SetBinContent(45,27);
   ResoRow10->SetBinContent(46,34);
   ResoRow10->SetBinContent(47,31);
   ResoRow10->SetBinContent(48,47);
   ResoRow10->SetBinContent(49,37);
   ResoRow10->SetBinContent(50,47);
   ResoRow10->SetBinContent(51,50);
   ResoRow10->SetBinContent(52,37);
   ResoRow10->SetBinContent(53,29);
   ResoRow10->SetBinContent(54,22);
   ResoRow10->SetBinContent(55,28);
   ResoRow10->SetBinContent(56,16);
   ResoRow10->SetBinContent(57,23);
   ResoRow10->SetBinContent(58,9);
   ResoRow10->SetBinContent(59,9);
   ResoRow10->SetBinContent(60,10);
   ResoRow10->SetBinContent(61,10);
   ResoRow10->SetBinContent(62,1);
   ResoRow10->SetBinContent(63,4);
   ResoRow10->SetBinContent(64,2);
   ResoRow10->SetBinContent(65,2);
   ResoRow10->SetBinContent(66,3);
   ResoRow10->SetBinContent(68,1);
   ResoRow10->SetBinContent(70,1);
   ResoRow10->SetBinContent(71,1);
   ResoRow10->SetBinContent(101,2);
   ResoRow10->SetEntries(549);
   
   TF1 *ResoRowFit10 = new TF1("ResoRowFit10","gaus",-1,1);
   ResoRowFit10->SetFillColor(19);
   ResoRowFit10->SetFillStyle(0);
   ResoRowFit10->SetLineWidth(3);
   ResoRowFit10->SetChisquare(37.10128);
   ResoRowFit10->SetNDF(33);
   ResoRowFit10->SetParameter(0,41.00702);
   ResoRowFit10->SetParError(0,2.363629);
   ResoRowFit10->SetParLimits(0,0,0);
   ResoRowFit10->SetParameter(1,-0.008584363);
   ResoRowFit10->SetParError(1,0.004557233);
   ResoRowFit10->SetParLimits(1,0,0);
   ResoRowFit10->SetParameter(2,0.09945034);
   ResoRowFit10->SetParError(2,0.003799519);
   ResoRowFit10->SetParLimits(2,0,1.136858);
   ResoRow10->GetListOfFunctions()->Add(ResoRowFit10);
   
   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("ResoRow10");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 549    ");
   text = ptstats->AddText("Mean  = -0.0008711");
   text = ptstats->AddText("RMS   = 0.1137");
   text = ptstats->AddText("#chi^{2} / ndf =  37.1 / 33");
   text = ptstats->AddText("Constant = 41.01 #pm 2.36 ");
   text = ptstats->AddText("Mean     = -0.008584 #pm 0.004557 ");
   text = ptstats->AddText("Sigma    = 0.09945 #pm 0.00380 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow10->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow10->GetListOfFunctions());
   ResoRow10->GetXaxis()->SetTitle("residual / mm");
   ResoRow10->GetYaxis()->SetTitle("counts");
   ResoRow10->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 *ResoRow11 = new TH1F("ResoRow11","",100,-1,1);
   ResoRow11->SetBinContent(0,1);
   ResoRow11->SetBinContent(2,1);
   ResoRow11->SetBinContent(27,1);
   ResoRow11->SetBinContent(28,1);
   ResoRow11->SetBinContent(30,1);
   ResoRow11->SetBinContent(31,2);
   ResoRow11->SetBinContent(32,2);
   ResoRow11->SetBinContent(33,2);
   ResoRow11->SetBinContent(34,2);
   ResoRow11->SetBinContent(35,2);
   ResoRow11->SetBinContent(36,3);
   ResoRow11->SetBinContent(37,6);
   ResoRow11->SetBinContent(38,4);
   ResoRow11->SetBinContent(39,8);
   ResoRow11->SetBinContent(40,7);
   ResoRow11->SetBinContent(41,6);
   ResoRow11->SetBinContent(42,12);
   ResoRow11->SetBinContent(43,20);
   ResoRow11->SetBinContent(44,18);
   ResoRow11->SetBinContent(45,30);
   ResoRow11->SetBinContent(46,30);
   ResoRow11->SetBinContent(47,23);
   ResoRow11->SetBinContent(48,29);
   ResoRow11->SetBinContent(49,38);
   ResoRow11->SetBinContent(50,33);
   ResoRow11->SetBinContent(51,42);
   ResoRow11->SetBinContent(52,29);
   ResoRow11->SetBinContent(53,39);
   ResoRow11->SetBinContent(54,35);
   ResoRow11->SetBinContent(55,30);
   ResoRow11->SetBinContent(56,20);
   ResoRow11->SetBinContent(57,20);
   ResoRow11->SetBinContent(58,9);
   ResoRow11->SetBinContent(59,9);
   ResoRow11->SetBinContent(60,10);
   ResoRow11->SetBinContent(61,5);
   ResoRow11->SetBinContent(62,6);
   ResoRow11->SetBinContent(63,1);
   ResoRow11->SetBinContent(64,3);
   ResoRow11->SetBinContent(65,1);
   ResoRow11->SetBinContent(68,1);
   ResoRow11->SetBinContent(73,2);
   ResoRow11->SetBinContent(77,1);
   ResoRow11->SetBinContent(101,4);
   ResoRow11->SetEntries(549);
   
   TF1 *ResoRowFit11 = new TF1("ResoRowFit11","gaus",-1,1);
   ResoRowFit11->SetFillColor(19);
   ResoRowFit11->SetFillStyle(0);
   ResoRowFit11->SetLineWidth(3);
   ResoRowFit11->SetChisquare(38.90749);
   ResoRowFit11->SetNDF(39);
   ResoRowFit11->SetParameter(0,35.339);
   ResoRowFit11->SetParError(0,2.073686);
   ResoRowFit11->SetParLimits(0,0,0);
   ResoRowFit11->SetParameter(1,-0.009766735);
   ResoRowFit11->SetParError(1,0.005314077);
   ResoRowFit11->SetParLimits(1,0,0);
   ResoRowFit11->SetParameter(2,0.1143748);
   ResoRowFit11->SetParError(2,0.004471042);
   ResoRowFit11->SetParLimits(2,0,1.363899);
   ResoRow11->GetListOfFunctions()->Add(ResoRowFit11);
   
   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("ResoRow11");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 549    ");
   text = ptstats->AddText("Mean  = -0.01461");
   text = ptstats->AddText("RMS   = 0.1367");
   text = ptstats->AddText("#chi^{2} / ndf = 38.91 / 39");
   text = ptstats->AddText("Constant = 35.34 #pm 2.07 ");
   text = ptstats->AddText("Mean     = -0.009767 #pm 0.005314 ");
   text = ptstats->AddText("Sigma    = 0.1144 #pm 0.0045 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow11->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow11->GetListOfFunctions());
   ResoRow11->GetXaxis()->SetTitle("residual / mm");
   ResoRow11->GetYaxis()->SetTitle("counts");
   ResoRow11->Draw("");
   c2_6->Modified();
   c2->cd();
   c2->Modified();
   c2->cd();
   c2->SetSelected(c2);
}
