9 gROOT->SetStyle(
"Plain");
12 c1 =
new TCanvas (
"c1",
"",20,20,1000,500);
15 system (
"rm -rf microelectronics.root");
16 system (
"hadd microelectronics.root microelectronics_*.root");
18 TFile
f(
"microelectronics.root");
21 ntuple = (TNtuple*)
f->Get(
"microelectronics");
24 gStyle->SetOptStat(000000);
27 ntuple->Draw(
"flagProcess",
"",
"B");
28 ntuple->SetFillColor(2);
31 ntuple->Draw(
"flagProcess",
"flagProcess==11",
"same");
32 ntuple->SetFillColor(3);
35 ntuple->Draw(
"flagProcess",
"flagProcess==12||flagProcess==14||flagProcess==15||flagProcess==16||flagProcess==17",
"same");
36 ntuple->SetFillColor(4);
43 ntuple->SetMarkerColor(2);
44 ntuple->Draw(
"x:y:z/1000",
"flagParticle==1");
47 ntuple->SetMarkerColor(4);
48 ntuple->SetMarkerSize(4);
49 ntuple->Draw(
"x:y:z/1000",
"flagParticle==2",
"same");
52 ntuple->SetMarkerColor(3);
53 ntuple->SetMarkerSize(3);
54 ntuple->Draw(
"x:y:z/1000",
"flagParticle==3",
"same");