6 TFile
f(
"./Au3.local.root");
7 TH1D*
h1d = (TH1D*)
f.Get(
"4");
8 h1d->SetTitle(
"Fluence distribution of 13 MeV e- in Au (93.7 mg/cm2)");
9 h1d->GetXaxis()->SetTitle(
"r (mm)");
10 h1d->GetYaxis()->SetTitle(
"Fluence");
11 h1d->SetStats(kFALSE);
19 in.open(
"../data/Au3.13MeV.ascii");
26 for (
int i = 0 ; i <
nbdata ; i++ ) {
28 if (!in.good())
break;
29 pt =
new TMarker(x,y,22);
30 pt->SetMarkerColor(kRed);
36 TLegend*
legend =
new TLegend(0.6,0.55,0.8,0.68);
37 legend->AddEntry(h1d,
"msc95",
"l");
38 legend->AddEntry(pt,
"Faddegon data",
"P");
TFile f("microbeam.root")