LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Go to the source code of this file.
Functions | |
c1 | SetLogy (1) |
c1 | cd () |
c1 | Update () |
TFile | fa ("Li7.root") |
TFile | fb ("Li6.root") |
ha1 | SetStats (kFALSE) |
ha1 | SetLineColor (kBlue) |
ha1 | Draw ("HIST") |
hb1 | SetLineColor (kRed) |
hb1 | Draw ("HIST SAME") |
le | AddEntry (ha1,"Li7","l") |
le | AddEntry (hb1,"Li6","l") |
le | Draw () |
Variables | |
TCanvas * | c1 = new TCanvas("c1", " ") |
TH1D * | ha1 = (TH1D*)fa.Get("6") |
TH1D * | hb1 = (TH1D*)fb.Get("6") |
TLegend * | le = new TLegend(0.6,0.6,0.8,0.8) |
c1 cd | ( | ) |
ha1 Draw | ( | "HIST" | ) |
hb1 Draw | ( | "HIST SAME" | ) |
le Draw | ( | ) |
TFile fa | ( | "Li7.root" | ) |
TFile fb | ( | "Li6.root" | ) |
ha1 SetLineColor | ( | kBlue | ) |
hb1 SetLineColor | ( | kRed | ) |
c1 SetLogy | ( | 1 | ) |
ha1 SetStats | ( | kFALSE | ) |
c1 Update | ( | ) |