10 gROOT->SetStyle(
"Plain");
13 c1 =
new TCanvas (
"c1",
"",20,20,1000,500);
16 system (
"rm -rf microdosimetry.root");
17 system (
"hadd -O microdosimetry.root microdosimetry_*.root");
19 TFile
f(
"microdosimetry.root");
22 ntuple = (TNtuple*)
f.Get(
"microdosimetry");
25 gStyle->SetOptStat(000000);
28 ntuple->SetFillColor(2);
29 ntuple->Draw(
"flagProcess",
"",
"B");
36 ntuple->SetMarkerColor(2);
37 ntuple->Draw(
"x:y:z/1000",
"flagParticle==1",
"");
40 ntuple->SetMarkerColor(4);
41 ntuple->SetMarkerSize(4);
42 ntuple->Draw(
"x:y:z/1000",
"flagParticle==2",
"same");
45 ntuple->SetMarkerColor(3);
46 ntuple->SetMarkerSize(3);
47 ntuple->Draw(
"x:y:z/1000",
"flagParticle==3",
"same");
system("rm -rf microbeam.root")