Category:RootFile

From Gpg
Revision as of 00:24, 4 March 2011 by Gilfoyle (talk | contribs) (Created page with "<pre> { //=========Macro generated from canvas: c1/c1 //========= (Thu Mar 3 21:45:47 2011) by ROOT version5.27/02 gStyle->SetOptDate(0); gStyle->SetOptStat(0); TCanvas ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
{
//=========Macro generated from canvas: c1/c1
//=========  (Thu Mar  3 21:45:47 2011) by ROOT version5.27/02
  gStyle->SetOptDate(0);
  gStyle->SetOptStat(0);
   TCanvas *c1 = new TCanvas("c1", "c1",80,22,500,500);
   c1->Range(-0.01110831,-0.0137222,0.101335,0.02603173);
   c1->SetFillColor(0);
   c1->SetBorderMode(0);
   c1->SetBorderSize(2);
   c1->SetTickx(1);
   c1->SetTicky(1);
   c1->SetTopMargin(0.1);
   c1->SetBottomMargin(0.1);
   c1->SetLeftMargin(0.12);
   c1->SetRightMargin(0.08);
   c1->SetFrameBorderMode(0);
   
   TH1F *h12e = new TH1F("h12e","A_{LT}'",10,0,0.1);
   h12e->SetBinContent(1,0.00947446);
   h12e->SetBinContent(2,-0.003349417);
   h12e->SetBinContent(3,-0.0005125604);
   h12e->SetBinContent(4,-0.003448334);
   h12e->SetBinContent(5,0.00233038);
   h12e->SetBinContent(6,-0.003333261);
   h12e->SetBinContent(7,0.001871832);
   h12e->SetBinContent(8,0.004130846);
   h12e->SetBinContent(9,-0.001573741);
   h12e->SetBinContent(10,-0.004278056);
   h12e->SetBinContent(11,-0.009339471);
   h12e->SetBinError(1,0.01040086);
   h12e->SetBinError(2,0.004200721);
   h12e->SetBinError(3,0.002876927);
   h12e->SetBinError(4,0.002425566);
   h12e->SetBinError(5,0.002294772);
   h12e->SetBinError(6,0.002339379);
   h12e->SetBinError(7,0.002502588);
   h12e->SetBinError(8,0.002761594);
   h12e->SetBinError(9,0.003104143);
   h12e->SetBinError(10,0.003530474);
   h12e->SetBinError(11,0.001870485);
   h12e->SetEntries(6.302154);
   
   h12e->SetMinimum(-0.046);
   h12e->SetMaximum(0.036);
   h12e->SetLineColor(2);
   h12e->SetMarkerColor(2);
   h12e->SetMarkerStyle(21);
   h12e->GetXaxis()->SetRange(1,9);
   h12e->GetXaxis()->SetTitle("p_{m} (GeV/c)");
   h12e->Draw("");
   
   TLine *line = new TLine(0,0,0.09,0);
   line->Draw();
   c1->Modified();
   c1->cd();
   c1->SetSelected(c1);
   c1->ToggleToolBar();
}

This category currently contains no pages or media.