12 gStyle->SetPalette(1);
13 gROOT->SetStyle(
"Plain");
16 c1 =
new TCanvas (
"c1",
"",20,20,1000,500);
19 system (
"rm -rf dna.root");
20 system (
"hadd dna.root dna_*.root");
25 ntuple = (TNtuple*)
f->Get(
"dna");
28 gStyle->SetOptStat(000000);
31 ntuple->Draw(
"flagProcess",
"",
"B");
32 ntuple->SetFillColor(2);
35 ntuple->Draw(
"flagProcess",
"flagProcess==12||flagProcess==15||flagProcess==16||flagProcess==19||flagProcess==22||flagProcess==25||flagProcess==29",
"Bsame");
36 ntuple->SetFillColor(3);
39 ntuple->Draw(
"flagProcess",
"flagProcess==11",
"Bsame");
40 ntuple->SetFillColor(4);
43 ntuple->Draw(
"flagProcess",
"flagProcess==13||flagProcess==17||flagProcess==20||flagProcess==23||flagProcess==26||flagProcess==30",
"Bsame");
44 ntuple->SetFillColor(5);
47 ntuple->Draw(
"flagProcess",
"flagProcess==18||flagProcess==24||flagProcess==27",
"Bsame");
48 ntuple->SetFillColor(6);
51 ntuple->Draw(
"flagProcess",
"flagProcess==21||flagProcess==28||flagProcess==31",
"Bsame");
69 ntuple->SetMarkerColor(2);
70 ntuple->Draw(
"x:y:z/1000",
"flagParticle==1");
72 ntuple->SetMarkerColor(4);
73 ntuple->SetMarkerSize(4);
74 ntuple->Draw(
"x:y:z/1000",
"flagParticle==4 || flagParticle==5 || flagParticle==6",
"same");
system("rm -rf dna.root")