{
//=========Macro generated from canvas: c2/
//=========  (Tue Jun  8 20:52:44 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,-11.8125,1.25,106.3125);
   c2_1->SetFillColor(0);
   c2_1->SetBorderSize(2);
   
   TH1F *ResoRow01 = new TH1F("ResoRow01","",100,-1,1);
   ResoRow01->SetBinContent(0,1);
   ResoRow01->SetBinContent(15,1);
   ResoRow01->SetBinContent(19,1);
   ResoRow01->SetBinContent(20,2);
   ResoRow01->SetBinContent(27,3);
   ResoRow01->SetBinContent(28,1);
   ResoRow01->SetBinContent(29,1);
   ResoRow01->SetBinContent(32,3);
   ResoRow01->SetBinContent(33,2);
   ResoRow01->SetBinContent(34,1);
   ResoRow01->SetBinContent(35,6);
   ResoRow01->SetBinContent(36,2);
   ResoRow01->SetBinContent(37,5);
   ResoRow01->SetBinContent(38,12);
   ResoRow01->SetBinContent(39,6);
   ResoRow01->SetBinContent(40,17);
   ResoRow01->SetBinContent(41,18);
   ResoRow01->SetBinContent(42,20);
   ResoRow01->SetBinContent(43,36);
   ResoRow01->SetBinContent(44,48);
   ResoRow01->SetBinContent(45,37);
   ResoRow01->SetBinContent(46,41);
   ResoRow01->SetBinContent(47,72);
   ResoRow01->SetBinContent(48,75);
   ResoRow01->SetBinContent(49,87);
   ResoRow01->SetBinContent(50,90);
   ResoRow01->SetBinContent(51,77);
   ResoRow01->SetBinContent(52,76);
   ResoRow01->SetBinContent(53,85);
   ResoRow01->SetBinContent(54,81);
   ResoRow01->SetBinContent(55,44);
   ResoRow01->SetBinContent(56,48);
   ResoRow01->SetBinContent(57,24);
   ResoRow01->SetBinContent(58,28);
   ResoRow01->SetBinContent(59,20);
   ResoRow01->SetBinContent(60,9);
   ResoRow01->SetBinContent(61,17);
   ResoRow01->SetBinContent(62,10);
   ResoRow01->SetBinContent(63,5);
   ResoRow01->SetBinContent(64,7);
   ResoRow01->SetBinContent(65,2);
   ResoRow01->SetBinContent(66,2);
   ResoRow01->SetBinContent(67,2);
   ResoRow01->SetBinContent(68,2);
   ResoRow01->SetBinContent(69,4);
   ResoRow01->SetBinContent(71,1);
   ResoRow01->SetBinContent(72,1);
   ResoRow01->SetBinContent(73,2);
   ResoRow01->SetBinContent(81,1);
   ResoRow01->SetBinContent(85,1);
   ResoRow01->SetBinContent(101,2);
   ResoRow01->SetEntries(1139);
   
   TF1 *ResoRowFit01 = new TF1("ResoRowFit01","gaus",-1,1);
   ResoRowFit01->SetFillColor(19);
   ResoRowFit01->SetFillStyle(0);
   ResoRowFit01->SetLineWidth(3);
   ResoRowFit01->SetChisquare(76.28227);
   ResoRowFit01->SetNDF(46);
   ResoRowFit01->SetParameter(0,78.51115);
   ResoRowFit01->SetParError(0,3.239127);
   ResoRowFit01->SetParLimits(0,0,0);
   ResoRowFit01->SetParameter(1,-0.004902586);
   ResoRowFit01->SetParError(1,0.003317624);
   ResoRowFit01->SetParLimits(1,0,0);
   ResoRowFit01->SetParameter(2,0.1077272);
   ResoRowFit01->SetParError(2,0.002976753);
   ResoRowFit01->SetParLimits(2,0,1.301576);
   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 = 1139   ");
   text = ptstats->AddText("Mean  = -0.00535");
   text = ptstats->AddText("RMS   =   0.13");
   text = ptstats->AddText("#chi^{2} / ndf = 76.28 / 46");
   text = ptstats->AddText("Constant = 78.51 #pm 3.24 ");
   text = ptstats->AddText("Mean     = -0.004903 #pm 0.003318 ");
   text = ptstats->AddText("Sigma    = 0.1077 #pm 0.0030 ");
   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,-11.68125,1.25,105.1313);
   c2_2->SetFillColor(0);
   c2_2->SetBorderSize(2);
   
   TH1F *ResoRow02 = new TH1F("ResoRow02","",100,-1,1);
   ResoRow02->SetBinContent(19,1);
   ResoRow02->SetBinContent(23,1);
   ResoRow02->SetBinContent(24,1);
   ResoRow02->SetBinContent(25,1);
   ResoRow02->SetBinContent(26,1);
   ResoRow02->SetBinContent(29,1);
   ResoRow02->SetBinContent(31,1);
   ResoRow02->SetBinContent(32,3);
   ResoRow02->SetBinContent(33,1);
   ResoRow02->SetBinContent(34,3);
   ResoRow02->SetBinContent(35,7);
   ResoRow02->SetBinContent(36,6);
   ResoRow02->SetBinContent(37,7);
   ResoRow02->SetBinContent(38,9);
   ResoRow02->SetBinContent(39,17);
   ResoRow02->SetBinContent(40,10);
   ResoRow02->SetBinContent(41,23);
   ResoRow02->SetBinContent(42,24);
   ResoRow02->SetBinContent(43,28);
   ResoRow02->SetBinContent(44,37);
   ResoRow02->SetBinContent(45,58);
   ResoRow02->SetBinContent(46,51);
   ResoRow02->SetBinContent(47,67);
   ResoRow02->SetBinContent(48,85);
   ResoRow02->SetBinContent(49,70);
   ResoRow02->SetBinContent(50,89);
   ResoRow02->SetBinContent(51,89);
   ResoRow02->SetBinContent(52,85);
   ResoRow02->SetBinContent(53,70);
   ResoRow02->SetBinContent(54,60);
   ResoRow02->SetBinContent(55,54);
   ResoRow02->SetBinContent(56,40);
   ResoRow02->SetBinContent(57,27);
   ResoRow02->SetBinContent(58,21);
   ResoRow02->SetBinContent(59,17);
   ResoRow02->SetBinContent(60,16);
   ResoRow02->SetBinContent(61,6);
   ResoRow02->SetBinContent(62,10);
   ResoRow02->SetBinContent(63,6);
   ResoRow02->SetBinContent(64,4);
   ResoRow02->SetBinContent(65,3);
   ResoRow02->SetBinContent(66,4);
   ResoRow02->SetBinContent(67,3);
   ResoRow02->SetBinContent(68,5);
   ResoRow02->SetBinContent(69,5);
   ResoRow02->SetBinContent(70,1);
   ResoRow02->SetBinContent(71,1);
   ResoRow02->SetBinContent(72,2);
   ResoRow02->SetBinContent(74,1);
   ResoRow02->SetBinContent(84,1);
   ResoRow02->SetBinContent(85,1);
   ResoRow02->SetBinContent(94,1);
   ResoRow02->SetBinContent(95,1);
   ResoRow02->SetBinContent(101,3);
   ResoRow02->SetEntries(1139);
   
   TF1 *ResoRowFit02 = new TF1("ResoRowFit02","gaus",-1,1);
   ResoRowFit02->SetFillColor(19);
   ResoRowFit02->SetFillStyle(0);
   ResoRowFit02->SetLineWidth(3);
   ResoRowFit02->SetChisquare(65.25404);
   ResoRowFit02->SetNDF(50);
   ResoRowFit02->SetParameter(0,77.79597);
   ResoRowFit02->SetParError(0,3.311014);
   ResoRowFit02->SetParLimits(0,0,0);
   ResoRowFit02->SetParameter(1,-0.01163176);
   ResoRowFit02->SetParError(1,0.00338101);
   ResoRowFit02->SetParLimits(1,0,0);
   ResoRowFit02->SetParameter(2,0.1098338);
   ResoRowFit02->SetParError(2,0.003259341);
   ResoRowFit02->SetParLimits(2,0,1.368571);
   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 = 1139   ");
   text = ptstats->AddText("Mean  = -0.008305");
   text = ptstats->AddText("RMS   = 0.1368");
   text = ptstats->AddText("#chi^{2} / ndf = 65.25 / 50");
   text = ptstats->AddText("Constant =  77.8 #pm 3.3 ");
   text = ptstats->AddText("Mean     = -0.01163 #pm 0.00338 ");
   text = ptstats->AddText("Sigma    = 0.1098 #pm 0.0033 ");
   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,-11.025,1.25,99.225);
   c2_3->SetFillColor(0);
   c2_3->SetBorderSize(2);
   
   TH1F *ResoRow03 = new TH1F("ResoRow03","",100,-1,1);
   ResoRow03->SetBinContent(0,2);
   ResoRow03->SetBinContent(1,1);
   ResoRow03->SetBinContent(2,2);
   ResoRow03->SetBinContent(21,1);
   ResoRow03->SetBinContent(26,1);
   ResoRow03->SetBinContent(28,2);
   ResoRow03->SetBinContent(29,1);
   ResoRow03->SetBinContent(30,3);
   ResoRow03->SetBinContent(31,1);
   ResoRow03->SetBinContent(32,1);
   ResoRow03->SetBinContent(33,3);
   ResoRow03->SetBinContent(34,3);
   ResoRow03->SetBinContent(35,5);
   ResoRow03->SetBinContent(36,3);
   ResoRow03->SetBinContent(37,7);
   ResoRow03->SetBinContent(38,13);
   ResoRow03->SetBinContent(39,9);
   ResoRow03->SetBinContent(40,14);
   ResoRow03->SetBinContent(41,15);
   ResoRow03->SetBinContent(42,29);
   ResoRow03->SetBinContent(43,42);
   ResoRow03->SetBinContent(44,44);
   ResoRow03->SetBinContent(45,50);
   ResoRow03->SetBinContent(46,47);
   ResoRow03->SetBinContent(47,66);
   ResoRow03->SetBinContent(48,63);
   ResoRow03->SetBinContent(49,75);
   ResoRow03->SetBinContent(50,70);
   ResoRow03->SetBinContent(51,82);
   ResoRow03->SetBinContent(52,84);
   ResoRow03->SetBinContent(53,69);
   ResoRow03->SetBinContent(54,53);
   ResoRow03->SetBinContent(55,55);
   ResoRow03->SetBinContent(56,50);
   ResoRow03->SetBinContent(57,37);
   ResoRow03->SetBinContent(58,39);
   ResoRow03->SetBinContent(59,23);
   ResoRow03->SetBinContent(60,20);
   ResoRow03->SetBinContent(61,12);
   ResoRow03->SetBinContent(62,11);
   ResoRow03->SetBinContent(63,8);
   ResoRow03->SetBinContent(64,3);
   ResoRow03->SetBinContent(65,2);
   ResoRow03->SetBinContent(66,1);
   ResoRow03->SetBinContent(67,2);
   ResoRow03->SetBinContent(68,1);
   ResoRow03->SetBinContent(69,2);
   ResoRow03->SetBinContent(71,1);
   ResoRow03->SetBinContent(72,1);
   ResoRow03->SetBinContent(73,3);
   ResoRow03->SetBinContent(81,1);
   ResoRow03->SetBinContent(82,1);
   ResoRow03->SetBinContent(84,1);
   ResoRow03->SetBinContent(97,1);
   ResoRow03->SetBinContent(100,1);
   ResoRow03->SetBinContent(101,2);
   ResoRow03->SetEntries(1139);
   
   TF1 *ResoRowFit03 = new TF1("ResoRowFit03","gaus",-1,1);
   ResoRowFit03->SetFillColor(19);
   ResoRowFit03->SetFillStyle(0);
   ResoRowFit03->SetLineWidth(3);
   ResoRowFit03->SetChisquare(45.17156);
   ResoRowFit03->SetNDF(51);
   ResoRowFit03->SetParameter(0,74.62751);
   ResoRowFit03->SetParError(0,2.853739);
   ResoRowFit03->SetParLimits(0,0,0);
   ResoRowFit03->SetParameter(1,-0.004126263);
   ResoRowFit03->SetParError(1,0.003574016);
   ResoRowFit03->SetParLimits(1,0,0);
   ResoRowFit03->SetParameter(2,0.1165537);
   ResoRowFit03->SetParError(2,0.002728523);
   ResoRowFit03->SetParLimits(2,0,1.467353);
   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 = 1139   ");
   text = ptstats->AddText("Mean  = -0.005396");
   text = ptstats->AddText("RMS   = 0.1468");
   text = ptstats->AddText("#chi^{2} / ndf = 45.17 / 51");
   text = ptstats->AddText("Constant = 74.63 #pm 2.85 ");
   text = ptstats->AddText("Mean     = -0.004126 #pm 0.003574 ");
   text = ptstats->AddText("Sigma    = 0.1166 #pm 0.0027 ");
   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,-9.84375,1.25,88.59375);
   c2_4->SetFillColor(0);
   c2_4->SetBorderSize(2);
   
   TH1F *ResoRow09 = new TH1F("ResoRow09","",100,-1,1);
   ResoRow09->SetBinContent(0,1);
   ResoRow09->SetBinContent(13,1);
   ResoRow09->SetBinContent(17,1);
   ResoRow09->SetBinContent(22,1);
   ResoRow09->SetBinContent(23,2);
   ResoRow09->SetBinContent(27,1);
   ResoRow09->SetBinContent(33,1);
   ResoRow09->SetBinContent(34,6);
   ResoRow09->SetBinContent(35,8);
   ResoRow09->SetBinContent(36,9);
   ResoRow09->SetBinContent(37,6);
   ResoRow09->SetBinContent(38,9);
   ResoRow09->SetBinContent(39,15);
   ResoRow09->SetBinContent(40,17);
   ResoRow09->SetBinContent(41,36);
   ResoRow09->SetBinContent(42,33);
   ResoRow09->SetBinContent(43,32);
   ResoRow09->SetBinContent(44,45);
   ResoRow09->SetBinContent(45,66);
   ResoRow09->SetBinContent(46,55);
   ResoRow09->SetBinContent(47,65);
   ResoRow09->SetBinContent(48,45);
   ResoRow09->SetBinContent(49,73);
   ResoRow09->SetBinContent(50,75);
   ResoRow09->SetBinContent(51,74);
   ResoRow09->SetBinContent(52,66);
   ResoRow09->SetBinContent(53,59);
   ResoRow09->SetBinContent(54,47);
   ResoRow09->SetBinContent(55,52);
   ResoRow09->SetBinContent(56,44);
   ResoRow09->SetBinContent(57,28);
   ResoRow09->SetBinContent(58,34);
   ResoRow09->SetBinContent(59,23);
   ResoRow09->SetBinContent(60,27);
   ResoRow09->SetBinContent(61,8);
   ResoRow09->SetBinContent(62,10);
   ResoRow09->SetBinContent(63,10);
   ResoRow09->SetBinContent(64,10);
   ResoRow09->SetBinContent(65,6);
   ResoRow09->SetBinContent(66,8);
   ResoRow09->SetBinContent(67,6);
   ResoRow09->SetBinContent(68,3);
   ResoRow09->SetBinContent(69,1);
   ResoRow09->SetBinContent(70,3);
   ResoRow09->SetBinContent(71,1);
   ResoRow09->SetBinContent(72,2);
   ResoRow09->SetBinContent(73,2);
   ResoRow09->SetBinContent(76,1);
   ResoRow09->SetBinContent(78,2);
   ResoRow09->SetBinContent(79,1);
   ResoRow09->SetBinContent(86,1);
   ResoRow09->SetBinContent(98,1);
   ResoRow09->SetBinContent(101,6);
   ResoRow09->SetEntries(1139);
   
   TF1 *ResoRowFit09 = new TF1("ResoRowFit09","gaus",-1,1);
   ResoRowFit09->SetFillColor(19);
   ResoRowFit09->SetFillStyle(0);
   ResoRowFit09->SetLineWidth(3);
   ResoRowFit09->SetChisquare(66.65338);
   ResoRowFit09->SetNDF(48);
   ResoRowFit09->SetParameter(0,65.7456);
   ResoRowFit09->SetParError(0,2.632892);
   ResoRowFit09->SetParLimits(0,0,0);
   ResoRowFit09->SetParameter(1,-0.01116858);
   ResoRowFit09->SetParError(1,0.004061714);
   ResoRowFit09->SetParLimits(1,0,0);
   ResoRowFit09->SetParameter(2,0.1297486);
   ResoRowFit09->SetParError(2,0.003438902);
   ResoRowFit09->SetParLimits(2,0,1.497589);
   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 = 1139   ");
   text = ptstats->AddText("Mean  = -0.005834");
   text = ptstats->AddText("RMS   = 0.1501");
   text = ptstats->AddText("#chi^{2} / ndf = 66.65 / 48");
   text = ptstats->AddText("Constant = 65.75 #pm 2.63 ");
   text = ptstats->AddText("Mean     = -0.01117 #pm 0.00406 ");
   text = ptstats->AddText("Sigma    = 0.1297 #pm 0.0034 ");
   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,-9.58125,1.25,86.23125);
   c2_5->SetFillColor(0);
   c2_5->SetBorderSize(2);
   
   TH1F *ResoRow10 = new TH1F("ResoRow10","",100,-1,1);
   ResoRow10->SetBinContent(3,2);
   ResoRow10->SetBinContent(21,1);
   ResoRow10->SetBinContent(22,2);
   ResoRow10->SetBinContent(26,2);
   ResoRow10->SetBinContent(29,3);
   ResoRow10->SetBinContent(31,6);
   ResoRow10->SetBinContent(32,5);
   ResoRow10->SetBinContent(33,5);
   ResoRow10->SetBinContent(34,1);
   ResoRow10->SetBinContent(35,3);
   ResoRow10->SetBinContent(36,6);
   ResoRow10->SetBinContent(37,9);
   ResoRow10->SetBinContent(38,12);
   ResoRow10->SetBinContent(39,12);
   ResoRow10->SetBinContent(40,19);
   ResoRow10->SetBinContent(41,22);
   ResoRow10->SetBinContent(42,23);
   ResoRow10->SetBinContent(43,29);
   ResoRow10->SetBinContent(44,52);
   ResoRow10->SetBinContent(45,42);
   ResoRow10->SetBinContent(46,50);
   ResoRow10->SetBinContent(47,58);
   ResoRow10->SetBinContent(48,65);
   ResoRow10->SetBinContent(49,71);
   ResoRow10->SetBinContent(50,71);
   ResoRow10->SetBinContent(51,73);
   ResoRow10->SetBinContent(52,73);
   ResoRow10->SetBinContent(53,58);
   ResoRow10->SetBinContent(54,69);
   ResoRow10->SetBinContent(55,68);
   ResoRow10->SetBinContent(56,44);
   ResoRow10->SetBinContent(57,25);
   ResoRow10->SetBinContent(58,26);
   ResoRow10->SetBinContent(59,18);
   ResoRow10->SetBinContent(60,19);
   ResoRow10->SetBinContent(61,21);
   ResoRow10->SetBinContent(62,16);
   ResoRow10->SetBinContent(63,10);
   ResoRow10->SetBinContent(64,14);
   ResoRow10->SetBinContent(65,1);
   ResoRow10->SetBinContent(66,4);
   ResoRow10->SetBinContent(67,1);
   ResoRow10->SetBinContent(68,8);
   ResoRow10->SetBinContent(69,1);
   ResoRow10->SetBinContent(70,3);
   ResoRow10->SetBinContent(71,1);
   ResoRow10->SetBinContent(72,5);
   ResoRow10->SetBinContent(73,1);
   ResoRow10->SetBinContent(74,1);
   ResoRow10->SetBinContent(78,1);
   ResoRow10->SetBinContent(86,1);
   ResoRow10->SetBinContent(87,1);
   ResoRow10->SetBinContent(101,5);
   ResoRow10->SetEntries(1139);
   
   TF1 *ResoRowFit10 = new TF1("ResoRowFit10","gaus",-1,1);
   ResoRowFit10->SetFillColor(19);
   ResoRowFit10->SetFillStyle(0);
   ResoRowFit10->SetLineWidth(3);
   ResoRowFit10->SetChisquare(82.7558);
   ResoRowFit10->SetNDF(49);
   ResoRowFit10->SetParameter(0,69.1334);
   ResoRowFit10->SetParError(0,2.731087);
   ResoRowFit10->SetParLimits(0,0,0);
   ResoRowFit10->SetParameter(1,-0.007037464);
   ResoRowFit10->SetParError(1,0.003769309);
   ResoRowFit10->SetParLimits(1,0,0);
   ResoRowFit10->SetParameter(2,0.1213806);
   ResoRowFit10->SetParError(2,0.00301121);
   ResoRowFit10->SetParLimits(2,0,1.529024);
   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 = 1139   ");
   text = ptstats->AddText("Mean  = -0.003669");
   text = ptstats->AddText("RMS   = 0.1529");
   text = ptstats->AddText("#chi^{2} / ndf = 82.76 / 49");
   text = ptstats->AddText("Constant = 69.13 #pm 2.73 ");
   text = ptstats->AddText("Mean     = -0.007037 #pm 0.003769 ");
   text = ptstats->AddText("Sigma    = 0.1214 #pm 0.0030 ");
   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,-11.8125,1.25,106.3125);
   c2_6->SetFillColor(0);
   c2_6->SetBorderSize(2);
   
   TH1F *ResoRow11 = new TH1F("ResoRow11","",100,-1,1);
   ResoRow11->SetBinContent(4,1);
   ResoRow11->SetBinContent(8,1);
   ResoRow11->SetBinContent(13,1);
   ResoRow11->SetBinContent(18,1);
   ResoRow11->SetBinContent(23,1);
   ResoRow11->SetBinContent(25,1);
   ResoRow11->SetBinContent(27,1);
   ResoRow11->SetBinContent(28,1);
   ResoRow11->SetBinContent(29,2);
   ResoRow11->SetBinContent(30,1);
   ResoRow11->SetBinContent(31,1);
   ResoRow11->SetBinContent(32,4);
   ResoRow11->SetBinContent(33,4);
   ResoRow11->SetBinContent(34,6);
   ResoRow11->SetBinContent(35,5);
   ResoRow11->SetBinContent(36,4);
   ResoRow11->SetBinContent(37,12);
   ResoRow11->SetBinContent(38,9);
   ResoRow11->SetBinContent(39,15);
   ResoRow11->SetBinContent(40,10);
   ResoRow11->SetBinContent(41,27);
   ResoRow11->SetBinContent(42,27);
   ResoRow11->SetBinContent(43,27);
   ResoRow11->SetBinContent(44,37);
   ResoRow11->SetBinContent(45,59);
   ResoRow11->SetBinContent(46,51);
   ResoRow11->SetBinContent(47,64);
   ResoRow11->SetBinContent(48,69);
   ResoRow11->SetBinContent(49,65);
   ResoRow11->SetBinContent(50,90);
   ResoRow11->SetBinContent(51,66);
   ResoRow11->SetBinContent(52,64);
   ResoRow11->SetBinContent(53,63);
   ResoRow11->SetBinContent(54,58);
   ResoRow11->SetBinContent(55,60);
   ResoRow11->SetBinContent(56,44);
   ResoRow11->SetBinContent(57,27);
   ResoRow11->SetBinContent(58,28);
   ResoRow11->SetBinContent(59,17);
   ResoRow11->SetBinContent(60,24);
   ResoRow11->SetBinContent(61,18);
   ResoRow11->SetBinContent(62,19);
   ResoRow11->SetBinContent(63,14);
   ResoRow11->SetBinContent(64,9);
   ResoRow11->SetBinContent(65,4);
   ResoRow11->SetBinContent(66,2);
   ResoRow11->SetBinContent(67,5);
   ResoRow11->SetBinContent(68,1);
   ResoRow11->SetBinContent(69,2);
   ResoRow11->SetBinContent(70,2);
   ResoRow11->SetBinContent(71,2);
   ResoRow11->SetBinContent(72,1);
   ResoRow11->SetBinContent(75,1);
   ResoRow11->SetBinContent(76,1);
   ResoRow11->SetBinContent(77,1);
   ResoRow11->SetBinContent(80,1);
   ResoRow11->SetBinContent(87,1);
   ResoRow11->SetBinContent(89,1);
   ResoRow11->SetBinContent(96,1);
   ResoRow11->SetBinContent(101,5);
   ResoRow11->SetEntries(1139);
   
   TF1 *ResoRowFit11 = new TF1("ResoRowFit11","gaus",-1,1);
   ResoRowFit11->SetFillColor(19);
   ResoRowFit11->SetFillStyle(0);
   ResoRowFit11->SetLineWidth(3);
   ResoRowFit11->SetChisquare(67.38256);
   ResoRowFit11->SetNDF(56);
   ResoRowFit11->SetParameter(0,67.00733);
   ResoRowFit11->SetParError(0,2.750375);
   ResoRowFit11->SetParLimits(0,0,0);
   ResoRowFit11->SetParameter(1,-0.004201341);
   ResoRowFit11->SetParError(1,0.003896054);
   ResoRowFit11->SetParLimits(1,0,0);
   ResoRowFit11->SetParameter(2,0.1270361);
   ResoRowFit11->SetParError(2,0.003481995);
   ResoRowFit11->SetParLimits(2,0,1.535751);
   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 = 1139   ");
   text = ptstats->AddText("Mean  = -0.00481");
   text = ptstats->AddText("RMS   = 0.1535");
   text = ptstats->AddText("#chi^{2} / ndf = 67.38 / 56");
   text = ptstats->AddText("Constant = 67.01 #pm 2.75 ");
   text = ptstats->AddText("Mean     = -0.004201 #pm 0.003896 ");
   text = ptstats->AddText("Sigma    = 0.127 #pm 0.003 ");
   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);
}
