{
//=========Macro generated from canvas: c2/
//=========  (Tue Jun  8 22:40:31 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,-13.51875,1.25,121.6688);
   c2_1->SetFillColor(0);
   c2_1->SetBorderSize(2);
   
   TH1F *ResoRow01 = new TH1F("ResoRow01","",100,-1,1);
   ResoRow01->SetBinContent(0,1);
   ResoRow01->SetBinContent(20,2);
   ResoRow01->SetBinContent(23,1);
   ResoRow01->SetBinContent(26,1);
   ResoRow01->SetBinContent(28,2);
   ResoRow01->SetBinContent(29,4);
   ResoRow01->SetBinContent(30,1);
   ResoRow01->SetBinContent(31,1);
   ResoRow01->SetBinContent(32,4);
   ResoRow01->SetBinContent(33,5);
   ResoRow01->SetBinContent(34,5);
   ResoRow01->SetBinContent(35,7);
   ResoRow01->SetBinContent(36,8);
   ResoRow01->SetBinContent(37,8);
   ResoRow01->SetBinContent(38,14);
   ResoRow01->SetBinContent(39,14);
   ResoRow01->SetBinContent(40,18);
   ResoRow01->SetBinContent(41,21);
   ResoRow01->SetBinContent(42,32);
   ResoRow01->SetBinContent(43,34);
   ResoRow01->SetBinContent(44,47);
   ResoRow01->SetBinContent(45,54);
   ResoRow01->SetBinContent(46,67);
   ResoRow01->SetBinContent(47,85);
   ResoRow01->SetBinContent(48,76);
   ResoRow01->SetBinContent(49,103);
   ResoRow01->SetBinContent(50,99);
   ResoRow01->SetBinContent(51,101);
   ResoRow01->SetBinContent(52,82);
   ResoRow01->SetBinContent(53,86);
   ResoRow01->SetBinContent(54,84);
   ResoRow01->SetBinContent(55,62);
   ResoRow01->SetBinContent(56,49);
   ResoRow01->SetBinContent(57,49);
   ResoRow01->SetBinContent(58,44);
   ResoRow01->SetBinContent(59,29);
   ResoRow01->SetBinContent(60,26);
   ResoRow01->SetBinContent(61,11);
   ResoRow01->SetBinContent(62,3);
   ResoRow01->SetBinContent(63,11);
   ResoRow01->SetBinContent(64,13);
   ResoRow01->SetBinContent(65,5);
   ResoRow01->SetBinContent(66,3);
   ResoRow01->SetBinContent(67,6);
   ResoRow01->SetBinContent(68,3);
   ResoRow01->SetBinContent(69,2);
   ResoRow01->SetBinContent(70,3);
   ResoRow01->SetBinContent(71,1);
   ResoRow01->SetBinContent(72,2);
   ResoRow01->SetBinContent(73,2);
   ResoRow01->SetBinContent(75,1);
   ResoRow01->SetBinContent(78,1);
   ResoRow01->SetBinContent(79,1);
   ResoRow01->SetBinContent(81,1);
   ResoRow01->SetBinContent(83,1);
   ResoRow01->SetBinContent(85,1);
   ResoRow01->SetBinContent(91,1);
   ResoRow01->SetBinContent(95,1);
   ResoRow01->SetBinContent(99,1);
   ResoRow01->SetBinContent(101,6);
   ResoRow01->SetEntries(1406);
   
   TF1 *ResoRowFit01 = new TF1("ResoRowFit01","gaus",-1,1);
   ResoRowFit01->SetFillColor(19);
   ResoRowFit01->SetFillStyle(0);
   ResoRowFit01->SetLineWidth(3);
   ResoRowFit01->SetChisquare(91.65176);
   ResoRowFit01->SetNDF(55);
   ResoRowFit01->SetParameter(0,91.67337);
   ResoRowFit01->SetParError(0,3.437525);
   ResoRowFit01->SetParLimits(0,0,0);
   ResoRowFit01->SetParameter(1,-0.007679046);
   ResoRowFit01->SetParError(1,0.003232311);
   ResoRowFit01->SetParLimits(1,0,0);
   ResoRowFit01->SetParameter(2,0.1137901);
   ResoRowFit01->SetParError(2,0.002882272);
   ResoRowFit01->SetParLimits(2,0,1.453325);
   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 = 1406   ");
   text = ptstats->AddText("Mean  = -0.001132");
   text = ptstats->AddText("RMS   = 0.1454");
   text = ptstats->AddText("#chi^{2} / ndf = 91.65 / 55");
   text = ptstats->AddText("Constant = 91.67 #pm 3.44 ");
   text = ptstats->AddText("Mean     = -0.007679 #pm 0.003232 ");
   text = ptstats->AddText("Sigma    = 0.1138 #pm 0.0029 ");
   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,-12.99375,1.25,116.9438);
   c2_2->SetFillColor(0);
   c2_2->SetBorderSize(2);
   
   TH1F *ResoRow02 = new TH1F("ResoRow02","",100,-1,1);
   ResoRow02->SetBinContent(19,2);
   ResoRow02->SetBinContent(23,1);
   ResoRow02->SetBinContent(24,1);
   ResoRow02->SetBinContent(25,1);
   ResoRow02->SetBinContent(28,2);
   ResoRow02->SetBinContent(29,3);
   ResoRow02->SetBinContent(30,2);
   ResoRow02->SetBinContent(31,1);
   ResoRow02->SetBinContent(32,1);
   ResoRow02->SetBinContent(33,3);
   ResoRow02->SetBinContent(34,6);
   ResoRow02->SetBinContent(35,5);
   ResoRow02->SetBinContent(36,7);
   ResoRow02->SetBinContent(37,8);
   ResoRow02->SetBinContent(38,17);
   ResoRow02->SetBinContent(39,16);
   ResoRow02->SetBinContent(40,31);
   ResoRow02->SetBinContent(41,30);
   ResoRow02->SetBinContent(42,43);
   ResoRow02->SetBinContent(43,41);
   ResoRow02->SetBinContent(44,49);
   ResoRow02->SetBinContent(45,54);
   ResoRow02->SetBinContent(46,73);
   ResoRow02->SetBinContent(47,70);
   ResoRow02->SetBinContent(48,99);
   ResoRow02->SetBinContent(49,82);
   ResoRow02->SetBinContent(50,80);
   ResoRow02->SetBinContent(51,91);
   ResoRow02->SetBinContent(52,69);
   ResoRow02->SetBinContent(53,86);
   ResoRow02->SetBinContent(54,76);
   ResoRow02->SetBinContent(55,66);
   ResoRow02->SetBinContent(56,44);
   ResoRow02->SetBinContent(57,42);
   ResoRow02->SetBinContent(58,52);
   ResoRow02->SetBinContent(59,24);
   ResoRow02->SetBinContent(60,28);
   ResoRow02->SetBinContent(61,19);
   ResoRow02->SetBinContent(62,13);
   ResoRow02->SetBinContent(63,14);
   ResoRow02->SetBinContent(64,7);
   ResoRow02->SetBinContent(65,10);
   ResoRow02->SetBinContent(66,6);
   ResoRow02->SetBinContent(67,6);
   ResoRow02->SetBinContent(68,3);
   ResoRow02->SetBinContent(69,3);
   ResoRow02->SetBinContent(71,1);
   ResoRow02->SetBinContent(72,1);
   ResoRow02->SetBinContent(75,1);
   ResoRow02->SetBinContent(77,2);
   ResoRow02->SetBinContent(78,2);
   ResoRow02->SetBinContent(79,1);
   ResoRow02->SetBinContent(85,2);
   ResoRow02->SetBinContent(86,2);
   ResoRow02->SetBinContent(88,1);
   ResoRow02->SetBinContent(101,6);
   ResoRow02->SetEntries(1406);
   
   TF1 *ResoRowFit02 = new TF1("ResoRowFit02","gaus",-1,1);
   ResoRowFit02->SetFillColor(19);
   ResoRowFit02->SetFillStyle(0);
   ResoRowFit02->SetLineWidth(3);
   ResoRowFit02->SetChisquare(53.68855);
   ResoRowFit02->SetNDF(52);
   ResoRowFit02->SetParameter(0,82.30605);
   ResoRowFit02->SetParError(0,2.889594);
   ResoRowFit02->SetParLimits(0,0,0);
   ResoRowFit02->SetParameter(1,-0.007135216);
   ResoRowFit02->SetParError(1,0.003598045);
   ResoRowFit02->SetParLimits(1,0,0);
   ResoRowFit02->SetParameter(2,0.1306479);
   ResoRowFit02->SetParError(2,0.002921171);
   ResoRowFit02->SetParLimits(2,0,1.483629);
   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 = 1406   ");
   text = ptstats->AddText("Mean  = -0.004335");
   text = ptstats->AddText("RMS   = 0.1487");
   text = ptstats->AddText("#chi^{2} / ndf = 53.69 / 52");
   text = ptstats->AddText("Constant = 82.31 #pm 2.89 ");
   text = ptstats->AddText("Mean     = -0.007135 #pm 0.003598 ");
   text = ptstats->AddText("Sigma    = 0.1306 #pm 0.0029 ");
   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.8125,1.25,106.3125);
   c2_3->SetFillColor(0);
   c2_3->SetBorderSize(2);
   
   TH1F *ResoRow03 = new TH1F("ResoRow03","",100,-1,1);
   ResoRow03->SetBinContent(0,4);
   ResoRow03->SetBinContent(1,1);
   ResoRow03->SetBinContent(15,1);
   ResoRow03->SetBinContent(18,1);
   ResoRow03->SetBinContent(21,1);
   ResoRow03->SetBinContent(23,3);
   ResoRow03->SetBinContent(24,1);
   ResoRow03->SetBinContent(26,1);
   ResoRow03->SetBinContent(27,2);
   ResoRow03->SetBinContent(30,1);
   ResoRow03->SetBinContent(31,3);
   ResoRow03->SetBinContent(32,3);
   ResoRow03->SetBinContent(33,11);
   ResoRow03->SetBinContent(34,5);
   ResoRow03->SetBinContent(35,3);
   ResoRow03->SetBinContent(36,12);
   ResoRow03->SetBinContent(37,10);
   ResoRow03->SetBinContent(38,13);
   ResoRow03->SetBinContent(39,17);
   ResoRow03->SetBinContent(40,34);
   ResoRow03->SetBinContent(41,28);
   ResoRow03->SetBinContent(42,32);
   ResoRow03->SetBinContent(43,27);
   ResoRow03->SetBinContent(44,45);
   ResoRow03->SetBinContent(45,58);
   ResoRow03->SetBinContent(46,61);
   ResoRow03->SetBinContent(47,71);
   ResoRow03->SetBinContent(48,77);
   ResoRow03->SetBinContent(49,85);
   ResoRow03->SetBinContent(50,90);
   ResoRow03->SetBinContent(51,90);
   ResoRow03->SetBinContent(52,81);
   ResoRow03->SetBinContent(53,79);
   ResoRow03->SetBinContent(54,66);
   ResoRow03->SetBinContent(55,47);
   ResoRow03->SetBinContent(56,51);
   ResoRow03->SetBinContent(57,57);
   ResoRow03->SetBinContent(58,40);
   ResoRow03->SetBinContent(59,41);
   ResoRow03->SetBinContent(60,27);
   ResoRow03->SetBinContent(61,18);
   ResoRow03->SetBinContent(62,21);
   ResoRow03->SetBinContent(63,18);
   ResoRow03->SetBinContent(64,8);
   ResoRow03->SetBinContent(65,9);
   ResoRow03->SetBinContent(66,10);
   ResoRow03->SetBinContent(67,10);
   ResoRow03->SetBinContent(68,5);
   ResoRow03->SetBinContent(69,3);
   ResoRow03->SetBinContent(70,5);
   ResoRow03->SetBinContent(71,3);
   ResoRow03->SetBinContent(73,1);
   ResoRow03->SetBinContent(74,1);
   ResoRow03->SetBinContent(76,1);
   ResoRow03->SetBinContent(77,2);
   ResoRow03->SetBinContent(79,2);
   ResoRow03->SetBinContent(82,2);
   ResoRow03->SetBinContent(91,1);
   ResoRow03->SetBinContent(99,1);
   ResoRow03->SetBinContent(101,5);
   ResoRow03->SetEntries(1406);
   
   TF1 *ResoRowFit03 = new TF1("ResoRowFit03","gaus",-1,1);
   ResoRowFit03->SetFillColor(19);
   ResoRowFit03->SetFillStyle(0);
   ResoRowFit03->SetLineWidth(3);
   ResoRowFit03->SetChisquare(72.06733);
   ResoRowFit03->SetNDF(55);
   ResoRowFit03->SetParameter(0,76.60608);
   ResoRowFit03->SetParError(0,2.820701);
   ResoRowFit03->SetParLimits(0,0,0);
   ResoRowFit03->SetParameter(1,0.003140202);
   ResoRowFit03->SetParError(1,0.003835003);
   ResoRowFit03->SetParLimits(1,0,0);
   ResoRowFit03->SetParameter(2,0.1381919);
   ResoRowFit03->SetParError(2,0.003432912);
   ResoRowFit03->SetParLimits(2,0,1.60584);
   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 = 1406   ");
   text = ptstats->AddText("Mean  = 0.002316");
   text = ptstats->AddText("RMS   = 0.1603");
   text = ptstats->AddText("#chi^{2} / ndf = 72.07 / 55");
   text = ptstats->AddText("Constant = 76.61 #pm 2.82 ");
   text = ptstats->AddText("Mean     = 0.00314 #pm 0.00384 ");
   text = ptstats->AddText("Sigma    = 0.1382 #pm 0.0034 ");
   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,-11.41875,1.25,102.7688);
   c2_4->SetFillColor(0);
   c2_4->SetBorderSize(2);
   
   TH1F *ResoRow09 = new TH1F("ResoRow09","",100,-1,1);
   ResoRow09->SetBinContent(0,2);
   ResoRow09->SetBinContent(16,1);
   ResoRow09->SetBinContent(19,1);
   ResoRow09->SetBinContent(21,2);
   ResoRow09->SetBinContent(22,1);
   ResoRow09->SetBinContent(25,1);
   ResoRow09->SetBinContent(26,1);
   ResoRow09->SetBinContent(27,2);
   ResoRow09->SetBinContent(28,2);
   ResoRow09->SetBinContent(29,4);
   ResoRow09->SetBinContent(30,1);
   ResoRow09->SetBinContent(31,2);
   ResoRow09->SetBinContent(32,3);
   ResoRow09->SetBinContent(33,5);
   ResoRow09->SetBinContent(34,7);
   ResoRow09->SetBinContent(35,6);
   ResoRow09->SetBinContent(36,13);
   ResoRow09->SetBinContent(37,13);
   ResoRow09->SetBinContent(38,11);
   ResoRow09->SetBinContent(39,20);
   ResoRow09->SetBinContent(40,24);
   ResoRow09->SetBinContent(41,32);
   ResoRow09->SetBinContent(42,44);
   ResoRow09->SetBinContent(43,42);
   ResoRow09->SetBinContent(44,56);
   ResoRow09->SetBinContent(45,55);
   ResoRow09->SetBinContent(46,50);
   ResoRow09->SetBinContent(47,75);
   ResoRow09->SetBinContent(48,69);
   ResoRow09->SetBinContent(49,77);
   ResoRow09->SetBinContent(50,87);
   ResoRow09->SetBinContent(51,73);
   ResoRow09->SetBinContent(52,74);
   ResoRow09->SetBinContent(53,81);
   ResoRow09->SetBinContent(54,73);
   ResoRow09->SetBinContent(55,53);
   ResoRow09->SetBinContent(56,58);
   ResoRow09->SetBinContent(57,45);
   ResoRow09->SetBinContent(58,44);
   ResoRow09->SetBinContent(59,33);
   ResoRow09->SetBinContent(60,30);
   ResoRow09->SetBinContent(61,21);
   ResoRow09->SetBinContent(62,22);
   ResoRow09->SetBinContent(63,20);
   ResoRow09->SetBinContent(64,10);
   ResoRow09->SetBinContent(65,11);
   ResoRow09->SetBinContent(66,6);
   ResoRow09->SetBinContent(67,10);
   ResoRow09->SetBinContent(68,7);
   ResoRow09->SetBinContent(69,4);
   ResoRow09->SetBinContent(70,3);
   ResoRow09->SetBinContent(71,1);
   ResoRow09->SetBinContent(72,3);
   ResoRow09->SetBinContent(73,4);
   ResoRow09->SetBinContent(74,2);
   ResoRow09->SetBinContent(76,2);
   ResoRow09->SetBinContent(77,1);
   ResoRow09->SetBinContent(90,1);
   ResoRow09->SetBinContent(98,1);
   ResoRow09->SetBinContent(101,4);
   ResoRow09->SetEntries(1406);
   
   TF1 *ResoRowFit09 = new TF1("ResoRowFit09","gaus",-1,1);
   ResoRowFit09->SetFillColor(19);
   ResoRowFit09->SetFillStyle(0);
   ResoRowFit09->SetLineWidth(3);
   ResoRowFit09->SetChisquare(45.41054);
   ResoRowFit09->SetNDF(55);
   ResoRowFit09->SetParameter(0,74.41919);
   ResoRowFit09->SetParError(0,2.629159);
   ResoRowFit09->SetParLimits(0,0,0);
   ResoRowFit09->SetParameter(1,-7.90783e-05);
   ResoRowFit09->SetParError(1,0.00396467);
   ResoRowFit09->SetParLimits(1,0,0);
   ResoRowFit09->SetParameter(2,0.145292);
   ResoRowFit09->SetParError(2,0.00329685);
   ResoRowFit09->SetParLimits(2,0,1.60451);
   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 = 1406   ");
   text = ptstats->AddText("Mean  = 6.754e-05");
   text = ptstats->AddText("RMS   = 0.1605");
   text = ptstats->AddText("#chi^{2} / ndf = 45.41 / 55");
   text = ptstats->AddText("Constant = 74.42 #pm 2.63 ");
   text = ptstats->AddText("Mean     = -7.908e-05 #pm 3.965e-03 ");
   text = ptstats->AddText("Sigma    = 0.1453 #pm 0.0033 ");
   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,-12.075,1.25,108.675);
   c2_5->SetFillColor(0);
   c2_5->SetBorderSize(2);
   
   TH1F *ResoRow10 = new TH1F("ResoRow10","",100,-1,1);
   ResoRow10->SetBinContent(0,2);
   ResoRow10->SetBinContent(10,1);
   ResoRow10->SetBinContent(17,1);
   ResoRow10->SetBinContent(24,1);
   ResoRow10->SetBinContent(28,2);
   ResoRow10->SetBinContent(29,3);
   ResoRow10->SetBinContent(30,1);
   ResoRow10->SetBinContent(31,2);
   ResoRow10->SetBinContent(32,2);
   ResoRow10->SetBinContent(33,1);
   ResoRow10->SetBinContent(34,3);
   ResoRow10->SetBinContent(35,5);
   ResoRow10->SetBinContent(36,6);
   ResoRow10->SetBinContent(37,16);
   ResoRow10->SetBinContent(38,15);
   ResoRow10->SetBinContent(39,15);
   ResoRow10->SetBinContent(40,26);
   ResoRow10->SetBinContent(41,26);
   ResoRow10->SetBinContent(42,42);
   ResoRow10->SetBinContent(43,43);
   ResoRow10->SetBinContent(44,50);
   ResoRow10->SetBinContent(45,61);
   ResoRow10->SetBinContent(46,71);
   ResoRow10->SetBinContent(47,90);
   ResoRow10->SetBinContent(48,87);
   ResoRow10->SetBinContent(49,76);
   ResoRow10->SetBinContent(50,79);
   ResoRow10->SetBinContent(51,92);
   ResoRow10->SetBinContent(52,72);
   ResoRow10->SetBinContent(53,82);
   ResoRow10->SetBinContent(54,56);
   ResoRow10->SetBinContent(55,51);
   ResoRow10->SetBinContent(56,58);
   ResoRow10->SetBinContent(57,45);
   ResoRow10->SetBinContent(58,39);
   ResoRow10->SetBinContent(59,49);
   ResoRow10->SetBinContent(60,35);
   ResoRow10->SetBinContent(61,20);
   ResoRow10->SetBinContent(62,18);
   ResoRow10->SetBinContent(63,14);
   ResoRow10->SetBinContent(64,9);
   ResoRow10->SetBinContent(65,8);
   ResoRow10->SetBinContent(66,7);
   ResoRow10->SetBinContent(67,6);
   ResoRow10->SetBinContent(68,3);
   ResoRow10->SetBinContent(69,3);
   ResoRow10->SetBinContent(70,3);
   ResoRow10->SetBinContent(72,1);
   ResoRow10->SetBinContent(73,2);
   ResoRow10->SetBinContent(77,1);
   ResoRow10->SetBinContent(88,1);
   ResoRow10->SetBinContent(90,1);
   ResoRow10->SetBinContent(92,1);
   ResoRow10->SetBinContent(101,2);
   ResoRow10->SetEntries(1406);
   
   TF1 *ResoRowFit10 = new TF1("ResoRowFit10","gaus",-1,1);
   ResoRowFit10->SetFillColor(19);
   ResoRowFit10->SetFillStyle(0);
   ResoRowFit10->SetLineWidth(3);
   ResoRowFit10->SetChisquare(45.87386);
   ResoRowFit10->SetNDF(49);
   ResoRowFit10->SetParameter(0,81.08876);
   ResoRowFit10->SetParError(0,2.777828);
   ResoRowFit10->SetParLimits(0,0,0);
   ResoRowFit10->SetParameter(1,-0.001766586);
   ResoRowFit10->SetParError(1,0.003725989);
   ResoRowFit10->SetParLimits(1,0,0);
   ResoRowFit10->SetParameter(2,0.1335766);
   ResoRowFit10->SetParError(2,0.002820865);
   ResoRowFit10->SetParLimits(2,0,1.46059);
   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 = 1406   ");
   text = ptstats->AddText("Mean  = -0.001666");
   text = ptstats->AddText("RMS   = 0.1461");
   text = ptstats->AddText("#chi^{2} / ndf = 45.87 / 49");
   text = ptstats->AddText("Constant = 81.09 #pm 2.78 ");
   text = ptstats->AddText("Mean     = -0.001767 #pm 0.003726 ");
   text = ptstats->AddText("Sigma    = 0.1336 #pm 0.0028 ");
   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.68125,1.25,105.1313);
   c2_6->SetFillColor(0);
   c2_6->SetBorderSize(2);
   
   TH1F *ResoRow11 = new TH1F("ResoRow11","",100,-1,1);
   ResoRow11->SetBinContent(0,1);
   ResoRow11->SetBinContent(14,1);
   ResoRow11->SetBinContent(17,1);
   ResoRow11->SetBinContent(18,2);
   ResoRow11->SetBinContent(22,2);
   ResoRow11->SetBinContent(23,1);
   ResoRow11->SetBinContent(26,3);
   ResoRow11->SetBinContent(27,2);
   ResoRow11->SetBinContent(28,1);
   ResoRow11->SetBinContent(29,2);
   ResoRow11->SetBinContent(30,3);
   ResoRow11->SetBinContent(31,4);
   ResoRow11->SetBinContent(32,3);
   ResoRow11->SetBinContent(33,7);
   ResoRow11->SetBinContent(34,12);
   ResoRow11->SetBinContent(35,10);
   ResoRow11->SetBinContent(36,10);
   ResoRow11->SetBinContent(37,11);
   ResoRow11->SetBinContent(38,11);
   ResoRow11->SetBinContent(39,17);
   ResoRow11->SetBinContent(40,23);
   ResoRow11->SetBinContent(41,31);
   ResoRow11->SetBinContent(42,49);
   ResoRow11->SetBinContent(43,43);
   ResoRow11->SetBinContent(44,38);
   ResoRow11->SetBinContent(45,46);
   ResoRow11->SetBinContent(46,64);
   ResoRow11->SetBinContent(47,74);
   ResoRow11->SetBinContent(48,73);
   ResoRow11->SetBinContent(49,75);
   ResoRow11->SetBinContent(50,89);
   ResoRow11->SetBinContent(51,74);
   ResoRow11->SetBinContent(52,83);
   ResoRow11->SetBinContent(53,87);
   ResoRow11->SetBinContent(54,61);
   ResoRow11->SetBinContent(55,68);
   ResoRow11->SetBinContent(56,50);
   ResoRow11->SetBinContent(57,44);
   ResoRow11->SetBinContent(58,34);
   ResoRow11->SetBinContent(59,34);
   ResoRow11->SetBinContent(60,32);
   ResoRow11->SetBinContent(61,26);
   ResoRow11->SetBinContent(62,32);
   ResoRow11->SetBinContent(63,21);
   ResoRow11->SetBinContent(64,11);
   ResoRow11->SetBinContent(65,6);
   ResoRow11->SetBinContent(66,9);
   ResoRow11->SetBinContent(67,8);
   ResoRow11->SetBinContent(68,3);
   ResoRow11->SetBinContent(69,3);
   ResoRow11->SetBinContent(70,3);
   ResoRow11->SetBinContent(71,1);
   ResoRow11->SetBinContent(72,2);
   ResoRow11->SetBinContent(73,2);
   ResoRow11->SetBinContent(74,1);
   ResoRow11->SetBinContent(79,1);
   ResoRow11->SetBinContent(90,1);
   ResoRow11->SetEntries(1406);
   
   TF1 *ResoRowFit11 = new TF1("ResoRowFit11","gaus",-1,1);
   ResoRowFit11->SetFillColor(19);
   ResoRowFit11->SetFillStyle(0);
   ResoRowFit11->SetLineWidth(3);
   ResoRowFit11->SetChisquare(58.92897);
   ResoRowFit11->SetNDF(53);
   ResoRowFit11->SetParameter(0,74.41605);
   ResoRowFit11->SetParError(0,2.666046);
   ResoRowFit11->SetParLimits(0,0,0);
   ResoRowFit11->SetParameter(1,0.0002723554);
   ResoRowFit11->SetParError(1,0.003962283);
   ResoRowFit11->SetParLimits(1,0,0);
   ResoRowFit11->SetParameter(2,0.1444142);
   ResoRowFit11->SetParError(2,0.003381768);
   ResoRowFit11->SetParLimits(2,0,1.582103);
   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 = 1406   ");
   text = ptstats->AddText("Mean  = -0.003798");
   text = ptstats->AddText("RMS   =  0.158");
   text = ptstats->AddText("#chi^{2} / ndf = 58.93 / 53");
   text = ptstats->AddText("Constant = 74.42 #pm 2.67 ");
   text = ptstats->AddText("Mean     = 0.0002724 #pm 0.0039623 ");
   text = ptstats->AddText("Sigma    = 0.1444 #pm 0.0034 ");
   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);
}
