{
//=========Macro generated from canvas: c2/
//=========  (Thu Jun 10 11:20:22 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,-7.35,1.25,66.15);
   c2_1->SetFillColor(0);
   c2_1->SetBorderSize(2);
   
   TH1F *ResoRow07 = new TH1F("ResoRow07","",100,-1,1);
   ResoRow07->SetBinContent(0,21);
   ResoRow07->SetBinContent(3,3);
   ResoRow07->SetBinContent(4,2);
   ResoRow07->SetBinContent(5,6);
   ResoRow07->SetBinContent(6,1);
   ResoRow07->SetBinContent(7,1);
   ResoRow07->SetBinContent(8,2);
   ResoRow07->SetBinContent(10,4);
   ResoRow07->SetBinContent(11,2);
   ResoRow07->SetBinContent(12,2);
   ResoRow07->SetBinContent(13,8);
   ResoRow07->SetBinContent(14,3);
   ResoRow07->SetBinContent(15,1);
   ResoRow07->SetBinContent(16,6);
   ResoRow07->SetBinContent(17,3);
   ResoRow07->SetBinContent(18,8);
   ResoRow07->SetBinContent(19,5);
   ResoRow07->SetBinContent(20,4);
   ResoRow07->SetBinContent(21,5);
   ResoRow07->SetBinContent(22,12);
   ResoRow07->SetBinContent(23,10);
   ResoRow07->SetBinContent(24,3);
   ResoRow07->SetBinContent(25,5);
   ResoRow07->SetBinContent(26,12);
   ResoRow07->SetBinContent(27,14);
   ResoRow07->SetBinContent(28,12);
   ResoRow07->SetBinContent(29,12);
   ResoRow07->SetBinContent(30,8);
   ResoRow07->SetBinContent(31,10);
   ResoRow07->SetBinContent(32,23);
   ResoRow07->SetBinContent(33,19);
   ResoRow07->SetBinContent(34,13);
   ResoRow07->SetBinContent(35,19);
   ResoRow07->SetBinContent(36,19);
   ResoRow07->SetBinContent(37,29);
   ResoRow07->SetBinContent(38,26);
   ResoRow07->SetBinContent(39,34);
   ResoRow07->SetBinContent(40,34);
   ResoRow07->SetBinContent(41,23);
   ResoRow07->SetBinContent(42,47);
   ResoRow07->SetBinContent(43,38);
   ResoRow07->SetBinContent(44,22);
   ResoRow07->SetBinContent(45,42);
   ResoRow07->SetBinContent(46,36);
   ResoRow07->SetBinContent(47,37);
   ResoRow07->SetBinContent(48,45);
   ResoRow07->SetBinContent(49,52);
   ResoRow07->SetBinContent(50,48);
   ResoRow07->SetBinContent(51,56);
   ResoRow07->SetBinContent(52,53);
   ResoRow07->SetBinContent(53,48);
   ResoRow07->SetBinContent(54,46);
   ResoRow07->SetBinContent(55,44);
   ResoRow07->SetBinContent(56,46);
   ResoRow07->SetBinContent(57,43);
   ResoRow07->SetBinContent(58,39);
   ResoRow07->SetBinContent(59,28);
   ResoRow07->SetBinContent(60,32);
   ResoRow07->SetBinContent(61,32);
   ResoRow07->SetBinContent(62,33);
   ResoRow07->SetBinContent(63,26);
   ResoRow07->SetBinContent(64,24);
   ResoRow07->SetBinContent(65,19);
   ResoRow07->SetBinContent(66,24);
   ResoRow07->SetBinContent(67,22);
   ResoRow07->SetBinContent(68,26);
   ResoRow07->SetBinContent(69,15);
   ResoRow07->SetBinContent(70,13);
   ResoRow07->SetBinContent(71,14);
   ResoRow07->SetBinContent(72,17);
   ResoRow07->SetBinContent(73,10);
   ResoRow07->SetBinContent(74,9);
   ResoRow07->SetBinContent(75,8);
   ResoRow07->SetBinContent(76,9);
   ResoRow07->SetBinContent(77,10);
   ResoRow07->SetBinContent(78,6);
   ResoRow07->SetBinContent(79,3);
   ResoRow07->SetBinContent(80,6);
   ResoRow07->SetBinContent(81,4);
   ResoRow07->SetBinContent(82,6);
   ResoRow07->SetBinContent(83,6);
   ResoRow07->SetBinContent(84,5);
   ResoRow07->SetBinContent(85,7);
   ResoRow07->SetBinContent(86,4);
   ResoRow07->SetBinContent(87,2);
   ResoRow07->SetBinContent(88,3);
   ResoRow07->SetBinContent(89,2);
   ResoRow07->SetBinContent(90,1);
   ResoRow07->SetBinContent(91,3);
   ResoRow07->SetBinContent(92,1);
   ResoRow07->SetBinContent(93,1);
   ResoRow07->SetBinContent(94,1);
   ResoRow07->SetBinContent(96,3);
   ResoRow07->SetBinContent(98,3);
   ResoRow07->SetBinContent(101,36);
   ResoRow07->SetEntries(1640);
   
   TF1 *ResoRowFit07 = new TF1("ResoRowFit07","gaus",-1,1);
   ResoRowFit07->SetFillColor(19);
   ResoRowFit07->SetFillStyle(0);
   ResoRowFit07->SetLineWidth(3);
   ResoRowFit07->SetChisquare(122.633);
   ResoRowFit07->SetNDF(90);
   ResoRowFit07->SetParameter(0,40.91158);
   ResoRowFit07->SetParError(0,1.471837);
   ResoRowFit07->SetParLimits(0,0,0);
   ResoRowFit07->SetParameter(1,0.01290297);
   ResoRowFit07->SetParError(1,0.007530927);
   ResoRowFit07->SetParLimits(1,0,0);
   ResoRowFit07->SetParameter(2,0.2852479);
   ResoRowFit07->SetParError(2,0.007152053);
   ResoRowFit07->SetParLimits(2,0,3.135164);
   ResoRow07->GetListOfFunctions()->Add(ResoRowFit07);
   
   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("ResoRow07");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1640   ");
   text = ptstats->AddText("Mean  = -0.001921");
   text = ptstats->AddText("RMS   = 0.3133");
   text = ptstats->AddText("#chi^{2} / ndf = 122.6 / 90");
   text = ptstats->AddText("Constant = 40.91 #pm 1.47 ");
   text = ptstats->AddText("Mean     = 0.0129 #pm 0.0075 ");
   text = ptstats->AddText("Sigma    = 0.2852 #pm 0.0072 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow07->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow07->GetListOfFunctions());
   ResoRow07->GetXaxis()->SetTitle("residual / mm");
   ResoRow07->GetYaxis()->SetTitle("counts");
   ResoRow07->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,-7.0875,1.25,63.7875);
   c2_2->SetFillColor(0);
   c2_2->SetBorderSize(2);
   
   TH1F *ResoRow08 = new TH1F("ResoRow08","",100,-1,1);
   ResoRow08->SetBinContent(0,28);
   ResoRow08->SetBinContent(3,2);
   ResoRow08->SetBinContent(4,2);
   ResoRow08->SetBinContent(5,1);
   ResoRow08->SetBinContent(7,4);
   ResoRow08->SetBinContent(8,2);
   ResoRow08->SetBinContent(9,3);
   ResoRow08->SetBinContent(10,4);
   ResoRow08->SetBinContent(11,1);
   ResoRow08->SetBinContent(12,1);
   ResoRow08->SetBinContent(13,4);
   ResoRow08->SetBinContent(14,1);
   ResoRow08->SetBinContent(15,3);
   ResoRow08->SetBinContent(16,5);
   ResoRow08->SetBinContent(17,7);
   ResoRow08->SetBinContent(18,2);
   ResoRow08->SetBinContent(19,4);
   ResoRow08->SetBinContent(20,2);
   ResoRow08->SetBinContent(21,4);
   ResoRow08->SetBinContent(22,6);
   ResoRow08->SetBinContent(23,6);
   ResoRow08->SetBinContent(24,8);
   ResoRow08->SetBinContent(25,13);
   ResoRow08->SetBinContent(26,6);
   ResoRow08->SetBinContent(27,8);
   ResoRow08->SetBinContent(28,8);
   ResoRow08->SetBinContent(29,19);
   ResoRow08->SetBinContent(30,20);
   ResoRow08->SetBinContent(31,11);
   ResoRow08->SetBinContent(32,13);
   ResoRow08->SetBinContent(33,18);
   ResoRow08->SetBinContent(34,16);
   ResoRow08->SetBinContent(35,26);
   ResoRow08->SetBinContent(36,25);
   ResoRow08->SetBinContent(37,17);
   ResoRow08->SetBinContent(38,35);
   ResoRow08->SetBinContent(39,34);
   ResoRow08->SetBinContent(40,29);
   ResoRow08->SetBinContent(41,37);
   ResoRow08->SetBinContent(42,43);
   ResoRow08->SetBinContent(43,52);
   ResoRow08->SetBinContent(44,28);
   ResoRow08->SetBinContent(45,34);
   ResoRow08->SetBinContent(46,38);
   ResoRow08->SetBinContent(47,39);
   ResoRow08->SetBinContent(48,40);
   ResoRow08->SetBinContent(49,54);
   ResoRow08->SetBinContent(50,47);
   ResoRow08->SetBinContent(51,51);
   ResoRow08->SetBinContent(52,43);
   ResoRow08->SetBinContent(53,50);
   ResoRow08->SetBinContent(54,53);
   ResoRow08->SetBinContent(55,49);
   ResoRow08->SetBinContent(56,33);
   ResoRow08->SetBinContent(57,31);
   ResoRow08->SetBinContent(58,42);
   ResoRow08->SetBinContent(59,33);
   ResoRow08->SetBinContent(60,42);
   ResoRow08->SetBinContent(61,32);
   ResoRow08->SetBinContent(62,40);
   ResoRow08->SetBinContent(63,21);
   ResoRow08->SetBinContent(64,19);
   ResoRow08->SetBinContent(65,15);
   ResoRow08->SetBinContent(66,18);
   ResoRow08->SetBinContent(67,18);
   ResoRow08->SetBinContent(68,21);
   ResoRow08->SetBinContent(69,11);
   ResoRow08->SetBinContent(70,25);
   ResoRow08->SetBinContent(71,10);
   ResoRow08->SetBinContent(72,12);
   ResoRow08->SetBinContent(73,15);
   ResoRow08->SetBinContent(74,10);
   ResoRow08->SetBinContent(75,7);
   ResoRow08->SetBinContent(76,9);
   ResoRow08->SetBinContent(77,12);
   ResoRow08->SetBinContent(78,4);
   ResoRow08->SetBinContent(79,11);
   ResoRow08->SetBinContent(80,3);
   ResoRow08->SetBinContent(81,8);
   ResoRow08->SetBinContent(82,1);
   ResoRow08->SetBinContent(83,5);
   ResoRow08->SetBinContent(84,2);
   ResoRow08->SetBinContent(85,3);
   ResoRow08->SetBinContent(86,1);
   ResoRow08->SetBinContent(87,5);
   ResoRow08->SetBinContent(88,3);
   ResoRow08->SetBinContent(89,2);
   ResoRow08->SetBinContent(90,5);
   ResoRow08->SetBinContent(92,2);
   ResoRow08->SetBinContent(93,3);
   ResoRow08->SetBinContent(94,2);
   ResoRow08->SetBinContent(95,3);
   ResoRow08->SetBinContent(96,2);
   ResoRow08->SetBinContent(97,1);
   ResoRow08->SetBinContent(101,42);
   ResoRow08->SetEntries(1640);
   
   TF1 *ResoRowFit08 = new TF1("ResoRowFit08","gaus",-1,1);
   ResoRowFit08->SetFillColor(19);
   ResoRowFit08->SetFillStyle(0);
   ResoRowFit08->SetLineWidth(3);
   ResoRowFit08->SetChisquare(131.3684);
   ResoRowFit08->SetNDF(90);
   ResoRowFit08->SetParameter(0,41.8202);
   ResoRowFit08->SetParError(0,1.469595);
   ResoRowFit08->SetParLimits(0,0,0);
   ResoRowFit08->SetParameter(1,-0.004179791);
   ResoRowFit08->SetParError(1,0.007285657);
   ResoRowFit08->SetParLimits(1,0,0);
   ResoRowFit08->SetParameter(2,0.2747684);
   ResoRowFit08->SetParError(2,0.006454221);
   ResoRowFit08->SetParLimits(2,0,3.065472);
   ResoRow08->GetListOfFunctions()->Add(ResoRowFit08);
   
   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("ResoRow08");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1640   ");
   text = ptstats->AddText("Mean  = -0.000783");
   text = ptstats->AddText("RMS   = 0.3064");
   text = ptstats->AddText("#chi^{2} / ndf = 131.4 / 90");
   text = ptstats->AddText("Constant = 41.82 #pm 1.47 ");
   text = ptstats->AddText("Mean     = -0.00418 #pm 0.00729 ");
   text = ptstats->AddText("Sigma    = 0.2748 #pm 0.0065 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow08->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow08->GetListOfFunctions());
   ResoRow08->GetXaxis()->SetTitle("residual / mm");
   ResoRow08->GetYaxis()->SetTitle("counts");
   ResoRow08->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,-6.825,1.25,61.425);
   c2_3->SetFillColor(0);
   c2_3->SetBorderSize(2);
   
   TH1F *ResoRow09 = new TH1F("ResoRow09","",100,-1,1);
   ResoRow09->SetBinContent(0,26);
   ResoRow09->SetBinContent(1,1);
   ResoRow09->SetBinContent(2,2);
   ResoRow09->SetBinContent(3,2);
   ResoRow09->SetBinContent(5,1);
   ResoRow09->SetBinContent(6,1);
   ResoRow09->SetBinContent(7,3);
   ResoRow09->SetBinContent(9,3);
   ResoRow09->SetBinContent(10,1);
   ResoRow09->SetBinContent(11,1);
   ResoRow09->SetBinContent(12,1);
   ResoRow09->SetBinContent(13,8);
   ResoRow09->SetBinContent(14,4);
   ResoRow09->SetBinContent(15,2);
   ResoRow09->SetBinContent(17,2);
   ResoRow09->SetBinContent(18,3);
   ResoRow09->SetBinContent(19,6);
   ResoRow09->SetBinContent(20,4);
   ResoRow09->SetBinContent(21,13);
   ResoRow09->SetBinContent(22,3);
   ResoRow09->SetBinContent(23,7);
   ResoRow09->SetBinContent(24,14);
   ResoRow09->SetBinContent(25,13);
   ResoRow09->SetBinContent(26,8);
   ResoRow09->SetBinContent(27,10);
   ResoRow09->SetBinContent(28,16);
   ResoRow09->SetBinContent(29,12);
   ResoRow09->SetBinContent(30,17);
   ResoRow09->SetBinContent(31,14);
   ResoRow09->SetBinContent(32,24);
   ResoRow09->SetBinContent(33,19);
   ResoRow09->SetBinContent(34,21);
   ResoRow09->SetBinContent(35,30);
   ResoRow09->SetBinContent(36,28);
   ResoRow09->SetBinContent(37,28);
   ResoRow09->SetBinContent(38,29);
   ResoRow09->SetBinContent(39,29);
   ResoRow09->SetBinContent(40,29);
   ResoRow09->SetBinContent(41,31);
   ResoRow09->SetBinContent(42,33);
   ResoRow09->SetBinContent(43,33);
   ResoRow09->SetBinContent(44,40);
   ResoRow09->SetBinContent(45,47);
   ResoRow09->SetBinContent(46,47);
   ResoRow09->SetBinContent(47,39);
   ResoRow09->SetBinContent(48,34);
   ResoRow09->SetBinContent(49,46);
   ResoRow09->SetBinContent(50,52);
   ResoRow09->SetBinContent(51,37);
   ResoRow09->SetBinContent(52,46);
   ResoRow09->SetBinContent(53,42);
   ResoRow09->SetBinContent(54,48);
   ResoRow09->SetBinContent(55,41);
   ResoRow09->SetBinContent(56,26);
   ResoRow09->SetBinContent(57,30);
   ResoRow09->SetBinContent(58,39);
   ResoRow09->SetBinContent(59,25);
   ResoRow09->SetBinContent(60,33);
   ResoRow09->SetBinContent(61,40);
   ResoRow09->SetBinContent(62,25);
   ResoRow09->SetBinContent(63,28);
   ResoRow09->SetBinContent(64,28);
   ResoRow09->SetBinContent(65,21);
   ResoRow09->SetBinContent(66,27);
   ResoRow09->SetBinContent(67,26);
   ResoRow09->SetBinContent(68,16);
   ResoRow09->SetBinContent(69,18);
   ResoRow09->SetBinContent(70,17);
   ResoRow09->SetBinContent(71,14);
   ResoRow09->SetBinContent(72,10);
   ResoRow09->SetBinContent(73,15);
   ResoRow09->SetBinContent(74,6);
   ResoRow09->SetBinContent(75,9);
   ResoRow09->SetBinContent(76,10);
   ResoRow09->SetBinContent(77,9);
   ResoRow09->SetBinContent(78,4);
   ResoRow09->SetBinContent(79,10);
   ResoRow09->SetBinContent(80,6);
   ResoRow09->SetBinContent(81,7);
   ResoRow09->SetBinContent(82,3);
   ResoRow09->SetBinContent(83,1);
   ResoRow09->SetBinContent(84,6);
   ResoRow09->SetBinContent(85,1);
   ResoRow09->SetBinContent(86,9);
   ResoRow09->SetBinContent(87,1);
   ResoRow09->SetBinContent(88,4);
   ResoRow09->SetBinContent(89,5);
   ResoRow09->SetBinContent(90,2);
   ResoRow09->SetBinContent(91,1);
   ResoRow09->SetBinContent(92,1);
   ResoRow09->SetBinContent(93,1);
   ResoRow09->SetBinContent(94,2);
   ResoRow09->SetBinContent(95,3);
   ResoRow09->SetBinContent(96,3);
   ResoRow09->SetBinContent(97,2);
   ResoRow09->SetBinContent(98,1);
   ResoRow09->SetBinContent(101,44);
   ResoRow09->SetEntries(1640);
   
   TF1 *ResoRowFit09 = new TF1("ResoRowFit09","gaus",-1,1);
   ResoRowFit09->SetFillColor(19);
   ResoRowFit09->SetFillStyle(0);
   ResoRowFit09->SetLineWidth(3);
   ResoRowFit09->SetChisquare(98.74278);
   ResoRowFit09->SetNDF(92);
   ResoRowFit09->SetParameter(0,40.46484);
   ResoRowFit09->SetParError(0,1.349249);
   ResoRowFit09->SetParLimits(0,0,0);
   ResoRowFit09->SetParameter(1,-0.01337756);
   ResoRowFit09->SetParError(1,0.007675941);
   ResoRowFit09->SetParLimits(1,0,0);
   ResoRowFit09->SetParameter(2,0.2910423);
   ResoRowFit09->SetParError(2,0.006187033);
   ResoRowFit09->SetParLimits(2,0,3.172246);
   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 = 1640   ");
   text = ptstats->AddText("Mean  = -0.006381");
   text = ptstats->AddText("RMS   = 0.3169");
   text = ptstats->AddText("#chi^{2} / ndf = 98.74 / 92");
   text = ptstats->AddText("Constant = 40.46 #pm 1.35 ");
   text = ptstats->AddText("Mean     = -0.01338 #pm 0.00768 ");
   text = ptstats->AddText("Sigma    = 0.291 #pm 0.006 ");
   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_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,-6.95625,1.25,62.60625);
   c2_4->SetFillColor(0);
   c2_4->SetBorderSize(2);
   
   TH1F *ResoRow10 = new TH1F("ResoRow10","",100,-1,1);
   ResoRow10->SetBinContent(0,16);
   ResoRow10->SetBinContent(4,1);
   ResoRow10->SetBinContent(6,1);
   ResoRow10->SetBinContent(7,5);
   ResoRow10->SetBinContent(8,3);
   ResoRow10->SetBinContent(9,1);
   ResoRow10->SetBinContent(10,1);
   ResoRow10->SetBinContent(11,2);
   ResoRow10->SetBinContent(12,2);
   ResoRow10->SetBinContent(13,2);
   ResoRow10->SetBinContent(14,4);
   ResoRow10->SetBinContent(15,4);
   ResoRow10->SetBinContent(16,4);
   ResoRow10->SetBinContent(17,4);
   ResoRow10->SetBinContent(18,5);
   ResoRow10->SetBinContent(19,6);
   ResoRow10->SetBinContent(20,8);
   ResoRow10->SetBinContent(21,6);
   ResoRow10->SetBinContent(22,5);
   ResoRow10->SetBinContent(23,10);
   ResoRow10->SetBinContent(24,9);
   ResoRow10->SetBinContent(25,12);
   ResoRow10->SetBinContent(26,12);
   ResoRow10->SetBinContent(27,19);
   ResoRow10->SetBinContent(28,11);
   ResoRow10->SetBinContent(29,18);
   ResoRow10->SetBinContent(30,13);
   ResoRow10->SetBinContent(31,16);
   ResoRow10->SetBinContent(32,21);
   ResoRow10->SetBinContent(33,16);
   ResoRow10->SetBinContent(34,28);
   ResoRow10->SetBinContent(35,15);
   ResoRow10->SetBinContent(36,27);
   ResoRow10->SetBinContent(37,22);
   ResoRow10->SetBinContent(38,26);
   ResoRow10->SetBinContent(39,29);
   ResoRow10->SetBinContent(40,25);
   ResoRow10->SetBinContent(41,41);
   ResoRow10->SetBinContent(42,39);
   ResoRow10->SetBinContent(43,41);
   ResoRow10->SetBinContent(44,34);
   ResoRow10->SetBinContent(45,36);
   ResoRow10->SetBinContent(46,28);
   ResoRow10->SetBinContent(47,42);
   ResoRow10->SetBinContent(48,45);
   ResoRow10->SetBinContent(49,53);
   ResoRow10->SetBinContent(50,40);
   ResoRow10->SetBinContent(51,46);
   ResoRow10->SetBinContent(52,48);
   ResoRow10->SetBinContent(53,45);
   ResoRow10->SetBinContent(54,48);
   ResoRow10->SetBinContent(55,36);
   ResoRow10->SetBinContent(56,45);
   ResoRow10->SetBinContent(57,43);
   ResoRow10->SetBinContent(58,34);
   ResoRow10->SetBinContent(59,32);
   ResoRow10->SetBinContent(60,33);
   ResoRow10->SetBinContent(61,30);
   ResoRow10->SetBinContent(62,27);
   ResoRow10->SetBinContent(63,33);
   ResoRow10->SetBinContent(64,25);
   ResoRow10->SetBinContent(65,27);
   ResoRow10->SetBinContent(66,22);
   ResoRow10->SetBinContent(67,22);
   ResoRow10->SetBinContent(68,13);
   ResoRow10->SetBinContent(69,15);
   ResoRow10->SetBinContent(70,19);
   ResoRow10->SetBinContent(71,14);
   ResoRow10->SetBinContent(72,10);
   ResoRow10->SetBinContent(73,14);
   ResoRow10->SetBinContent(74,8);
   ResoRow10->SetBinContent(75,5);
   ResoRow10->SetBinContent(76,8);
   ResoRow10->SetBinContent(77,9);
   ResoRow10->SetBinContent(78,11);
   ResoRow10->SetBinContent(79,9);
   ResoRow10->SetBinContent(80,6);
   ResoRow10->SetBinContent(81,6);
   ResoRow10->SetBinContent(82,2);
   ResoRow10->SetBinContent(83,2);
   ResoRow10->SetBinContent(84,2);
   ResoRow10->SetBinContent(85,3);
   ResoRow10->SetBinContent(86,4);
   ResoRow10->SetBinContent(87,3);
   ResoRow10->SetBinContent(88,4);
   ResoRow10->SetBinContent(89,4);
   ResoRow10->SetBinContent(90,2);
   ResoRow10->SetBinContent(91,3);
   ResoRow10->SetBinContent(92,2);
   ResoRow10->SetBinContent(94,3);
   ResoRow10->SetBinContent(95,3);
   ResoRow10->SetBinContent(97,3);
   ResoRow10->SetBinContent(98,2);
   ResoRow10->SetBinContent(99,3);
   ResoRow10->SetBinContent(100,1);
   ResoRow10->SetBinContent(101,43);
   ResoRow10->SetEntries(1640);
   
   TF1 *ResoRowFit10 = new TF1("ResoRowFit10","gaus",-1,1);
   ResoRowFit10->SetFillColor(19);
   ResoRowFit10->SetFillStyle(0);
   ResoRowFit10->SetLineWidth(3);
   ResoRowFit10->SetChisquare(84.77299);
   ResoRowFit10->SetNDF(91);
   ResoRowFit10->SetParameter(0,39.81657);
   ResoRowFit10->SetParError(0,1.370866);
   ResoRowFit10->SetParLimits(0,0,0);
   ResoRowFit10->SetParameter(1,-0.01235644);
   ResoRowFit10->SetParError(1,0.00789035);
   ResoRowFit10->SetParLimits(1,0,0);
   ResoRowFit10->SetParameter(2,0.3005402);
   ResoRowFit10->SetParError(2,0.006991448);
   ResoRowFit10->SetParLimits(2,0,3.177913);
   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 = 1640   ");
   text = ptstats->AddText("Mean  = -0.004076");
   text = ptstats->AddText("RMS   = 0.3175");
   text = ptstats->AddText("#chi^{2} / ndf = 84.77 / 91");
   text = ptstats->AddText("Constant = 39.82 #pm 1.37 ");
   text = ptstats->AddText("Mean     = -0.01236 #pm 0.00789 ");
   text = ptstats->AddText("Sigma    = 0.3005 #pm 0.0070 ");
   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_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.69375,1.25,60.24375);
   c2_5->SetFillColor(0);
   c2_5->SetBorderSize(2);
   
   TH1F *ResoRow11 = new TH1F("ResoRow11","",100,-1,1);
   ResoRow11->SetBinContent(0,19);
   ResoRow11->SetBinContent(2,1);
   ResoRow11->SetBinContent(3,2);
   ResoRow11->SetBinContent(4,2);
   ResoRow11->SetBinContent(5,4);
   ResoRow11->SetBinContent(7,1);
   ResoRow11->SetBinContent(8,2);
   ResoRow11->SetBinContent(9,5);
   ResoRow11->SetBinContent(10,1);
   ResoRow11->SetBinContent(11,5);
   ResoRow11->SetBinContent(13,6);
   ResoRow11->SetBinContent(14,4);
   ResoRow11->SetBinContent(15,5);
   ResoRow11->SetBinContent(16,5);
   ResoRow11->SetBinContent(17,4);
   ResoRow11->SetBinContent(18,5);
   ResoRow11->SetBinContent(19,4);
   ResoRow11->SetBinContent(20,6);
   ResoRow11->SetBinContent(21,4);
   ResoRow11->SetBinContent(22,8);
   ResoRow11->SetBinContent(23,9);
   ResoRow11->SetBinContent(24,8);
   ResoRow11->SetBinContent(25,7);
   ResoRow11->SetBinContent(26,9);
   ResoRow11->SetBinContent(27,12);
   ResoRow11->SetBinContent(28,12);
   ResoRow11->SetBinContent(29,17);
   ResoRow11->SetBinContent(30,17);
   ResoRow11->SetBinContent(31,10);
   ResoRow11->SetBinContent(32,13);
   ResoRow11->SetBinContent(33,18);
   ResoRow11->SetBinContent(34,17);
   ResoRow11->SetBinContent(35,19);
   ResoRow11->SetBinContent(36,35);
   ResoRow11->SetBinContent(37,29);
   ResoRow11->SetBinContent(38,21);
   ResoRow11->SetBinContent(39,27);
   ResoRow11->SetBinContent(40,36);
   ResoRow11->SetBinContent(41,39);
   ResoRow11->SetBinContent(42,33);
   ResoRow11->SetBinContent(43,36);
   ResoRow11->SetBinContent(44,37);
   ResoRow11->SetBinContent(45,36);
   ResoRow11->SetBinContent(46,38);
   ResoRow11->SetBinContent(47,47);
   ResoRow11->SetBinContent(48,41);
   ResoRow11->SetBinContent(49,51);
   ResoRow11->SetBinContent(50,43);
   ResoRow11->SetBinContent(51,50);
   ResoRow11->SetBinContent(52,42);
   ResoRow11->SetBinContent(53,36);
   ResoRow11->SetBinContent(54,38);
   ResoRow11->SetBinContent(55,51);
   ResoRow11->SetBinContent(56,45);
   ResoRow11->SetBinContent(57,28);
   ResoRow11->SetBinContent(58,34);
   ResoRow11->SetBinContent(59,43);
   ResoRow11->SetBinContent(60,29);
   ResoRow11->SetBinContent(61,36);
   ResoRow11->SetBinContent(62,32);
   ResoRow11->SetBinContent(63,31);
   ResoRow11->SetBinContent(64,28);
   ResoRow11->SetBinContent(65,31);
   ResoRow11->SetBinContent(66,22);
   ResoRow11->SetBinContent(67,20);
   ResoRow11->SetBinContent(68,27);
   ResoRow11->SetBinContent(69,14);
   ResoRow11->SetBinContent(70,14);
   ResoRow11->SetBinContent(71,11);
   ResoRow11->SetBinContent(72,7);
   ResoRow11->SetBinContent(73,16);
   ResoRow11->SetBinContent(74,9);
   ResoRow11->SetBinContent(75,15);
   ResoRow11->SetBinContent(76,5);
   ResoRow11->SetBinContent(77,6);
   ResoRow11->SetBinContent(78,8);
   ResoRow11->SetBinContent(79,10);
   ResoRow11->SetBinContent(80,2);
   ResoRow11->SetBinContent(81,7);
   ResoRow11->SetBinContent(82,4);
   ResoRow11->SetBinContent(83,3);
   ResoRow11->SetBinContent(84,5);
   ResoRow11->SetBinContent(85,5);
   ResoRow11->SetBinContent(86,2);
   ResoRow11->SetBinContent(87,3);
   ResoRow11->SetBinContent(88,3);
   ResoRow11->SetBinContent(89,3);
   ResoRow11->SetBinContent(91,3);
   ResoRow11->SetBinContent(92,2);
   ResoRow11->SetBinContent(93,3);
   ResoRow11->SetBinContent(94,2);
   ResoRow11->SetBinContent(95,1);
   ResoRow11->SetBinContent(96,2);
   ResoRow11->SetBinContent(97,2);
   ResoRow11->SetBinContent(98,1);
   ResoRow11->SetBinContent(100,1);
   ResoRow11->SetBinContent(101,38);
   ResoRow11->SetEntries(1640);
   
   TF1 *ResoRowFit11 = new TF1("ResoRowFit11","gaus",-1,1);
   ResoRowFit11->SetFillColor(19);
   ResoRowFit11->SetFillStyle(0);
   ResoRowFit11->SetLineWidth(3);
   ResoRowFit11->SetChisquare(101.1969);
   ResoRowFit11->SetNDF(92);
   ResoRowFit11->SetParameter(0,40.32835);
   ResoRowFit11->SetParError(0,1.442642);
   ResoRowFit11->SetParLimits(0,0,0);
   ResoRowFit11->SetParameter(1,-0.004467238);
   ResoRowFit11->SetParError(1,0.007772826);
   ResoRowFit11->SetParLimits(1,0,0);
   ResoRowFit11->SetParameter(2,0.2939905);
   ResoRowFit11->SetParError(2,0.007396098);
   ResoRowFit11->SetParLimits(2,0,3.176557);
   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 = 1640   ");
   text = ptstats->AddText("Mean  = -0.003229");
   text = ptstats->AddText("RMS   = 0.3177");
   text = ptstats->AddText("#chi^{2} / ndf = 101.2 / 92");
   text = ptstats->AddText("Constant = 40.33 #pm 1.44 ");
   text = ptstats->AddText("Mean     = -0.004467 #pm 0.007773 ");
   text = ptstats->AddText("Sigma    = 0.294 #pm 0.007 ");
   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_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,-7.21875,1.25,64.96875);
   c2_6->SetFillColor(0);
   c2_6->SetBorderSize(2);
   
   TH1F *ResoRow12 = new TH1F("ResoRow12","",100,-1,1);
   ResoRow12->SetBinContent(0,27);
   ResoRow12->SetBinContent(1,2);
   ResoRow12->SetBinContent(4,2);
   ResoRow12->SetBinContent(5,1);
   ResoRow12->SetBinContent(7,2);
   ResoRow12->SetBinContent(8,1);
   ResoRow12->SetBinContent(9,2);
   ResoRow12->SetBinContent(10,5);
   ResoRow12->SetBinContent(11,2);
   ResoRow12->SetBinContent(12,4);
   ResoRow12->SetBinContent(13,3);
   ResoRow12->SetBinContent(14,4);
   ResoRow12->SetBinContent(15,2);
   ResoRow12->SetBinContent(16,4);
   ResoRow12->SetBinContent(17,4);
   ResoRow12->SetBinContent(18,2);
   ResoRow12->SetBinContent(19,3);
   ResoRow12->SetBinContent(20,6);
   ResoRow12->SetBinContent(21,5);
   ResoRow12->SetBinContent(22,9);
   ResoRow12->SetBinContent(23,4);
   ResoRow12->SetBinContent(24,8);
   ResoRow12->SetBinContent(25,17);
   ResoRow12->SetBinContent(26,7);
   ResoRow12->SetBinContent(27,12);
   ResoRow12->SetBinContent(28,16);
   ResoRow12->SetBinContent(29,11);
   ResoRow12->SetBinContent(30,14);
   ResoRow12->SetBinContent(31,19);
   ResoRow12->SetBinContent(32,11);
   ResoRow12->SetBinContent(33,25);
   ResoRow12->SetBinContent(34,24);
   ResoRow12->SetBinContent(35,32);
   ResoRow12->SetBinContent(36,24);
   ResoRow12->SetBinContent(37,18);
   ResoRow12->SetBinContent(38,24);
   ResoRow12->SetBinContent(39,30);
   ResoRow12->SetBinContent(40,37);
   ResoRow12->SetBinContent(41,27);
   ResoRow12->SetBinContent(42,26);
   ResoRow12->SetBinContent(43,31);
   ResoRow12->SetBinContent(44,42);
   ResoRow12->SetBinContent(45,42);
   ResoRow12->SetBinContent(46,38);
   ResoRow12->SetBinContent(47,47);
   ResoRow12->SetBinContent(48,45);
   ResoRow12->SetBinContent(49,46);
   ResoRow12->SetBinContent(50,50);
   ResoRow12->SetBinContent(51,52);
   ResoRow12->SetBinContent(52,46);
   ResoRow12->SetBinContent(53,55);
   ResoRow12->SetBinContent(54,37);
   ResoRow12->SetBinContent(55,40);
   ResoRow12->SetBinContent(56,34);
   ResoRow12->SetBinContent(57,42);
   ResoRow12->SetBinContent(58,40);
   ResoRow12->SetBinContent(59,37);
   ResoRow12->SetBinContent(60,31);
   ResoRow12->SetBinContent(61,33);
   ResoRow12->SetBinContent(62,19);
   ResoRow12->SetBinContent(63,25);
   ResoRow12->SetBinContent(64,32);
   ResoRow12->SetBinContent(65,28);
   ResoRow12->SetBinContent(66,17);
   ResoRow12->SetBinContent(67,18);
   ResoRow12->SetBinContent(68,17);
   ResoRow12->SetBinContent(69,15);
   ResoRow12->SetBinContent(70,18);
   ResoRow12->SetBinContent(71,9);
   ResoRow12->SetBinContent(72,13);
   ResoRow12->SetBinContent(73,17);
   ResoRow12->SetBinContent(74,9);
   ResoRow12->SetBinContent(75,8);
   ResoRow12->SetBinContent(76,5);
   ResoRow12->SetBinContent(77,8);
   ResoRow12->SetBinContent(78,9);
   ResoRow12->SetBinContent(79,5);
   ResoRow12->SetBinContent(80,7);
   ResoRow12->SetBinContent(81,2);
   ResoRow12->SetBinContent(82,7);
   ResoRow12->SetBinContent(83,5);
   ResoRow12->SetBinContent(84,6);
   ResoRow12->SetBinContent(85,3);
   ResoRow12->SetBinContent(86,3);
   ResoRow12->SetBinContent(87,3);
   ResoRow12->SetBinContent(88,3);
   ResoRow12->SetBinContent(89,5);
   ResoRow12->SetBinContent(90,4);
   ResoRow12->SetBinContent(91,1);
   ResoRow12->SetBinContent(92,4);
   ResoRow12->SetBinContent(93,3);
   ResoRow12->SetBinContent(94,1);
   ResoRow12->SetBinContent(95,1);
   ResoRow12->SetBinContent(96,2);
   ResoRow12->SetBinContent(98,3);
   ResoRow12->SetBinContent(99,2);
   ResoRow12->SetBinContent(100,1);
   ResoRow12->SetBinContent(101,38);
   ResoRow12->SetEntries(1640);
   
   TF1 *ResoRowFit12 = new TF1("ResoRowFit12","gaus",-1,1);
   ResoRowFit12->SetFillColor(19);
   ResoRowFit12->SetFillStyle(0);
   ResoRowFit12->SetLineWidth(3);
   ResoRowFit12->SetChisquare(106.775);
   ResoRowFit12->SetNDF(93);
   ResoRowFit12->SetParameter(0,40.1646);
   ResoRowFit12->SetParError(0,1.42968);
   ResoRowFit12->SetParLimits(0,0,0);
   ResoRowFit12->SetParameter(1,-0.004649709);
   ResoRowFit12->SetParError(1,0.007676633);
   ResoRowFit12->SetParLimits(1,0,0);
   ResoRowFit12->SetParameter(2,0.2920528);
   ResoRowFit12->SetParError(2,0.007167845);
   ResoRowFit12->SetParLimits(2,0,3.166395);
   ResoRow12->GetListOfFunctions()->Add(ResoRowFit12);
   
   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("ResoRow12");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1640   ");
   text = ptstats->AddText("Mean  = -0.0008574");
   text = ptstats->AddText("RMS   = 0.3167");
   text = ptstats->AddText("#chi^{2} / ndf = 106.8 / 93");
   text = ptstats->AddText("Constant = 40.16 #pm 1.43 ");
   text = ptstats->AddText("Mean     = -0.00465 #pm 0.00768 ");
   text = ptstats->AddText("Sigma    = 0.2921 #pm 0.0072 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow12->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow12->GetListOfFunctions());
   ResoRow12->GetXaxis()->SetTitle("residual / mm");
   ResoRow12->GetYaxis()->SetTitle("counts");
   ResoRow12->Draw("");
   c2_6->Modified();
   c2->cd();
   c2->Modified();
   c2->cd();
   c2->SetSelected(c2);
}
