{
//=========Macro generated from canvas: c2/
//=========  (Tue Jun  8 17:13:47 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.875,1.25,70.875);
   c2_1->SetFillColor(0);
   c2_1->SetBorderSize(2);
   
   TH1F *ResoRow18 = new TH1F("ResoRow18","",100,-1,1);
   ResoRow18->SetBinContent(0,2);
   ResoRow18->SetBinContent(15,1);
   ResoRow18->SetBinContent(25,1);
   ResoRow18->SetBinContent(33,1);
   ResoRow18->SetBinContent(34,2);
   ResoRow18->SetBinContent(35,2);
   ResoRow18->SetBinContent(36,2);
   ResoRow18->SetBinContent(37,1);
   ResoRow18->SetBinContent(38,1);
   ResoRow18->SetBinContent(39,3);
   ResoRow18->SetBinContent(40,5);
   ResoRow18->SetBinContent(41,8);
   ResoRow18->SetBinContent(42,10);
   ResoRow18->SetBinContent(43,16);
   ResoRow18->SetBinContent(44,12);
   ResoRow18->SetBinContent(45,22);
   ResoRow18->SetBinContent(46,21);
   ResoRow18->SetBinContent(47,27);
   ResoRow18->SetBinContent(48,46);
   ResoRow18->SetBinContent(49,35);
   ResoRow18->SetBinContent(50,57);
   ResoRow18->SetBinContent(51,60);
   ResoRow18->SetBinContent(52,48);
   ResoRow18->SetBinContent(53,42);
   ResoRow18->SetBinContent(54,39);
   ResoRow18->SetBinContent(55,21);
   ResoRow18->SetBinContent(56,14);
   ResoRow18->SetBinContent(57,15);
   ResoRow18->SetBinContent(58,12);
   ResoRow18->SetBinContent(59,7);
   ResoRow18->SetBinContent(60,7);
   ResoRow18->SetBinContent(61,3);
   ResoRow18->SetBinContent(62,1);
   ResoRow18->SetBinContent(63,1);
   ResoRow18->SetBinContent(65,1);
   ResoRow18->SetBinContent(66,1);
   ResoRow18->SetBinContent(101,2);
   ResoRow18->SetEntries(549);
   
   TF1 *ResoRowFit18 = new TF1("ResoRowFit18","gaus",-1,1);
   ResoRowFit18->SetFillColor(19);
   ResoRowFit18->SetFillStyle(0);
   ResoRowFit18->SetLineWidth(3);
   ResoRowFit18->SetChisquare(36.69407);
   ResoRowFit18->SetNDF(32);
   ResoRowFit18->SetParameter(0,44.79792);
   ResoRowFit18->SetParError(0,2.687513);
   ResoRowFit18->SetParLimits(0,0,0);
   ResoRowFit18->SetParameter(1,-0.002727043);
   ResoRowFit18->SetParError(1,0.004128979);
   ResoRowFit18->SetParLimits(1,0,0);
   ResoRowFit18->SetParameter(2,0.09063927);
   ResoRowFit18->SetParError(2,0.003697059);
   ResoRowFit18->SetParLimits(2,0,1.039707);
   ResoRow18->GetListOfFunctions()->Add(ResoRowFit18);
   
   TPaveStats *ptstats = new TPaveStats(0.62,0.635,0.98,0.995,"brNDC");
   ptstats->SetName("stats");
   ptstats->SetBorderSize(2);
   ptstats->SetFillColor(19);
   ptstats->SetTextAlign(12);
   TText *text = ptstats->AddText("ResoRow18");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 549    ");
   text = ptstats->AddText("Mean  = -0.008521");
   text = ptstats->AddText("RMS   = 0.1037");
   text = ptstats->AddText("#chi^{2} / ndf = 36.69 / 32");
   text = ptstats->AddText("Constant =  44.8 #pm 2.7 ");
   text = ptstats->AddText("Mean     = -0.002727 #pm 0.004129 ");
   text = ptstats->AddText("Sigma    = 0.09064 #pm 0.00370 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow18->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow18->GetListOfFunctions());
   ResoRow18->GetXaxis()->SetTitle("residual / mm");
   ResoRow18->GetYaxis()->SetTitle("counts");
   ResoRow18->Draw("");
   c2_1->Modified();
   c2->cd();
  
// ------------>Primitives in pad: c2_2
   c2_2 = new TPad("c2_2", "c2_2",0.3433333,0.51,0.6566667,0.99);
   c2_2->Draw();
   c2_2->cd();
   c2_2->Range(-1.25,-6.95625,1.25,62.60625);
   c2_2->SetFillColor(0);
   c2_2->SetBorderSize(2);
   
   TH1F *ResoRow19 = new TH1F("ResoRow19","",100,-1,1);
   ResoRow19->SetBinContent(0,2);
   ResoRow19->SetBinContent(20,1);
   ResoRow19->SetBinContent(21,1);
   ResoRow19->SetBinContent(26,1);
   ResoRow19->SetBinContent(28,2);
   ResoRow19->SetBinContent(36,2);
   ResoRow19->SetBinContent(38,4);
   ResoRow19->SetBinContent(39,6);
   ResoRow19->SetBinContent(40,3);
   ResoRow19->SetBinContent(41,5);
   ResoRow19->SetBinContent(42,14);
   ResoRow19->SetBinContent(43,17);
   ResoRow19->SetBinContent(44,19);
   ResoRow19->SetBinContent(45,22);
   ResoRow19->SetBinContent(46,35);
   ResoRow19->SetBinContent(47,27);
   ResoRow19->SetBinContent(48,36);
   ResoRow19->SetBinContent(49,47);
   ResoRow19->SetBinContent(50,53);
   ResoRow19->SetBinContent(51,44);
   ResoRow19->SetBinContent(52,36);
   ResoRow19->SetBinContent(53,33);
   ResoRow19->SetBinContent(54,39);
   ResoRow19->SetBinContent(55,22);
   ResoRow19->SetBinContent(56,17);
   ResoRow19->SetBinContent(57,21);
   ResoRow19->SetBinContent(58,11);
   ResoRow19->SetBinContent(59,5);
   ResoRow19->SetBinContent(60,5);
   ResoRow19->SetBinContent(61,7);
   ResoRow19->SetBinContent(62,5);
   ResoRow19->SetBinContent(63,3);
   ResoRow19->SetBinContent(73,1);
   ResoRow19->SetBinContent(89,1);
   ResoRow19->SetBinContent(101,2);
   ResoRow19->SetEntries(549);
   
   TF1 *ResoRowFit19 = new TF1("ResoRowFit19","gaus",-1,1);
   ResoRowFit19->SetFillColor(19);
   ResoRowFit19->SetFillStyle(0);
   ResoRowFit19->SetLineWidth(3);
   ResoRowFit19->SetChisquare(31.32034);
   ResoRowFit19->SetNDF(30);
   ResoRowFit19->SetParameter(0,42.20409);
   ResoRowFit19->SetParError(0,2.461137);
   ResoRowFit19->SetParLimits(0,0,0);
   ResoRowFit19->SetParameter(1,-0.007459262);
   ResoRowFit19->SetParError(1,0.004434403);
   ResoRowFit19->SetParLimits(1,0,0);
   ResoRowFit19->SetParameter(2,0.09776205);
   ResoRowFit19->SetParError(2,0.003935333);
   ResoRowFit19->SetParLimits(2,0,1.170705);
   ResoRow19->GetListOfFunctions()->Add(ResoRowFit19);
   
   ptstats = new TPaveStats(0.62,0.635,0.98,0.995,"brNDC");
   ptstats->SetName("stats");
   ptstats->SetBorderSize(2);
   ptstats->SetFillColor(19);
   ptstats->SetTextAlign(12);
   text = ptstats->AddText("ResoRow19");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 549    ");
   text = ptstats->AddText("Mean  = -0.009905");
   text = ptstats->AddText("RMS   = 0.1167");
   text = ptstats->AddText("#chi^{2} / ndf = 31.32 / 30");
   text = ptstats->AddText("Constant =  42.2 #pm 2.5 ");
   text = ptstats->AddText("Mean     = -0.007459 #pm 0.004434 ");
   text = ptstats->AddText("Sigma    = 0.09776 #pm 0.00394 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow19->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow19->GetListOfFunctions());
   ResoRow19->GetXaxis()->SetTitle("residual / mm");
   ResoRow19->GetYaxis()->SetTitle("counts");
   ResoRow19->Draw("");
   c2_2->Modified();
   c2->cd();
  
// ------------>Primitives in pad: c2_3
   c2_3 = new TPad("c2_3", "c2_3",0.6766667,0.51,0.99,0.99);
   c2_3->Draw();
   c2_3->cd();
   c2_3->Range(-1.25,-6.69375,1.25,60.24375);
   c2_3->SetFillColor(0);
   c2_3->SetBorderSize(2);
   
   TH1F *ResoRow20 = new TH1F("ResoRow20","",100,-1,1);
   ResoRow20->SetBinContent(0,1);
   ResoRow20->SetBinContent(5,1);
   ResoRow20->SetBinContent(12,1);
   ResoRow20->SetBinContent(20,1);
   ResoRow20->SetBinContent(28,1);
   ResoRow20->SetBinContent(30,1);
   ResoRow20->SetBinContent(33,1);
   ResoRow20->SetBinContent(34,1);
   ResoRow20->SetBinContent(35,1);
   ResoRow20->SetBinContent(36,1);
   ResoRow20->SetBinContent(37,2);
   ResoRow20->SetBinContent(38,1);
   ResoRow20->SetBinContent(39,1);
   ResoRow20->SetBinContent(40,2);
   ResoRow20->SetBinContent(41,7);
   ResoRow20->SetBinContent(42,7);
   ResoRow20->SetBinContent(43,13);
   ResoRow20->SetBinContent(44,13);
   ResoRow20->SetBinContent(45,21);
   ResoRow20->SetBinContent(46,28);
   ResoRow20->SetBinContent(47,39);
   ResoRow20->SetBinContent(48,41);
   ResoRow20->SetBinContent(49,42);
   ResoRow20->SetBinContent(50,50);
   ResoRow20->SetBinContent(51,51);
   ResoRow20->SetBinContent(52,48);
   ResoRow20->SetBinContent(53,37);
   ResoRow20->SetBinContent(54,42);
   ResoRow20->SetBinContent(55,17);
   ResoRow20->SetBinContent(56,17);
   ResoRow20->SetBinContent(57,17);
   ResoRow20->SetBinContent(58,5);
   ResoRow20->SetBinContent(59,12);
   ResoRow20->SetBinContent(60,5);
   ResoRow20->SetBinContent(61,5);
   ResoRow20->SetBinContent(62,2);
   ResoRow20->SetBinContent(63,4);
   ResoRow20->SetBinContent(64,1);
   ResoRow20->SetBinContent(65,1);
   ResoRow20->SetBinContent(67,2);
   ResoRow20->SetBinContent(69,1);
   ResoRow20->SetBinContent(71,2);
   ResoRow20->SetBinContent(76,1);
   ResoRow20->SetBinContent(83,1);
   ResoRow20->SetBinContent(101,1);
   ResoRow20->SetEntries(549);
   
   TF1 *ResoRowFit20 = new TF1("ResoRowFit20","gaus",-1,1);
   ResoRowFit20->SetFillColor(19);
   ResoRowFit20->SetFillStyle(0);
   ResoRowFit20->SetLineWidth(3);
   ResoRowFit20->SetChisquare(41.81839);
   ResoRowFit20->SetNDF(40);
   ResoRowFit20->SetParameter(0,46.80372);
   ResoRowFit20->SetParError(0,2.78311);
   ResoRowFit20->SetParLimits(0,0,0);
   ResoRowFit20->SetParameter(1,-0.004945445);
   ResoRowFit20->SetParError(1,0.003870422);
   ResoRowFit20->SetParLimits(1,0,0);
   ResoRowFit20->SetParameter(2,0.08613377);
   ResoRowFit20->SetParError(2,0.003404007);
   ResoRowFit20->SetParLimits(2,0,1.241449);
   ResoRow20->GetListOfFunctions()->Add(ResoRowFit20);
   
   ptstats = new TPaveStats(0.62,0.635,0.98,0.995,"brNDC");
   ptstats->SetName("stats");
   ptstats->SetBorderSize(2);
   ptstats->SetFillColor(19);
   ptstats->SetTextAlign(12);
   text = ptstats->AddText("ResoRow20");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 549    ");
   text = ptstats->AddText("Mean  = -0.001757");
   text = ptstats->AddText("RMS   = 0.1238");
   text = ptstats->AddText("#chi^{2} / ndf = 41.82 / 40");
   text = ptstats->AddText("Constant =  46.8 #pm 2.8 ");
   text = ptstats->AddText("Mean     = -0.004945 #pm 0.003870 ");
   text = ptstats->AddText("Sigma    = 0.08613 #pm 0.00340 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow20->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow20->GetListOfFunctions());
   ResoRow20->GetXaxis()->SetTitle("residual / mm");
   ResoRow20->GetYaxis()->SetTitle("counts");
   ResoRow20->Draw("");
   c2_3->Modified();
   c2->cd();
  
// ------------>Primitives in pad: c2_4
   c2_4 = new TPad("c2_4", "c2_4",0.01,0.01,0.3233333,0.49);
   c2_4->Draw();
   c2_4->cd();
   c2_4->Range(-1.25,-6.825,1.25,61.425);
   c2_4->SetFillColor(0);
   c2_4->SetBorderSize(2);
   
   TH1F *ResoRow21 = new TH1F("ResoRow21","",100,-1,1);
   ResoRow21->SetBinContent(0,1);
   ResoRow21->SetBinContent(12,1);
   ResoRow21->SetBinContent(19,1);
   ResoRow21->SetBinContent(23,1);
   ResoRow21->SetBinContent(29,1);
   ResoRow21->SetBinContent(30,1);
   ResoRow21->SetBinContent(31,1);
   ResoRow21->SetBinContent(33,1);
   ResoRow21->SetBinContent(35,3);
   ResoRow21->SetBinContent(38,2);
   ResoRow21->SetBinContent(39,2);
   ResoRow21->SetBinContent(40,6);
   ResoRow21->SetBinContent(41,8);
   ResoRow21->SetBinContent(42,14);
   ResoRow21->SetBinContent(43,13);
   ResoRow21->SetBinContent(44,11);
   ResoRow21->SetBinContent(45,16);
   ResoRow21->SetBinContent(46,34);
   ResoRow21->SetBinContent(47,52);
   ResoRow21->SetBinContent(48,33);
   ResoRow21->SetBinContent(49,43);
   ResoRow21->SetBinContent(50,42);
   ResoRow21->SetBinContent(51,43);
   ResoRow21->SetBinContent(52,42);
   ResoRow21->SetBinContent(53,39);
   ResoRow21->SetBinContent(54,33);
   ResoRow21->SetBinContent(55,23);
   ResoRow21->SetBinContent(56,20);
   ResoRow21->SetBinContent(57,13);
   ResoRow21->SetBinContent(58,9);
   ResoRow21->SetBinContent(59,8);
   ResoRow21->SetBinContent(60,7);
   ResoRow21->SetBinContent(61,10);
   ResoRow21->SetBinContent(62,2);
   ResoRow21->SetBinContent(63,3);
   ResoRow21->SetBinContent(64,1);
   ResoRow21->SetBinContent(66,4);
   ResoRow21->SetBinContent(67,2);
   ResoRow21->SetBinContent(69,1);
   ResoRow21->SetBinContent(75,1);
   ResoRow21->SetBinContent(101,1);
   ResoRow21->SetEntries(549);
   
   TF1 *ResoRowFit21 = new TF1("ResoRowFit21","gaus",-1,1);
   ResoRowFit21->SetFillColor(19);
   ResoRowFit21->SetFillStyle(0);
   ResoRowFit21->SetLineWidth(3);
   ResoRowFit21->SetChisquare(42.92534);
   ResoRowFit21->SetNDF(36);
   ResoRowFit21->SetParameter(0,41.67046);
   ResoRowFit21->SetParError(0,2.513687);
   ResoRowFit21->SetParLimits(0,0,0);
   ResoRowFit21->SetParameter(1,-0.003177175);
   ResoRowFit21->SetParError(1,0.004390983);
   ResoRowFit21->SetParLimits(1,0,0);
   ResoRowFit21->SetParameter(2,0.09692818);
   ResoRowFit21->SetParError(2,0.004075999);
   ResoRowFit21->SetParLimits(2,0,1.218717);
   ResoRow21->GetListOfFunctions()->Add(ResoRowFit21);
   
   ptstats = new TPaveStats(0.62,0.635,0.98,0.995,"brNDC");
   ptstats->SetName("stats");
   ptstats->SetBorderSize(2);
   ptstats->SetFillColor(19);
   ptstats->SetTextAlign(12);
   text = ptstats->AddText("ResoRow21");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 549    ");
   text = ptstats->AddText("Mean  = -0.006187");
   text = ptstats->AddText("RMS   =  0.122");
   text = ptstats->AddText("#chi^{2} / ndf = 42.93 / 36");
   text = ptstats->AddText("Constant = 41.67 #pm 2.51 ");
   text = ptstats->AddText("Mean     = -0.003177 #pm 0.004391 ");
   text = ptstats->AddText("Sigma    = 0.09693 #pm 0.00408 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow21->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow21->GetListOfFunctions());
   ResoRow21->GetXaxis()->SetTitle("residual / mm");
   ResoRow21->GetYaxis()->SetTitle("counts");
   ResoRow21->Draw("");
   c2_4->Modified();
   c2->cd();
  
// ------------>Primitives in pad: c2_5
   c2_5 = new TPad("c2_5", "c2_5",0.3433333,0.01,0.6566667,0.49);
   c2_5->Draw();
   c2_5->cd();
   c2_5->Range(-1.25,-6.16875,1.25,55.51875);
   c2_5->SetFillColor(0);
   c2_5->SetBorderSize(2);
   
   TH1F *ResoRow22 = new TH1F("ResoRow22","",100,-1,1);
   ResoRow22->SetBinContent(0,2);
   ResoRow22->SetBinContent(6,1);
   ResoRow22->SetBinContent(27,1);
   ResoRow22->SetBinContent(29,1);
   ResoRow22->SetBinContent(32,2);
   ResoRow22->SetBinContent(33,2);
   ResoRow22->SetBinContent(34,1);
   ResoRow22->SetBinContent(35,2);
   ResoRow22->SetBinContent(36,6);
   ResoRow22->SetBinContent(37,2);
   ResoRow22->SetBinContent(38,2);
   ResoRow22->SetBinContent(39,11);
   ResoRow22->SetBinContent(40,10);
   ResoRow22->SetBinContent(41,7);
   ResoRow22->SetBinContent(42,6);
   ResoRow22->SetBinContent(43,12);
   ResoRow22->SetBinContent(44,16);
   ResoRow22->SetBinContent(45,18);
   ResoRow22->SetBinContent(46,32);
   ResoRow22->SetBinContent(47,31);
   ResoRow22->SetBinContent(48,39);
   ResoRow22->SetBinContent(49,47);
   ResoRow22->SetBinContent(50,44);
   ResoRow22->SetBinContent(51,43);
   ResoRow22->SetBinContent(52,42);
   ResoRow22->SetBinContent(53,29);
   ResoRow22->SetBinContent(54,32);
   ResoRow22->SetBinContent(55,21);
   ResoRow22->SetBinContent(56,27);
   ResoRow22->SetBinContent(57,10);
   ResoRow22->SetBinContent(58,13);
   ResoRow22->SetBinContent(59,8);
   ResoRow22->SetBinContent(60,9);
   ResoRow22->SetBinContent(61,7);
   ResoRow22->SetBinContent(62,1);
   ResoRow22->SetBinContent(63,1);
   ResoRow22->SetBinContent(64,2);
   ResoRow22->SetBinContent(65,1);
   ResoRow22->SetBinContent(73,2);
   ResoRow22->SetBinContent(77,1);
   ResoRow22->SetBinContent(79,1);
   ResoRow22->SetBinContent(80,1);
   ResoRow22->SetBinContent(86,1);
   ResoRow22->SetBinContent(87,1);
   ResoRow22->SetBinContent(101,1);
   ResoRow22->SetEntries(549);
   
   TF1 *ResoRowFit22 = new TF1("ResoRowFit22","gaus",-1,1);
   ResoRowFit22->SetFillColor(19);
   ResoRowFit22->SetFillStyle(0);
   ResoRowFit22->SetLineWidth(3);
   ResoRowFit22->SetChisquare(49.99412);
   ResoRowFit22->SetNDF(40);
   ResoRowFit22->SetParameter(0,40.3999);
   ResoRowFit22->SetParError(0,2.450545);
   ResoRowFit22->SetParLimits(0,0,0);
   ResoRowFit22->SetParameter(1,-0.006396);
   ResoRowFit22->SetParError(1,0.004474728);
   ResoRowFit22->SetParLimits(1,0,0);
   ResoRowFit22->SetParameter(2,0.09805076);
   ResoRowFit22->SetParError(2,0.004036486);
   ResoRowFit22->SetParLimits(2,0,1.376167);
   ResoRow22->GetListOfFunctions()->Add(ResoRowFit22);
   
   ptstats = new TPaveStats(0.62,0.635,0.98,0.995,"brNDC");
   ptstats->SetName("stats");
   ptstats->SetBorderSize(2);
   ptstats->SetFillColor(19);
   ptstats->SetTextAlign(12);
   text = ptstats->AddText("ResoRow22");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 549    ");
   text = ptstats->AddText("Mean  = -0.009153");
   text = ptstats->AddText("RMS   = 0.1377");
   text = ptstats->AddText("#chi^{2} / ndf = 49.99 / 40");
   text = ptstats->AddText("Constant =  40.4 #pm 2.5 ");
   text = ptstats->AddText("Mean     = -0.006396 #pm 0.004475 ");
   text = ptstats->AddText("Sigma    = 0.09805 #pm 0.00404 ");
   ptstats->SetOptStat(1111);
   ptstats->SetOptFit(111);
   ptstats->Draw();
   ResoRow22->GetListOfFunctions()->Add(ptstats);
   ptstats->SetParent(ResoRow22->GetListOfFunctions());
   ResoRow22->GetXaxis()->SetTitle("residual / mm");
   ResoRow22->GetYaxis()->SetTitle("counts");
   ResoRow22->Draw("");
   c2_5->Modified();
   c2->cd();
  
// ------------>Primitives in pad: c2_6
   c2_6 = new TPad("c2_6", "c2_6",0.6766667,0.01,0.99,0.49);
   c2_6->Draw();
   c2_6->cd();
   c2_6->Range(-1.25,-7.48125,1.25,67.33125);
   c2_6->SetFillColor(0);
   c2_6->SetBorderSize(2);
   c2_6->Modified();
   c2->cd();
   c2->Modified();
   c2->cd();
   c2->SetSelected(c2);
}
