{
//=========Macro generated from canvas: c2/
//=========  (Fri Jun 11 00:42:16 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,-13.9125,1.25,125.2125);
   c2_1->SetFillColor(0);
   c2_1->SetBorderSize(2);
   
   TH1F *ResoRow20 = new TH1F("ResoRow20","",100,-1,1);
   ResoRow20->SetBinContent(0,3);
   ResoRow20->SetBinContent(3,1);
   ResoRow20->SetBinContent(22,1);
   ResoRow20->SetBinContent(23,1);
   ResoRow20->SetBinContent(26,1);
   ResoRow20->SetBinContent(27,1);
   ResoRow20->SetBinContent(30,1);
   ResoRow20->SetBinContent(32,3);
   ResoRow20->SetBinContent(33,4);
   ResoRow20->SetBinContent(34,5);
   ResoRow20->SetBinContent(35,3);
   ResoRow20->SetBinContent(37,2);
   ResoRow20->SetBinContent(38,10);
   ResoRow20->SetBinContent(39,4);
   ResoRow20->SetBinContent(40,7);
   ResoRow20->SetBinContent(41,14);
   ResoRow20->SetBinContent(42,19);
   ResoRow20->SetBinContent(43,17);
   ResoRow20->SetBinContent(44,23);
   ResoRow20->SetBinContent(45,43);
   ResoRow20->SetBinContent(46,43);
   ResoRow20->SetBinContent(47,81);
   ResoRow20->SetBinContent(48,92);
   ResoRow20->SetBinContent(49,87);
   ResoRow20->SetBinContent(50,88);
   ResoRow20->SetBinContent(51,100);
   ResoRow20->SetBinContent(52,106);
   ResoRow20->SetBinContent(53,82);
   ResoRow20->SetBinContent(54,69);
   ResoRow20->SetBinContent(55,37);
   ResoRow20->SetBinContent(56,28);
   ResoRow20->SetBinContent(57,22);
   ResoRow20->SetBinContent(58,17);
   ResoRow20->SetBinContent(59,14);
   ResoRow20->SetBinContent(60,8);
   ResoRow20->SetBinContent(61,5);
   ResoRow20->SetBinContent(62,5);
   ResoRow20->SetBinContent(63,4);
   ResoRow20->SetBinContent(64,1);
   ResoRow20->SetBinContent(65,4);
   ResoRow20->SetBinContent(66,1);
   ResoRow20->SetBinContent(67,1);
   ResoRow20->SetBinContent(68,2);
   ResoRow20->SetBinContent(71,1);
   ResoRow20->SetBinContent(73,1);
   ResoRow20->SetBinContent(75,1);
   ResoRow20->SetBinContent(81,1);
   ResoRow20->SetBinContent(88,1);
   ResoRow20->SetBinContent(94,1);
   ResoRow20->SetBinContent(98,1);
   ResoRow20->SetBinContent(101,2);
   ResoRow20->SetEntries(1069);
   
   TF1 *ResoRowFit20 = new TF1("ResoRowFit20","gaus",-1,1);
   ResoRowFit20->SetFillColor(19);
   ResoRowFit20->SetFillStyle(0);
   ResoRowFit20->SetLineWidth(3);
   ResoRowFit20->SetChisquare(78.29702);
   ResoRowFit20->SetNDF(46);
   ResoRowFit20->SetParameter(0,91.74224);
   ResoRowFit20->SetParError(0,4.128056);
   ResoRowFit20->SetParLimits(0,0,0);
   ResoRowFit20->SetParameter(1,-0.005325498);
   ResoRowFit20->SetParError(1,0.002742258);
   ResoRowFit20->SetParLimits(1,0,0);
   ResoRowFit20->SetParameter(2,0.08576031);
   ResoRowFit20->SetParError(2,0.002735852);
   ResoRowFit20->SetParLimits(2,0,1.228536);
   ResoRow20->GetListOfFunctions()->Add(ResoRowFit20);
   
   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("ResoRow20");
   text->SetTextSize(0.0414);
   text = ptstats->AddText("Entries = 1069   ");
   text = ptstats->AddText("Mean  = -0.00775");
   text = ptstats->AddText("RMS   = 0.1229");
   text = ptstats->AddText("#chi^{2} / ndf =  78.3 / 46");
   text = ptstats->AddText("Constant = 91.74 #pm 4.13 ");
   text = ptstats->AddText("Mean     = -0.005325 #pm 0.002742 ");
   text = ptstats->AddText("Sigma    = 0.08576 #pm 0.00274 ");
   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_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.20625,1.25,109.8563);
   c2_2->SetFillColor(0);
   c2_2->SetBorderSize(2);
   
   TH1F *ResoRow21 = new TH1F("ResoRow21","",100,-1,1);
   ResoRow21->SetBinContent(0,3);
   ResoRow21->SetBinContent(2,1);
   ResoRow21->SetBinContent(9,1);
   ResoRow21->SetBinContent(20,1);
   ResoRow21->SetBinContent(21,1);
   ResoRow21->SetBinContent(25,2);
   ResoRow21->SetBinContent(27,1);
   ResoRow21->SetBinContent(29,1);
   ResoRow21->SetBinContent(30,1);
   ResoRow21->SetBinContent(31,1);
   ResoRow21->SetBinContent(32,1);
   ResoRow21->SetBinContent(33,1);
   ResoRow21->SetBinContent(34,4);
   ResoRow21->SetBinContent(35,1);
   ResoRow21->SetBinContent(36,4);
   ResoRow21->SetBinContent(37,2);
   ResoRow21->SetBinContent(38,6);
   ResoRow21->SetBinContent(39,9);
   ResoRow21->SetBinContent(40,10);
   ResoRow21->SetBinContent(41,12);
   ResoRow21->SetBinContent(42,35);
   ResoRow21->SetBinContent(43,32);
   ResoRow21->SetBinContent(44,34);
   ResoRow21->SetBinContent(45,49);
   ResoRow21->SetBinContent(46,52);
   ResoRow21->SetBinContent(47,60);
   ResoRow21->SetBinContent(48,65);
   ResoRow21->SetBinContent(49,79);
   ResoRow21->SetBinContent(50,79);
   ResoRow21->SetBinContent(51,87);
   ResoRow21->SetBinContent(52,93);
   ResoRow21->SetBinContent(53,81);
   ResoRow21->SetBinContent(54,58);
   ResoRow21->SetBinContent(55,50);
   ResoRow21->SetBinContent(56,35);
   ResoRow21->SetBinContent(57,24);
   ResoRow21->SetBinContent(58,25);
   ResoRow21->SetBinContent(59,15);
   ResoRow21->SetBinContent(60,9);
   ResoRow21->SetBinContent(61,5);
   ResoRow21->SetBinContent(62,8);
   ResoRow21->SetBinContent(63,7);
   ResoRow21->SetBinContent(64,5);
   ResoRow21->SetBinContent(66,3);
   ResoRow21->SetBinContent(73,1);
   ResoRow21->SetBinContent(75,1);
   ResoRow21->SetBinContent(83,1);
   ResoRow21->SetBinContent(86,1);
   ResoRow21->SetBinContent(88,1);
   ResoRow21->SetBinContent(96,1);
   ResoRow21->SetBinContent(97,1);
   ResoRow21->SetBinContent(101,9);
   ResoRow21->SetEntries(1069);
   
   TF1 *ResoRowFit21 = new TF1("ResoRowFit21","gaus",-1,1);
   ResoRowFit21->SetFillColor(19);
   ResoRowFit21->SetFillStyle(0);
   ResoRowFit21->SetLineWidth(3);
   ResoRowFit21->SetChisquare(52.48288);
   ResoRowFit21->SetNDF(47);
   ResoRowFit21->SetParameter(0,79.58579);
   ResoRowFit21->SetParError(0,3.280717);
   ResoRowFit21->SetParLimits(0,0,0);
   ResoRowFit21->SetParameter(1,-0.008881743);
   ResoRowFit21->SetParError(1,0.003209739);
   ResoRowFit21->SetParLimits(1,0,0);
   ResoRowFit21->SetParameter(2,0.1008618);
   ResoRowFit21->SetParError(2,0.002712099);
   ResoRowFit21->SetParLimits(2,0,1.335024);
   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 = 1069   ");
   text = ptstats->AddText("Mean  = -0.009996");
   text = ptstats->AddText("RMS   = 0.1333");
   text = ptstats->AddText("#chi^{2} / ndf = 52.48 / 47");
   text = ptstats->AddText("Constant = 79.59 #pm 3.28 ");
   text = ptstats->AddText("Mean     = -0.008882 #pm 0.003210 ");
   text = ptstats->AddText("Sigma    = 0.1009 #pm 0.0027 ");
   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_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,-13.9125,1.25,125.2125);
   c2_3->SetFillColor(0);
   c2_3->SetBorderSize(2);
   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,-13.78125,1.25,124.0313);
   c2_4->SetFillColor(0);
   c2_4->SetBorderSize(2);
   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,-14.4375,1.25,129.9375);
   c2_5->SetFillColor(0);
   c2_5->SetBorderSize(2);
   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,-12.8625,1.25,115.7625);
   c2_6->SetFillColor(0);
   c2_6->SetBorderSize(2);
   c2_6->Modified();
   c2->cd();
   c2->Modified();
   c2->cd();
   c2->SetSelected(c2);
}
