9 gStyle->SetOptStat(
"em");
13 c1 =
new TCanvas(
"c1",
"PDB DNA outputs",200,10,700,780);
16 pad1 =
new TPad(
"pad1",
"pad1",0.02,0.52,0.98,0.98,21);
17 pad2 =
new TPad(
"pad2",
"pad2",0.02,0.02,0.48,0.48,21);
18 pad3 =
new TPad(
"pad3",
"pad3",0.52,0.02,0.98,0.48,21);
20 pad1->SetFillColor(0);
22 pad2->SetFillColor(0);
24 pad3->SetFillColor(0);
28 TFile
f(
"pdb4dna_output.root");
52 hist1->GetStats(pdbStats);
53 cout <<
"-> Edep in the target : " << pdbStats[2]/1E6 <<
" MeV" << endl;
55 hist2->GetStats(pdbStats);
56 cout <<
"-> Number of SSB : " << pdbStats[2] << endl;
58 hist3->GetStats(pdbStats);
59 cout <<
"-> Number of DSB : " << pdbStats[2] << endl;
TFile f("pdb4dna_output.root")