15 gStyle->SetPalette(1);
16 gROOT->SetStyle(
"Plain");
17 gStyle->SetOptStat(000000);
19 c1 =
new TCanvas (
"c1",
"",60,60,800,800);
22 FILE *
fp = fopen(
"s.txt",
"r");
28 TNtuple *
ntuple =
new TNtuple(
"ntuple",
"s",
"radius:E:s:ss");
31 ncols = fscanf(fp,
"%f %f %f %f",&radius,&E,&s,&ss);
33 ntuple->Fill(radius,E,s,ss);
42 TH2F *
h2 =
new TH2F (
"h2",
"",2,99.999,1e4,2,1e2,1e4);
44 ntuple->SetMarkerStyle(20);
45 ntuple->SetMarkerSize(1.);
46 ntuple->Draw(
"s:E",
"",
"LPsame");
48 h2->GetXaxis()->SetLabelSize(0.025);
49 h2->GetYaxis()->SetLabelSize(0.025);
50 h2->GetXaxis()->SetTitleSize(0.035);
51 h2->GetYaxis()->SetTitleSize(0.035);
52 h2->GetXaxis()->SetTitleOffset(1.4);
53 h2->GetYaxis()->SetTitleOffset(1.4);
54 h2->GetXaxis()->SetTitle(
"E (eV)");
55 h2->GetYaxis()->SetTitle(
"S (Gy/Bq.s)");