5 gROOT->SetStyle(
"Plain");
7 gStyle->SetOptStat(1111);
10 c1 =
new TCanvas (
"c1",
"",200,10,800,800);
13 system (
"rm -rf nanobeam.root");
14 system (
"hadd -O nanobeam.root nanobeam_*.root");
16 TFile
f(
"nanobeam.root");
19 ntuple0 = (TNtuple*)
f.Get(
"ntuple0");
22 ntuple0->SetMarkerSize(.2);
23 ntuple0->SetMarkerColor(2);
24 ntuple0->SetMarkerStyle(20);
25 ntuple0->Draw(
"xIn:yIn:zIn",
"");
29 ntuple2 = (TNtuple*)
f.Get(
"ntuple2");
30 gStyle->SetPalette(1);
31 ntuple2->SetMarkerColor(2);
32 ntuple2->SetMarkerStyle(20);
34 ntuple2->Draw(
"yIn:xIn",
"",
"hcolz");
37 gStyle->SetPalette(1);
38 ntuple2->SetMarkerColor(4);
39 ntuple2->SetMarkerStyle(20);
41 ntuple2->Draw(
"thetaIn:xIn",
"",
"hcolz");
44 gStyle->SetPalette(1);
45 ntuple2->SetMarkerColor(4);
46 ntuple2->SetMarkerStyle(20);
48 ntuple2->Draw(
"phiIn:yIn",
"",
"hcolz");
system("rm -rf microbeam.root")
TFile f("microbeam.root")