File indexing completed on 2025-02-23 09:22:12
0001
0002
0003
0004
0005
0006
0007 {
0008 gROOT->Reset();
0009 gStyle->SetPalette(1);
0010 gROOT->SetStyle("Plain");
0011 Double_t scale;
0012
0013 c1 = new TCanvas ("c1","",20,20,1000,500);
0014
0015
0016
0017 system ("ls wholeNuclearDNA_* 2> /dev/null && hadd -f wholeNuclearDNA.root wholeNuclearDNA_*.root");
0018
0019 TFile f("wholeNuclearDNA.root");
0020
0021 TNtuple* ntuple;
0022 ntuple = (TNtuple*)f.Get("ntuple");
0023
0024 c1->cd(1);
0025 gStyle->SetOptStat(000000);
0026
0027 ntuple->SetMarkerColor(2);
0028 ntuple->SetMarkerStyle(20);
0029 ntuple->SetMarkerSize(1);
0030 ntuple->Draw("x/1000:y/1000:z/1000","flagVolume==1","");
0031
0032 ntuple->SetMarkerColor(4);
0033 ntuple->SetMarkerStyle(24);
0034 ntuple->Draw("x/1000:y/1000:z/1000","flagVolume==2","same");
0035
0036 }