LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
Go to the source code of this file.
Functions | |
TFile | f1 ("./19um.opt0.root") |
h1 | SetTitle ("Angular distribution of 15.7 MeV e- after 19um Au foil") |
h1 | GetXaxis () -> SetTitle("theta (deg)") |
h1 | GetYaxis () -> SetTitle("dN/dOmega") |
h1 | SetStats (kFALSE) |
h1 | SetLineColor (kBlack) |
h1 | Draw ("HIST") |
TFile | f2 ("./19um.opt3.root") |
h2 | SetLineColor (kBlue) |
h2 | Draw ("SAME HIST") |
TFile | f3 ("./19um.local.root") |
h3 | SetLineColor (kGreen) |
in | open ("./19um.ascii") |
for (int i=0;i< nbdata;i++) | |
in | close () |
legend | AddEntry (h1,"opt0 ","l") |
legend | AddEntry (h2,"opt3 ","l") |
legend | AddEntry (h3,"local","l") |
legend | AddEntry (pt,"Hanson data","P") |
legend | Draw () |
Variables | |
TH1D * | h1 = (TH1D*) f1.Get("12") |
TH1D * | h2 = (TH1D*) f2.Get("12") |
TH1D * | h3 = (TH1D*) f3.Get("12") |
ifstream | in |
TMarker * | pt |
Double_t | x |
Double_t | y |
int | nbdata = 0 |
TLegend * | legend = new TLegend(0.6,0.5,0.8,0.68) |
in close | ( | ) |
h1 Draw | ( | "HIST" | ) |
h2 Draw | ( | "SAME HIST" | ) |
legend Draw | ( | ) |
TFile f1 | ( | "./19um.opt0.root" | ) |
TFile f2 | ( | "./19um.opt3.root" | ) |
TFile f3 | ( | "./19um.local.root" | ) |
in open | ( | "./19um.ascii" | ) |
h1 SetLineColor | ( | kBlack | ) |
h16 SetLineColor | ( | kBlue | ) |
h3 SetLineColor | ( | kGreen | ) |
h1 SetStats | ( | kFALSE | ) |